summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls')
-rw-r--r--Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls103
1 files changed, 92 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls
index 06f21f823cf..15717027e3d 100644
--- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls
+++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpencoursetext.cls
@@ -26,13 +26,18 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{uantwerpencoursetext}
- [2021/07/11 v4.0 .dtx skeleton file]
-\def\fileversion{4.0}
-\def\filedate{2021/07/11}
+ [2021/08/03 v4.1 .dtx skeleton file]
+\def\fileversion{4.1}
+\def\filedate{2021/08/03}
+\newif\if@modern
+\@modernfalse
+\DeclareOption{modern}{\@moderntrue}
\newif\if@copyright
\DeclareOption{copyright}{\@copyrighttrue}
\newif\if@filled
\DeclareOption{filled}{\@filledtrue}
+\newif\if@cameraready
+\DeclareOption{cameraready}{\@camerareadytrue}
\input{uantwerpencommonoptions.clo}
\ExecuteOptions{a4paper,11pt,final,oneside,openright}
\ProcessOptions\relax
@@ -81,6 +86,7 @@
\NewDocumentCommand{\uantwerpendocspropread}{m}{
\__uantwerpendocs_datareader:n { #1 }
}
+\cs_generate_variant:Nn \prop_gput:Nnn{ Nxx }
\cs_new_nopar:Npn \__uantwerpendocs_dataparser:w #1 = #2!! {
\tl_set:Nn \l_tmpa_tl {#1}
\tl_set:Nn \l_tmpb_tl {#2}
@@ -251,6 +257,7 @@
\begin{titlepage}
\AddToShipoutPicture*{%
\put(0,0){%
+ \if@modern
\begin{tikzpicture}[inner sep=0pt,outer sep=0pt]
\clip (0,0) rectangle(\paperwidth,\paperheight);
@@ -318,6 +325,70 @@
\node[anchor=west] at (2.125,1.313)
{\includegraphics[width=4.75cm]{\logopos}};
\end{tikzpicture}
+ \else
+ \begin{tikzpicture}[inner sep=0pt,outer sep=0pt]
+ \clip (0,0) rectangle(\paperwidth,\paperheight);
+ \if@cameraready
+ \else
+ \fill[uauamain] (0,29.7) -- (2.2,29.7) -- (2.2,21.435) arc
+ (0:-90:0.235) -- (0,21.2) -- cycle;
+ \node[anchor=west] at (2.2,1.8)
+ {\includegraphics[width=5.2cm]{\logoposua}};
+ \fi
+
+ \node
+ [anchor=north west,text width=14.75cm,align=left]
+ at (5,27.1)
+ {
+ \fontsize{16}{20}\selectfont\textsf{\textbf{\uantwerpendocsprop{acyearname}}}\\[1ex]
+ \fontsize{16}{20}\selectfont\textsf{\@academicyear}
+ };
+
+ \node
+ [anchor=north west,text width=14.75cm,align=left]
+ at (5,22.7)
+ {
+ \fontsize{16}{20}\selectfont\textsf{\@faculty}
+ };
+
+ \node
+ [anchor=north west,text width=14.75cm,align=left] (title)
+ at (5,20.9)
+ {
+ \fontsize{24}{30}\selectfont\textsf{\textbf{\@title}}\\[1ex]
+ \fontsize{18}{24}\selectfont\textsf{\@subtitle}
+ };
+
+ \node
+ [anchor=north west,below=of title,
+ text width=14.75cm,align=left,
+ yshift=-0.5cm]
+ {
+ \fontsize{12}{15}\selectfont{\textsf{\@degree}}
+ };
+
+ \node
+ [anchor=north west,text width=14.75cm,align=left] (title)
+ at (5,13.3)
+ {
+ \fontsize{12}{15}\selectfont\textsf{\textbf{\jointlecturers{\\}}}
+ };
+
+ \node
+ [anchor=north west,text width=14.75cm,align=left] (title)
+ at (5,10)
+ {
+ \fontsize{12}{15}\selectfont\textsf{\jointcourseswithcodes{\\}}
+ };
+
+ \node[anchor=east]
+ at (19,1.8)
+ {
+ \fontsize{12}{15}\selectfont\textsf{\@publishercode}
+ };
+
+ \end{tikzpicture}
+ \fi
}
}
\end{titlepage}%
@@ -342,26 +413,36 @@
\thispagestyle{empty}
}
\newcommand\makefinalpage{
+ \if@cameraready
+ \else
\cleardoublepage
\thispagestyle{empty}
+ \if@copyright\NoBgThispage\fi
~% intentionally blank page
\clearpage
\thispagestyle{empty}
- \begin{tikzpicture}[remember picture,overlay]
- \node at (current page.center) {
- \begin{tikzpicture}[inner sep=0pt]
+ \if@copyright\NoBgThispage\fi
+ \AddToShipoutPicture*{%
+ \put(0,0){%
+ \if@modern
+ \begin{tikzpicture}[inner sep=0pt,outer sep=0pt]
\clip (0,0) rectangle(\paperwidth,\paperheight);
\fill[sidecolor] (0,0) rectangle (2.125cm,2.625cm);
\end{tikzpicture}
- };
- \end{tikzpicture}
+ \else
+ \begin{tikzpicture}[inner sep=0pt,outer sep=0pt]
+ \clip (0,0) rectangle(\paperwidth,\paperheight);
+ \fill[uauamain] (0,21.2) rectangle (21,29.7);
+ \end{tikzpicture}
+ \fi
+ }
+ }
+ ~
+ \fi
}
\AtBeginDocument{
\@ifpackageloaded{hyperref}{
\hypersetup{
- backref=true,
- hyperindex=true,
- pagebackref=true,
breaklinks=true,
colorlinks=true,
citecolor=black,