I have been inserting figures in landscape mode using the \usepackage{pdflscape,lipsum}, however, I get empty pages after the landscape mode and before landscape mode, I tried to use \cleardoublepage before landscape and after landscape but it doesn't help.
My logfile is here
My pdf output is here
The link to a simplified working example is here; https://drive.google.com/file/d/1oeuQ_1 ... sp=sharing
Looking forward to your suggestions.
Theses, Books, Title pages ⇒ Deleting empty pages after a landscape mode and before landscape
Deleting empty pages after a landscape mode and before landscape
The link to the simplified working template is here; https://drive.google.com/file/d/1osOvih ... sp=sharing
- Stefan Kottwitz
- Site Admin
- Posts: 10290
- Joined: Mon Mar 10, 2008 9:44 pm
Deleting empty pages after a landscape mode and before landscape
Your images are perhaps too big so they don't fit on the page between the margins and are pushed to the next page, so you get an empty page. Make them smaller, or use this
Stefan
\makebox[0pt]{...}
trick - see here, no empty page:Stefan
LaTeX.org admin
Deleting empty pages after a landscape mode and before landscape
This is working thank you!
Deleting empty pages after a landscape mode and before landscape
The empty pages are reoccuring when multiple landscape pages are being included. How do you avert this? See code below despite using the \makebox[opt] and template here; https://drive.google.com/file/d/1_tNann ... sp=sharing
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\lipsum[2-9]
\newpage
\cleardoublepage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig4}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 2}
\end{figure}
\cleardoublepage
\end{landscape}
PDF output is also attached. in the link for the template; https://drive.google.com/file/d/1_tNann ... sp=sharing
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\newpage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig3}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 1}
\end{figure}
\cleardoublepage
\end{landscape}
\lipsum[2-9]
\newpage
\cleardoublepage
\begin{landscape}
\begin{figure}[ht!]
\vspace*{-0.750cm}
\begin{center}$
\begin{array}{c}
\makebox[0pt]{\includegraphics[width=1.5\textwidth, height =0.8\textheight]{fig4}}
\end{array}$
\end{center}
\vspace*{-0.5cm}
\caption{Landscape image 2}
\end{figure}
\cleardoublepage
\end{landscape}
PDF output is also attached. in the link for the template; https://drive.google.com/file/d/1_tNann ... sp=sharing