# landscape to portrait

I'm working on landscape and I want only one page in portrait.

• How can I do that?

My workfile:

\documentclass[17pt,landscape,a4]{extarticle}
\usepackage[utf8]{inputenc}
\usepackage{animate}
\usepackage{amsmath,amsfonts, amssymb}
\usepackage{graphicx}
\usepackage{fullpage}
\usepackage{cancel}
\usepackage{mathtools}
\usepackage[version=4]{mhchem}
\usepackage{rotating}

\pagenumbering{gobble}

\begin{document}
test
\end{document}


Use the landscape package. Landscape mode will make you portrait. The headers will remain in their usual positions. Like this:

\documentclass{article}
\usepackage[a4paper,margin=1in,landscape]{geometry}
\usepackage{pdflscape}
\begin{document}
Test (landscape page)
\begin{landscape}
Test (this is a portrait page)
\end{landscape}
\end{document}

• I'm curious, how did you discover this undocumented and very useful trick? – R. Schumacher May 19 '15 at 23:40
• The landscape packages simply reverse the page dimensions, They don't make you landscape as such. As an aside the usual page dimensions are altered in a slightly idiosyncratic way - textheight becomes the old textwidth, but textwidth is left unchanged. linewidth is useful to size things. – Aubrey Blumsohn May 20 '15 at 5:29