Switching Portrait to Landscape in LaTeX

When writing in LaTeX, you may need to switch the page orientation to Landscape, in order to display graphics, charts or tables, for example.

As you would expect with LaTeX, there is a package for that.

You need to add

\usepackage{lscape}

To the preamble, then within your document use

\begin{landscape}

--- content --- 

\end{landscape} 

To switch page orientation.

I have taken the example document provided by Overleaf and applied the above and set the galaxy graphic to appear on a landscape page.

You can open this example in Overleaf here

References


MastodonPeertubeQoto sign up

Donate using Liberapay