Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
share|improve this question

2 Answers 2

up vote 11 down vote accepted

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}
share|improve this answer
    
thanks, that solve my problem changing oneside to twoside layout. –  Anja Sep 13 '11 at 21:44
    
@Anja: You're welcome -- and upvoting and accepting my answer would also be nice. :-) –  lockstep Sep 13 '11 at 21:45
    
Have you any suggestions about width and height of text to look as standard word document (stupid faculty policy) –  Anja Sep 13 '11 at 21:50
1  
@Anja: If you have to use a textblock of 16*24cm, switch to a basic fontsize of 11pt or 12pt and choose a "broad" font like Palatino (\usepackage{mathpazo}). –  lockstep Sep 13 '11 at 21:56
    
Thanks again. The package mathpazo provides really nice layout. –  Anja Sep 13 '11 at 22:05

As long as you can be pretty sure that the frontmatter pages (titlepage, toc, lof, lot, abstract) only take up one page, you need do very little to make them show up on the recto (odd-numbered, right-hand) pages of the document: in all instances when you'd issue a \clearpage command -- or where LaTeX would do this implicitly, e.g., when it encounters a command such as \listoftables -- you need to issue an explicit \cleardoublepage command.

The following MWE illustrates how this works. You didn't mention which document class you're using, so I'm assuming it's report. (The MWE will work with the article class as well, but you'll have to replace \chapter with \section.) By the way, if you state the option twoside in the \documentclass command, it'll be passed on automatically to all packages, including geometry, that are loaded later on. Remember to run LaTeX on it twice in order to generate the table of contents, etc.

\documentclass[twoside]{report}
\usepackage[width=16cm,height=24cm,left=3cm]{geometry}
\usepackage{lipsum,tocbibind}   
\begin{document}
%% Use roman page numbering in frontmatter
\pagenumbering{roman}
\author{Me}
\title{Some thoughts}
\date{\today}
\maketitle
\thispagestyle{empty}

\cleardoublepage
\tableofcontents

\cleardoublepage
\listoffigures

\cleardoublepage
\listoftables

\cleardoublepage
\begin{abstract}
\lipsum[1]
\end{abstract}

\cleardoublepage
%% In main body of paper, use arabic page numbers
\pagenumbering{arabic}
\chapter{Where Are We Going?}

\lipsum[2] 

\begin{figure}[h]
\caption{Random Stuff}
\centering
xyz
\end{figure}

\begin{table}[h]
\caption{Utterly Random}
\centering
abc
\end{table}

\end{document}
share|improve this answer
    
Thanks, but my table of contents has several pages (also toc and tof). I'm using book class... –  Anja Sep 13 '11 at 21:56
    
I see that "lockstep" has provided a good answer in the meantime. :-) –  Mico Sep 13 '11 at 22:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.