GeneralQuotation on Part page

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Marco110981
Posts: 6
Joined: Thu Nov 20, 2008 3:35 am

Quotation on Part page

Post by Marco110981 »

Hey!

I told Latex I want my paper to be split into "Part one" and "Part two". He does it: cool.
Just below the "part one", it leaves the whole page blank: I would like to insert there a quotation. Everythink I insert after the title, is been flushed down, to a next page.

How could I explain to the software I would like my quotation right below the "Part one" title?
\documentclass[12pt]{report}
thanks

Marco

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

Quotation on Part page

Post by gmedina »

Hi,

I suggest you to use the epigraph package. Refer to the package documentation for further information; particularly page 6, section 2.5 Epigraphs on Part pages
1,1,2,3,5,8,13,21,34,55,89,144,233,...
moonlight
Posts: 10
Joined: Fri Oct 31, 2008 8:04 pm

Quotation on Part page

Post by moonlight »

I'm not sure if this will do exactly what you want, but you could give it a try.

Import the quotchap package before the start of your document, as so:

Code: Select all

\usepackage[grey, helvetica]{quotchap}
You can change of course those parameters in between the square brackets later if this type of solution suits you. Next insert the following code in your document:
\begin{savequote}[14.5pc]\sffamily
Your clever quote goes here.\qauthor{\textbf{The author name here}}
\end{savequote}
\chapter{Your chapter title here}
I hope this will help.

Cordially,
moonlight.
Marco110981
Posts: 6
Joined: Thu Nov 20, 2008 3:35 am

Re: Quotation on Part page

Post by Marco110981 »

Firstly thanks indeed for your reply.

I have been trying both option, but none of them seem to work.
Regarding the epigraph, Latex tells me: "Env. epigraphs undefined"
Is he kidding me?

I will try to read the manual epigraph again (thanks for posting it by the way) and see what happens.
Feel fry to post more.

Bye from rainy Lisbon
M
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Quotation on Part page

Post by localghost »

Marco110981 wrote:[...] Regarding the epigraph, Latex tells me: "Env. epigraphs undefined" [...]
I would like to see this error message produced by a minimal working example (MWE).


Best regards
Thorsten¹
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Quotation on Part page

Post by gmedina »

Hi,
Marco110981 wrote:...I have been trying both option, but none of them seem to work...
The epigraph package should do the job, if properly used. Here it is a complete compilable example:

Code: Select all

\documentclass[12pt]{report}
\usepackage{epigraph}
\usepackage{lipsum}%just to generate some text

\setlength\epigraphwidth{\linewidth}%sets the width of the epigraph
\makeatletter
  \let\@epipart\@endpart
  \renewcommand{\@endpart}{\thispagestyle{epigraph}\@epipart}
\makeatother

\begin{document}

\epigraphhead[400]{\lipsum[1]}%the first argument controls the vertical position
                             %of the epigraph; the second argument contains the epigraph itself
\part{Dummy part one}
\chapter{First chapter}

\cleardoublepage%use this command to prevent undesired results when a new epigraph is going to be used
\epigraphhead[400]{\lipsum[1]}
\part{Dummy part two}
\chapter{Second chapter}

\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply