[Tex/LaTex] Changing oneside and twoside layout

double-sidedgeometrymargins

Is there any solution to use different layouts according to the oneside or twoside specification?

The first part of my report (abstract, ToC, LoF, LoT) should be in oneside mode
and the rest of the document should be in twoside mode.

P.S. I'm using the geometry package for setting the layout:

\usepackage[twoside,width=16cm,height=24cm,left=3cm]{geometry}

Best Answer

I'm not sure why you want to switch from oneside to twoside mid-document, and a textblock of 16 cm width and 24 cm height won't look pretty. That said, it is possible to change most geometry settings mid-document since version 5.

\documentclass{article}

\usepackage{geometry}

\usepackage{lipsum}

\begin{document}

\lipsum[1-5]

\newgeometry{twoside}

\lipsum[1-5]

\end{document}