[OS X TeX] Text on \part page

Alain Schremmer schremmer.alain at gmail.com
Thu May 26 15:40:10 EDT 2011


On May 26, 2011, at 2:51 PM, William Adams wrote:

> On May 26, 2011, at 12:18 PM, Alain Schremmer wrote:
>
>> I would like to put a small text on the page where \part{xxxx} is  
>> typeset. (The text appears on the next odd page and I just want to  
>> save a tree).
>
> Which documentclass are you using? Book?

LARGEbook

>
> book.cls has:
>
> \def\@endpart{\vfil\newpage
>               \if at twoside
>                 \null
>                 \thispagestyle{empty}%
>                 \newpage
>               \fi
>               \if at tempswa
>                 \twocolumn
>               \fi}
>
> So change the definition to something like:
>
> \makeatletter
> \renewcommnd\@endpart{\vfil
>               \if at twoside
>                 \null
>                 \thispagestyle{empty}%
>                 \newpage
>               \fi
>               \if at tempswa
>                 \twocolumn
>               \fi}
> \makeatother

The text now appeared one page earlier, that is on the back (even  
numbered) of the title page so the tree had been saved.

Looking at your code, though, I thought I should try also to remove  
the \newpage that is after \thispagestyle{empty}% and it worked.

Grateful regards
--schremmer




More information about the MacOSX-TeX mailing list