Page LayoutText on 'part'-page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
rvanabeelen
Posts: 2
Joined: Sun Apr 05, 2009 5:48 pm

Text on 'part'-page

Post by rvanabeelen »

Hello,

I'm writing my thesis in Latex. I'm using the 'report' as document-class.
My thesis contains different parts, therefore I use the command \part to begin with this new part.

Actually I'd like to put some introduction text on my Part-page.
Does anybody know how to do that?

If I make a mbox within the part-command it does not seem to work.

Thanks!

Regards

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Text on 'part'-page

Post by gmedina »

Hi,

the epigraph package offers you this possibility. Refer to the package documentation, specially section 2.5 Epigraphs on Part Pages(page 6).

Have a look at the following simple example:

Code: Select all

\documentclass{report}
\usepackage{epigraph}

\makeatletter
  \let\@epipart\@endpart
  \renewcommand{\@endpart}{\thispagestyle{epigraph}\@epipart}
\makeatother        

\setlength\epigraphwidth{\textwidth}
\begin{document}

\epigraphhead[350]{Epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text}
\part{A part with an epigraph}

\epigraphhead[350]{}
\part{A part without an epigraph}

\epigraphhead[350]{Epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text epigraph text}
\part{Another part with an epigraph}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
rvanabeelen
Posts: 2
Joined: Sun Apr 05, 2009 5:48 pm

Re: Text on 'part'-page

Post by rvanabeelen »

This is exactly what I needed.
Thank you!
Post Reply