summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-03 20:45:54 +0000
committerKarl Berry <karl@freefriends.org>2021-08-03 20:45:54 +0000
commit2887c3e3e67aa5cb41af8a6b12611d745eb936a0 (patch)
tree2165799a17c4939b8d594608a8537d007b26c32a /Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls
parentfe7ff0a0d1835123521025ee969717c5ee858b3c (diff)
uantwerpendocs (3aug21)
git-svn-id: svn://tug.org/texlive/trunk@60151 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls')
-rw-r--r--Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls45
1 files changed, 25 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls
index b0719dbe890..b8571e27b00 100644
--- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls
+++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenphdthesis.cls
@@ -26,11 +26,13 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{uantwerpenphdthesis}
- [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@filled
\DeclareOption{filled}{\@filledtrue}
+\newif\if@cameraready
+\DeclareOption{cameraready}{\@camerareadytrue}
\input{uantwerpencommonoptions.clo}
\ExecuteOptions{a4paper,11pt,final,oneside,openright}
\ProcessOptions\relax
@@ -68,6 +70,9 @@
\definecolor{lightgray}{cmyk} {0.00,0.00,0.00,0.05}
\definecolor{darkgray}{cmyk} {0.00,0.00,0.00,0.80}
\definecolor{watermark}{cmyk} {0.00,0.00,0.00,0.05}
+\if@cameraready
+\RequirePackage[cam,center,width=21truecm,height=29.7truecm]{crop}
+\fi
\ExplSyntaxOn
\prop_new:N \g__uantwerpendocs_data_prop
\NewDocumentCommand{\uantwerpendocsprop}{m}{
@@ -79,6 +84,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}
@@ -256,6 +262,7 @@
\rfoot[]{}
\fi
+\setlength{\headheight}{13.7pt}
\renewcommand*{\headrulewidth}{0pt}
\renewcommand*{\footrulewidth}{0pt}
\if@filled\else
@@ -274,7 +281,7 @@
\node[color=white] at (\theta:0.025)
{\bf\fontsize{72}{12}\selectfont\thechapter};
}
- \node[color=uacorpblue] at (0,0)
+ \node[color=gray] at (0,0)
{\bf\fontsize{72}{12}\selectfont\thechapter};
\end{tikzpicture}
}\hspace*{-8pt}
@@ -309,18 +316,18 @@
\AddToShipoutPicture*{%
\put(0,0){%
\begin{tikzpicture}[inner sep=0pt,outer sep=0pt]
- \clip (0,0) rectangle(\paperwidth,\paperheight);
+ \useasboundingbox (0,0) rectangle(\paperwidth,\paperheight);
\fill[lightgray]
- (2.125,19) rectangle (\paperwidth,6);
+ (2.125,19) rectangle (\paperwidth+3mm,6);
\begin{scope}
- \clip (2.125,19) rectangle (\paperwidth,6);
+ \clip (2.125,19) rectangle (\paperwidth+3mm,6);
\node[anchor=south west]
at (2.125,6)
{\ifx\@titlepageimage\@empty
\else
\includegraphics[keepaspectratio,
scale=0.01,
- min size={15.875cm}{13cm}]{\@titlepageimage}
+ min size={16.175cm}{13cm}]{\@titlepageimage}
\fi};
\end{scope}
@@ -345,8 +352,8 @@
{\textsf{\textbf{\@author}}};
\fill[maincolor] (2.125,6)
- -- (\paperwidth,6)
- -- (\paperwidth,2.625)
+ -- (\paperwidth+3mm,6)
+ -- (\paperwidth+3mm,2.625)
-- (2.55,2.625)
arc (-90:-180:0.425)
-- cycle;
@@ -450,21 +457,19 @@
~% intentionally blank page
\clearpage
\thispagestyle{empty}
- \begin{tikzpicture}[remember picture,overlay]
- \node at (current page.center) {
- \begin{tikzpicture}[inner sep=0pt]
- \clip (0,0) rectangle(\paperwidth,\paperheight);
- \fill[sidecolor] (0,0) rectangle (2.125cm,2.625cm);
+ \AddToShipoutPicture*{%
+ \put(0,0){%
+ \begin{tikzpicture}[inner sep=0pt,outer sep=0pt]
+ \useasboundingbox (0,0) rectangle (\paperwidth,\paperheight);
+ \fill[sidecolor] (-3mm,-3mm) rectangle (2.125cm,2.625cm);
\end{tikzpicture}
- };
- \end{tikzpicture}
+ }
+ }
+ ~
}
\AtBeginDocument{
\@ifpackageloaded{hyperref}{
\hypersetup{
- backref=true,
- hyperindex=true,
- pagebackref=true,
breaklinks=true,
colorlinks=true,
citecolor=black,