[Tex/LaTex] How to bring the page number to the bottom in the landscape environment

landscapepage-numbering

In the landscape environment, the number of pages appears in the left-hand side of the page. This is while I want to force LaTeX to print all the page numbers at the bottom. The following code is the MWE of my intended LaTeX. Please help me out to resolve this problem.

\documentclass[a4paper,11pt]{article}
\usepackage{pdflscape}
\usepackage{graphicx}
\usepackage{subcaption}

\begin{document}
\begin{landscape}
\begin{figure}
\centering
\begin{subfigure}[t]{0.7\textwidth}
    \includegraphics[width=\linewidth]{Figure4a.pdf}
    \caption{Positive decision variables}\label{Fig4a}
\end{subfigure}
~
\begin{subfigure}[t]{0.7\textwidth}
    \includegraphics[width=\linewidth]{Figure4b.pdf}
    \caption{Binary decision variables}\label{Fig4b}
\end{subfigure}\\[1ex]

\caption{XXX}
\label{Fig1}
\end{figure}
\end{landscape}
\end{document}

Best Answer

Have you tried to use the approach based on typearea as it was described on How to change certain pages into landscape/portrait mode?

Instead of

\documentclass{article} \usepackage[paper=portrait,pagesize]{typearea}

you can also use

\documentclass[paper=portrait,pagesize]{scrartcl}