7

I am writing a report divided into parts. I would like to write a short description of each part on the same page as the part headline. When I just write:

\part{Hello}
Hello there...

The text "Hello there.." skips to the next page instead of the same. Can you help me?

6

You could make the text an optional argument to \part for example

enter image description here

\documentclass{report}
\makeatletter
\let\old@endpart\@endpart
\renewcommand\@endpart[1][]{%
\begin{quote}#1\end{quote}%
\old@endpart}
\makeatother
\begin{document}
\tableofcontents
\part{Hello}
[Hello there...]

\chapter{zzz}
zzz


\end{document}
5

It would be easy if you can use a KOMA-Script class:

\documentclass{scrreprt}
\usepackage{blindtext}
\begin{document}
\tableofcontents

\setpartpreamble[u][\textwidth]{\vspace*{1cm}\blindtext}
\part{Hello}

\Blinddocument
\end{document}
3

Another approach, sneak in the textat the end. The text gets reset, so you don't use the same text twice by accident.

teenPartText

\documentclass{report}
\usepackage{etoolbox}
\makeatletter
\newcommand{\extraPartText}[1]{\def\@extraPartText{#1}}
\pretocmd{\@endpart}{\vspace{8ex}\begingroup\centering\@extraPartText\par\endgroup\let\@extraPartText\relax}{}{}
\makeatother
\begin{document}
\tableofcontents
\extraPartText{Always be friendly to ducks, capybaras and wombats.}
\part{Wombat}

\chapter{Duck}
zzz

\part{Mara}

\end{document}
3

If you use the memoir class, which encompasses both the book and report classes,then:

\begin{document}
\nopartblankpage
% title pages, etc
\part{Title of the Part}
Some text on the Part page
\cleardoublepage % or \clearpage Text on the following blank page \clearpage
\clearpage
2

Somthing like this?

% arara: pdflatex
% arara: pdflatex

\documentclass{report}

\begin{document}
\tableofcontents
\part[Hello]{{Hello\\[1cm] 
\large Hello there...}}
\end{document}
  • Hello there is now of part title, not a text :-) . – Zarko Oct 28 '16 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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