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.

I'm writing a thesis and would like the contents to be printed on odd pages only (when using a duplex printer, the rest of the thesis should be printed double-sided). I would also like to have this for the acknowledgments (which exceeds 2 pages).

(\cleardoublepage will not do the work, since it cares only about the first page.)

I'm using twoside option.

share|improve this question
    
Welcome to TeX.sx! A tip: you can use backticks ` to mark your inline code as I did in my edit. You don't have to sign with your name since it automatically appears in the lower right corner of your post. –  Martin Scharrer Jul 7 '11 at 11:13

2 Answers 2

Update: This doesn't work very well with floats:

Here a partial solution which adds empty even pages for a chapter. You also want to change the margins to look like for onside, do you? Also the empty pages are still numbered. Simply reducing the page number by one might cause issues.

\documentclass[twoside]{book}

\usepackage{afterpage}
\usepackage{lipsum}% dummy text

\newcommand*{\oddpagesonly}{%
    \def\emptyevenpage{%
        \afterpage{%
            \suppressfloats
            \thispagestyle{empty}%
            \null\newpage
        \emptyevenpage}%
    }%
    \emptyevenpage
}

\newcommand*{\allpages}{%
    \let\emptyevenpage\relax
}

\begin{document}

\chapter{One}
\lipsum[1-30]

\chapter{Two}
\oddpagesonly
\lipsum[1-30]

\allpages
\chapter{Three}
\lipsum[1-30]

\end{document}

Result

share|improve this answer

A very simple way of doing this would be, if you need this special configuration for a limited number of pages, to use the following code:

\afterpage{
\null
\vfill
\thispagestyle{empty}
\clearpage}

This code should be put anywhere in the page before the blank page you want to insert.

Of course you need to put \usepackage{afterpage} in the preamble.

It is also possible to play with the numbering a little by putting a \addtocounter{page}{-1} before the \clearpage command.

share|improve this answer
    
My idea exactly, but you need a recursive macro otherwise you have to add it manually to every real page of that chapter. However, it seems that the \afterpage code is executed AFTER some full page floats are typeset, which breaks th every even page is empty scheme :-( –  Martin Scharrer Jul 7 '11 at 11:41
    
@Martin. True, this is an other problem I did not take into account. The manual behaviour was intended, since it seems to me that he wants to do this for a few instances, and since it is easier than a macro. Otherwise, it is fairly easy to do the recursive macro, but not to deal with the floats. –  Martigan Jul 7 '11 at 19:01

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.