Question

I need to have codes in the format A4. The codes are so long that I would like to make two pages in my document horizontal. Other pages should be vertical.

How can you make two pages horizontal in LaTeX?

Was it helpful?

Solution

Install and include this package

\usepackage{lscape}

Then when you wan't to make a horizontal (landscape) page just use landscape environment

\begin{landscape}
horizontal content here
\end{landscape}

OTHER TIPS

For completeness, it should be noted that the lscape package only works with Latex. If you use pdfLatex, you should use the pdflscape style.

For more information see this CTAN Link.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top