Skip to content
Snippets Groups Projects
Commit bd8f1650 authored by Sami Nuuttila's avatar Sami Nuuttila
Browse files

annales.cls: handle empty subtitle gracefully, explicitly load totpages since...

annales.cls: handle empty subtitle gracefully, explicitly load totpages since hyperxmp does not bring it in automagically anymore
parent 300eaa59
No related branches found
No related tags found
No related merge requests found
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{annales}[2021/02/17 Annales template, samnuutt@utu.fi]
\ProvidesClass{annales}[2024/12/09 Annales template, samnuutt@utu.fi]
%% PDF/A stuff follows
%
......@@ -55,6 +55,7 @@
\RequirePackage{hyperxmp}% include XMP metadata (PDF/A)
\RequirePackage{cmap}% make sure doc is searchable (PDF/A)
%\RequirePackage{lastpage}
\RequirePackage{totpages}%hyperxmp doesn't automagically include this anymore
%% fix page size and margins etc. according to the graphical guideline
%
......@@ -437,7 +438,7 @@
\fontfamily{phv}\fontsize{24}{24}\bfseries\selectfont
\MakeUppercase{\Title}\\[\baselineskip]
\fontfamily{phv}\fontsize{16}{16}\mdseries\selectfont
\Stitle\\
\if\Stitle\empty\else \Stitle\\\fi
\rule{\textwidth}{4pt}\\[.5\baselineskip]
\Author
\end{center}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment