Hi @ all,
I'm quite new to Lyx/Latex and I'm currently doing a report which is split in 4 parts. Each time when I create a part (report class) a new page is generated.
What I would like to do is, to insert a quote below the part headline.
It should look like this:
How can I do this? Hope you can help.
Cheers!
LyX ⇒ insert a quote on a "part" side
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
insert a quote on a "part" side
You can do something like the following:
Code: Select all
\documentclass{book}
\usepackage{etoolbox}
\usepackage{blindtext}
\makeatletter
\pretocmd{\@endpart}{\vspace{5em}\hfill{\large\@quote}\def\@quote{}}{}{}
\newcommand{\quoteline}[1]{\def\@quote{#1}}
\makeatother
\begin{document}
\quoteline{They are absolutely marvelous}
\part{Walzing Wombats}
\blinddocument
%\quoteline{They are fantastic}
\part{Dixie-dancing Ducks}
\blinddocument
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.