The communication department wants to have a unified look. They provide a unified cover page in Indesign. Add a small package that prepends a pdf to the document. This method should address the requirements of our communication departments. The current drawback of this method is that the cover page is in A4 on A4 stock. We also need a B5 version if the thesis will be trimmed to B5 stock.
24 lines
499 B
TeX
24 lines
499 B
TeX
% Marcel Kyas <marcel at ru.is>
|
|
%
|
|
% Simple hack to place the cover page in front of the thesis
|
|
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{rucover}[2024/10/24]
|
|
|
|
\providecommand\rucover{cover.pdf}
|
|
\RequirePackage{xkeyval}
|
|
\DeclareOptionX{filename}{\def\rucover{#1}}
|
|
\ProcessOptionsX
|
|
|
|
\IfFileExists{\rucover}{%
|
|
\RequirePackage{pdfpages}
|
|
\AtBeginDocument{%
|
|
\pagestyle{empty}%
|
|
\includepdf{cover.pdf}%
|
|
\pagestyle{empty}%
|
|
\clearforchapter%
|
|
}%
|
|
}{%
|
|
\typeout{Cover page file \rucover not found}
|
|
}
|