pandoc-latex-template icon indicating copy to clipboard operation
pandoc-latex-template copied to clipboard

Page after Title Page and Before TOC

Open aress31 opened this issue 1 year ago • 1 comments

It is common practice to have a page straight after the title page with NDA or Document Control. Could it be possible to somehow adapt eisvogel to allow such feature?

aress31 avatar Sep 20 '22 10:09 aress31

It is common practice to have a page straight after the title page with NDA or Document Control. Could it be possible to somehow adapt eisvogel to allow such feature?

I've implemented something similar via Pandoc's --include-before-body option: https://github.com/cagix/pandoc-thesis/blob/master/frontmatter.tex

%------------------------------------- Custom Title (Back) Page --------------------
$if(cleanthesis)$
\clearpage
\customtitlebackpage
$endif$
%------------------------------------- Custom Title (Back) Page --------------------

with \customtitlebackpage being defined in https://github.com/cagix/pandoc-thesis/blob/master/titlepage.tex as

%------------------------------------- Custom Title (Back) Page --------------------
\newcommand\customtitlebackpage{
\thispagestyle{empty}
\hfill
\vfill
\textbf{$author$} ($studentnumber$) \\
\textit{$title$} \\
$date$ \\[12pt]
Erstprüfer/in: $reviewer1$ \\
Zweitprüfer/in: $reviewer2$
}
%------------------------------------- Custom Title (Back) Page --------------------

(The definition of \customtitlebackpage could also be placed directly in the file included via --include-before-body, but I use my title page definition as "pandoc template" and bind all variables to the metadata in a first step and include those "filled" files in a second step when compiling the document itself. Your proposal would make my life a lot easier :)

cagix avatar Sep 20 '22 11:09 cagix