mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2025-03-30 15:46:46 +00:00
Adding an option to make the title on 1st page
The options available with respect to showing title/author are the following: - either no title ; - or nice title page of its own. However, especially for small documents, it could make sense to make the title appear on top of the first page. This commit adds the option maketitle to display the title on first page rather than having a title page or no title at all. In spirit it just performs a \maketitle. However, I found the the \maketitle command of scrartcl.cls was taking much room for nothing and was not fitting that well with the overall template. So I made it more compact.
This commit is contained in:
parent
4e93f2ecc7
commit
2342e9da01
10
eisvogel.tex
10
eisvogel.tex
@ -954,6 +954,16 @@ $endif$
|
||||
\end{flushleft}
|
||||
\end{titlepage}
|
||||
\restoregeometry
|
||||
$else$
|
||||
$if(maketitle)$
|
||||
\vspace*{-3\baselineskip}
|
||||
\begin{center}
|
||||
{\LARGE \thetitle}\\
|
||||
\vspace{0.7\baselineskip}
|
||||
{\large \theauthor}
|
||||
\end{center}
|
||||
\thispagestyle{plain}
|
||||
$endif$
|
||||
$endif$
|
||||
$endif$
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user