Reputation: 587
I am working on a report for a customer that requires a title page, currently formatted as a {quarto}
Book. By default, {quarto}
places the table of contents at the front of the document. Is there a mechanism to either:
_quarto.yml
file{quarto}
bookThanks in advance for your help!
Upvotes: 1
Views: 955
Reputation: 587
Have been (rightfully) reminded that I let this post go derelict without providing follow-up with solution we landed on.
TR;DL up-front. Define your title page and other front matter in a before-body.tex
in your project and reference it in your _quarto.yml
Slightly longer explanation. Define your front matter in before-body.tex
. Ours had some sponsor logos in it, so looked something like:
\begin{titlepage}
\begin{center}
\includegraphics{images/logos.png}
\vspace{1.5in}
\begin{LARGE}
\textbf{Title of Volume}
\end{LARGE}
\begin{large}
Contract Information
\end{large}
\vspace{2.5in}
A. Author, B. Author, & Z. Author
\today
\end{center}
\end{titlepage}
Then, reference it in your _quarto.yml
:
pdf:
template-partials:
- before-body.tex
Upvotes: 0
Reputation: 353
This has been open for a while, so I'm guessing you found a solution. I'm not sure if this will work for exactly your purpose, but since no one has suggested an answer, I post what I found for a similar situation.
I just created a title page and toc in docx output using the reference-doc by editing the Heading 1 and TOC Heading styles (from modify in the styles pane) format -> paragraph -> line and page breaks -> check page break before.
This will put everything with TOC Heading and Heading 1 style (likely your first thing after the TOC) on a new page. Effectively creating separate Title and TOC pages.
Hopefully this helps someone!
Upvotes: 0