diff options
author | Karl Berry <karl@freefriends.org> | 2021-10-04 20:28:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-10-04 20:28:54 +0000 |
commit | 0a50feb91cf2dd22fe5d98be0ab085b4262c656e (patch) | |
tree | c29b7e1050afea92282b352c08623e021107e033 /Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls | |
parent | 0b1a953c4329c6015ac59aa773775496f8e6c5d2 (diff) |
uantwerpendocs (4oct21)
git-svn-id: svn://tug.org/texlive/trunk@60696 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls | 52 |
1 files changed, 35 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls index cf7882c2839..fe27942879a 100644 --- a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls +++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls @@ -26,9 +26,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{uantwerpenreport} - [2021/08/03 v4.1 .dtx skeleton file] -\def\fileversion{4.1} -\def\filedate{2021/08/03} + [2021/10/04 v4.2 .dtx skeleton file] \newif\if@copyright \DeclareOption{copyright}{\@copyrighttrue} \newif\if@filled @@ -41,7 +39,7 @@ \addtolength{\parskip}{0.75\baselineskip} \setcounter{secnumdepth}{3} \RequirePackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry} -\RequirePackage{expl3} +\RequirePackage[check-declarations]{expl3} % I use this during debug phase \RequirePackage{xparse} \RequirePackage{iftex} \RequirePackage{xstring} @@ -50,10 +48,11 @@ \IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{} \newcommand{\@emptymacro}{} \RequirePackage{graphicx} +\RequirePackage{soul} \RequirePackage[export]{adjustbox} \RequirePackage{color} \RequirePackage{tikz} -\usetikzlibrary{positioning} +\usetikzlibrary{positioning,calc} \RequirePackage{eso-pic} \if@copyright \RequirePackage[contents={},color=lightgray,scale=3]{background} @@ -61,15 +60,33 @@ \RequirePackage{uantwerpencolorlogoscheme} \RequirePackage{fancyhdr} -\definecolor{uacorpbord}{cmyk} {0.00,1.00,0.60,0.37} -\definecolor{uacorpblue}{cmyk} {1.00,0.25,0.00,0.50} -\definecolor{uacorplightblue}{cmyk}{1.00,0.00,0.08,0.13} -\definecolor{uacorporange}{cmyk} {0.00,0.32,1.00,0.09} -\definecolor{uaftifresh}{cmyk} {0.34,1.00,0.00,0.00} -\definecolor{uaftisober}{cmyk} {0.10,1.00,0.00,0.49} \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} +\newcommand\insettext[1]{ + \textcolor{basecolor}{ + \begin{tabular}{@{\hskip3ex\textcolor{maincolor}{\vrule width 2.5pt}\hskip3ex\large\bfseries}p{0.88\textwidth}} + \strut #1 + \end{tabular} + } +} +\newcommand\insetquote[1]{ + \insettext{ + \begin{tikzpicture}[scale=0.65] + \fill[green!60!black] (0.4,0) -- (0.5,0) -- (0.75,-0.15) -- (0.75,0) -- + (0.9,0) arc(-90:0:0.1) -- (1,0.65) arc(0:90:0.1) -- (0.1,0.75) arc + (90:180:0.1) -- (0,0.1) arc(-180:-90:0.1) -- cycle; + \foreach \x in {0.35,0.7} { + \begin{scope}[shift={(\x,0.425)},scale=0.25] + \fill[white] (0,0) circle[radius=0.5]; + \fill[white] (0.5,0) arc(0:-90:1) -- + (-0.5,-0.725) arc(-90:0:0.725) -- cycle; + \end{scope} + } + \end{tikzpicture}\\ + #1 + } +} \ExplSyntaxOn \prop_new:N \g__uantwerpendocs_data_prop \NewDocumentCommand{\uantwerpendocsprop}{m}{ @@ -116,9 +133,10 @@ } } {} + \uantwerpendocspropread{degree} + \uantwerpendocspropread{doctype} \makeatletter } - \newcommand*{\facultyacronym}[1]{ \PackageError{uantwerpendocs} {The '\protect\facultyacronym{}' macro is no longer available. Use @@ -191,20 +209,20 @@ \vspace*{1ex}% \begin{flushright} \makebox[0pt][l]{\rule[-0.4em]{10cm}{1.8em}}\textcolor{white} - {\bf\LARGE~\chaptername~} + {\LARGE\textbf{~\chaptername~}} \raisebox{-24pt}{ \begin{tikzpicture} \foreach \theta in {0,5,...,355} { \node[color=white] at (\theta:0.025) - {\bf\fontsize{72}{12}\selectfont\thechapter}; + {\fontsize{72}{12}\selectfont\textbf{\thechapter}}; } \node[color=gray] at (0,0) - {\bf\fontsize{72}{12}\selectfont\thechapter}; + {\fontsize{72}{12}\selectfont\textbf{\thechapter}}; \end{tikzpicture} }\hspace*{-8pt} \par\nobreak \interlinepenalty\@M - \bf\huge\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1} + \huge\textbf{\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1}} \par\nobreak \end{flushright} \rule{\textwidth}{1pt} @@ -217,7 +235,7 @@ \def\@makeschapterhead#1{% \vspace*{1ex}% \begin{flushright} - \bf\LARGE\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1} + \LARGE\textbf{\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1}} \end{flushright} \rule{\textwidth}{1pt} \vspace{5\p@}\par |