Merge pull request #3 from exaexa/master

add the nature faculty variant, redo the title typesetting
This commit is contained in:
Vít Kabele 2021-06-10 11:43:25 +02:00 committed by GitHub
commit 03911bc296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 32 deletions

View File

@ -5,9 +5,13 @@ What's new:
- modern packages (biblatex, cleveref, better fonts)
- less confusing directory structure
- slightly more useful examples (figures, diagrams, tables, code listings), structure hints, some goodies
- slightly more useful examples (figures, diagrams, tables, code listings),
structure hints, some goodies
- autobuilding of abstract PDF/A files from metadata
- multiple variants of the front page (nature faculty&bioinformatics!)
- multiple variants of the front page
- MFF with the new logo
- "traditional" UK variant
- Nature faculty & bioinformatics
- Czech localization with nicely named references
- Dockerized & CI build options

BIN
img/naturlogo.pdf Normal file

Binary file not shown.

View File

@ -8,10 +8,14 @@
%%% Configuration of the title page %%%
\newif\ifMFF
\MFFtrue % comment this out for the version with a big UK university logo
\def\UKName{Charles University in Prague} %this is only used in UK-logo-version
\def\ThesisTitleStyle{mff} % MFF style
%\def\ThesisTitleStyle{cuni} % uncomment for old-style with cuni.cz logo
%\def\ThesisTitleStyle{natur} % uncomment for nature faculty logo
\def\UKFaculty{Faculty of Mathematics and Physics}
%\def\UKFaculty{Faculty of Science}
\def\UKName{Charles University in Prague} % this is not used in the "mff" style
% Thesis type names, as used in several places in the title
\def\ThesisTypeTitle{\ifEN BACHELOR THESIS \else BAKALÁŘSKÁ PRÁCE \fi}

View File

@ -4,35 +4,40 @@
\hypersetup{pageanchor=false}
\begin{center}
\ifMFF
\ifEN
\centerline{\mbox{\includegraphics[width=166mm]{img/logo-en.pdf}}}
\else
\centerline{\mbox{\includegraphics[width=166mm]{img/logo-cs.pdf}}}
\fi
\vspace{-8mm}
\else
{\large\noindent\UKName\par\medskip\par\UKFaculty }
\fi
\vfill
% top part of the layout, this actually differs between faculties
{\bf\Large\ThesisTypeTitle}
\def\ThesisTitleXmff{%
\ifEN
\centerline{\mbox{\includegraphics[width=166mm]{img/logo-en.pdf}}}
\else
\centerline{\mbox{\includegraphics[width=166mm]{img/logo-cs.pdf}}}
\fi
\vspace{-8mm}\vfill%
{\bf\Large\ThesisTypeTitle}
\vfill%
{\LARGE\ThesisAuthor}\par
\vspace{15mm}%
{\LARGE\bfseries\ThesisTitle}
\vfill%
\Department}
\def\ThesisTitleCuniLogo#1{%
{\large\UKName\par\medskip\par\UKFaculty }
\vfill%
{\bf\Large\ThesisTypeTitle}
\vfill%
\includegraphics[width=70mm]{#1}
\vfill%
{\LARGE\ThesisAuthor}\par
\vspace{15mm}%
{\LARGE\bfseries\ThesisTitle}
\vfill%
\Department\par}
\def\ThesisTitleXcuni{\ThesisTitleCuniLogo{img/uklogo.pdf}}
\def\ThesisTitleXnatur{\ThesisTitleCuniLogo{img/naturlogo.pdf}}
\vfill
\ifMFF\relax\else\includegraphics[width=70mm]{img/uklogo.pdf}
\vfill\fi
{\LARGE\ThesisAuthor}
\vspace{15mm}
{\LARGE\bfseries\ThesisTitle}
\vfill
\Department
% choose the correct page and print it
\csname ThesisTitleX\ThesisTitleStyle\endcsname
% latex corner: X is the new @
\vfill