summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-13 20:04:44 +0000
committerKarl Berry <karl@freefriends.org>2021-07-13 20:04:44 +0000
commit666952d96dc5c76c733cecc54f661f13a2f71195 (patch)
treea1a1ef75d1b7e7d7a66d0b8ac188157fcf558f6d /Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls
parent3879f5443ec624b0f958ce876d5b31234e093755 (diff)
uantwerpendocs (13jul21)
git-svn-id: svn://tug.org/texlive/trunk@59920 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.cls367
1 files changed, 367 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls
new file mode 100644
index 00000000000..46fa695a040
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/uantwerpendocs/uantwerpenreport.cls
@@ -0,0 +1,367 @@
+%%
+%% This is file `uantwerpenreport.cls',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% uantwerpendocs.dtx (with options: `rp')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2013-2021 by Walter Daems <walter.daems@uantwerpen.be>
+%%
+%% This work may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Walter Daems.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesClass{uantwerpenreport}
+ [2021/07/11 v4.0 .dtx skeleton file]
+\def\fileversion{4.0}
+\def\filedate{2021/07/11}
+\newif\if@copyright
+\DeclareOption{copyright}{\@copyrighttrue}
+\newif\if@filled
+\DeclareOption{filled}{\@filledtrue}
+\input{uantwerpencommonoptions.clo}
+\ExecuteOptions{a4paper,11pt,final,oneside,openright}
+\ProcessOptions\relax
+\LoadClassWithOptions{book}
+\setlength{\parindent}{0pt}
+\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{xparse}
+\RequirePackage{iftex}
+\RequirePackage{xstring}
+\RequirePackage{etoolbox}
+\RequirePackage{ifthen}
+\IfFileExists{shellesc.sty}{\RequirePackage{shellesc}}{}
+\newcommand{\@emptymacro}{}
+\RequirePackage{graphicx}
+\RequirePackage[export]{adjustbox}
+\RequirePackage{color}
+\RequirePackage{tikz}
+\usetikzlibrary{positioning}
+\RequirePackage{eso-pic}
+\if@copyright
+\RequirePackage[contents={},color=lightgray,scale=3]{background}
+\fi
+\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}
+\ExplSyntaxOn
+\prop_new:N \g__uantwerpendocs_data_prop
+\NewDocumentCommand{\uantwerpendocsprop}{m}{
+ \prop_item:Nn \g__uantwerpendocs_data_prop{#1}
+}
+\NewDocumentCommand{\uantwerpendocsPROP}{m}{
+ \str_uppercase:f { \prop_item:Nn \g__uantwerpendocs_data_prop{#1} }
+}
+\NewDocumentCommand{\uantwerpendocspropread}{m}{
+ \__uantwerpendocs_datareader:n { #1 }
+}
+\cs_new_nopar:Npn \__uantwerpendocs_dataparser:w #1 = #2!! {
+ \tl_set:Nn \l_tmpa_tl {#1}
+ \tl_set:Nn \l_tmpb_tl {#2}
+ \tl_trim_spaces:N \l_tmpa_tl
+ \tl_trim_spaces:N \l_tmpb_tl
+ \prop_gput:Nxx \g__uantwerpendocs_data_prop { \l_tmpa_tl} { \l_tmpb_tl }
+}
+\ior_new:N \l__uantwerpendocs_data_ior
+\cs_new_nopar:Nn \__uantwerpendocs_datareader:n {
+ \ior_open:Nn \l__uantwerpendocs_data_ior { uantwerpendocs-#1.data }
+ \ior_str_map_inline:Nn \l__uantwerpendocs_data_ior {
+ \regex_match:nnTF {=} {##1} {
+ \__uantwerpendocs_dataparser:w ##1!!
+ }
+ {}
+ }
+ \ior_close:N \l__uantwerpendocs_data_ior
+}
+\clist_map_inline:nn {en} {
+ \__uantwerpendocs_datareader:n { #1 }
+}
+\ExplSyntaxOff
+\newcommand*\@logo{\logopos}
+\AtBeginDocument{
+ \makeatother
+ \@ifpackageloaded{babel}{
+ \addto\captionsenglish{%
+ \uantwerpendocspropread{en}
+ }
+ \addto\captionsdutch{%
+ \uantwerpendocspropread{nl}
+ }
+ }
+ {}
+ \makeatletter
+}
+
+\newcommand*{\facultyacronym}[1]{
+ \PackageError{uantwerpendocs}
+ {The '\protect\facultyacronym{}' macro is no longer available. Use
+ your faculty abbreviation in lowercase as class options instead}
+ {The interface of uantwerpendocs 4.0 has been changed. See
+ the uantwerpendocs manual under section '5.2 The class options explained'}
+}
+\newcommand*{\@subtitle}{~}
+\newcommand*{\subtitle}[1]{%
+ \renewcommand*\@subtitle{#1}
+}
+\newcommand*{\@versionyear}{}
+\newcommand*{\versionyear}[1]{\renewcommand*{\@versionyear}{#1}}
+\newcommand\@extra{}
+\newcommand\extra[1]{\renewcommand\@extra{#1}}
+\newcommand\@affiliation{
+ \PackageError{uantwerpendocs}
+ {Please, define the affiliation of the author using the
+ '\protect\affiliation{}' command in the preamble of your
+ document.}
+ {See the uantwerpendocs manual}
+}
+\newcommand\affiliation[1]{\renewcommand\@affiliation{#1}}
+\newcommand*\@titlepageimage{}
+\newcommand*\titlepageimage[1]{\renewcommand*\@titlepageimage{#1}}
+\newcommand{\@copyrightnotices}{}
+\newcommand{\copyrightnotices}[1]{\renewcommand{\@copyrightnotices}{#1}}
+\newcommand*{\@address}{
+ \PackageError{uantwerpendocs}
+ {Please, set your multi-line address and contact details using the
+ '\protect\address{}' command in the preamble of your document}
+ {See the uantwerpendocs manual}
+}
+\newcommand*{\address}[1]{\renewcommand*{\@address}{#1}}
+\if@twoside
+ \lhead[\thepage]{\slshape\rightmark}
+ \chead[]{}
+ \rhead[\slshape\leftmark]{\thepage}
+ \lfoot[]{}
+ \cfoot[]{}
+ \rfoot[]{}
+\else
+ \lhead[]{\leftmark}
+ \chead[]{}
+ \rhead[]{\thepage}
+ \lfoot[]{}
+ \cfoot[]{}
+ \rfoot[]{}
+\fi
+
+\renewcommand*{\headrulewidth}{0pt}
+\renewcommand*{\footrulewidth}{0pt}
+\if@filled\else
+ \raggedright
+\fi
+\raggedbottom
+\onecolumn
+\newcommand{\@crnotice}{
+ This document has been typeset using \LaTeX{} and the
+ \texttt{uantwerpendocs} package.\\
+ \@copyrightnotices
+
+
+ CONFIDENTIAL AND PROPRIETARY.
+
+ \copyright{} \@versionyear{} \uantwerpendocsprop{org-ua}, \uantwerpendocsprop{arr}.
+}
+\def\@makechapterhead#1{%
+ \vspace*{1ex}%
+ \begin{flushright}
+ \makebox[0pt][l]{\rule[-0.4em]{10cm}{1.8em}}\textcolor{white}
+ {\bf\LARGE~\chaptername~}
+ \raisebox{-24pt}{
+ \begin{tikzpicture}
+ \foreach \theta in {0,5,...,355} {
+ \node[color=white] at (\theta:0.025)
+ {\bf\fontsize{72}{12}\selectfont\thechapter};
+ }
+ \node[color=uacorpblue] at (0,0)
+ {\bf\fontsize{72}{12}\selectfont\thechapter};
+ \end{tikzpicture}
+ }\hspace*{-8pt}
+ \par\nobreak
+ \interlinepenalty\@M
+ \bf\huge\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1}
+ \par\nobreak
+ \end{flushright}
+ \rule{\textwidth}{1pt}
+ \vspace{5\p@}\par\nobreak
+ }
+\def\@schapter#1{%
+ \@makeschapterhead{#1}%
+ \@afterheading
+}
+\def\@makeschapterhead#1{%
+ \vspace*{1ex}%
+ \begin{flushright}
+ \bf\LARGE\textcolor{darkgray}{\rule[-0.5ex]{0em}{2.6ex}~#1}
+ \end{flushright}
+ \rule{\textwidth}{1pt}
+ \vspace{5\p@}\par
+}
+\def\appendix{
+ \setcounter{chapter}{0}
+ \renewcommand*{\thechapter}{\Alph{chapter}}
+ \renewcommand*\chaptername\appendixname
+}
+\renewcommand\maketitle{%
+ \pagestyle{empty}
+ \begin{titlepage}
+ \AddToShipoutPicture*{%
+ \put(0,0){%
+ \begin{tikzpicture}[inner sep=0pt,outer sep=0pt]
+ \clip (0,0) rectangle(\paperwidth,\paperheight);
+ \fill[lightgray]
+ (2.125,20.192) rectangle (\paperwidth,6);
+ \begin{scope}
+ \clip (2.125,20.192) rectangle (\paperwidth,6);
+ \node[anchor=south west]
+ at (2.125,6)
+ {\ifx\@titlepageimage\@empty
+ \else
+ \includegraphics[keepaspectratio,
+ scale=0.01,
+ min size={18.875cm}{14.192cm}]{\@titlepageimage}
+ \fi};
+ \end{scope}
+
+ \node
+ [anchor=west,text width=17cm,align=left,font=\Huge,uauaside]
+ at (2.125,\paperheight-3cm)
+ {
+ \textsf{\textbf{\@title}}
+ };
+
+ \node
+ [anchor=west,text width=17cm,align=left,font=\Large,uauaside]
+ at (2.125,\paperheight-5cm)
+ {
+ \textsf{\textbf{\@subtitle}}
+ };
+
+ \node
+ [anchor=base west,maincolor,
+ text width=17cm,align=left,font=\LARGE]
+ at (2.125,\paperheight-6.5cm)
+ {\textsf{\textbf{\@author}}};
+
+ \fill[maincolor] (2.125,6)
+ -- (\paperwidth,6)
+ -- (\paperwidth,2.625)
+ -- (2.55,2.625)
+ arc (-90:-180:0.425)
+ -- cycle;
+
+ \node[white,anchor=west,text width=17cm,align=left,font=\small]
+ at (2.55,5.3)
+ {\textsf{\textbf{\@extra}}};
+
+ \node[white,anchor=west,text width=17cm,align=left,font=\small]
+ at (2.55,4)
+ {\textsf{\textbf{\@affiliation{}
+ | \@versionyear}\\
+ \@address}};
+
+ \node[anchor=west] at
+ (2.125,1.313)
+ {\includegraphics[width=4.75cm]{\logopos}};
+ \end{tikzpicture}
+ }
+ }
+ \end{titlepage}%
+ ~\par\relax
+ \cleardoublepage
+ \begin{center}
+ \includegraphics[width=4.75cm]{\logopos}
+ \vfill
+ \@affiliation\\
+ \@extra\par
+ \vfill
+ \Huge\textsf{\@title}\par
+ \large\textsf{\@subtitle}\par
+ \vfill
+ \textbf{\@author}
+ \vfill
+ \end{center}
+ \clearpage
+ \vfill
+ \textbf{Contact}\\
+ \smallskip
+ \@author\\
+ \@affiliation\\
+ \@address\\
+ \vfill
+ \copyright{} \@versionyear{} \@author\\
+ \uantwerpendocsprop{arr}.
+ \vfill
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\title\relax
+ \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax
+ \pagestyle{fancy}
+ \thispagestyle{empty}
+ \
+}
+\newcommand\makefinalpage{
+ \cleardoublepage
+ \thispagestyle{empty}
+ ~% 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);
+ \end{tikzpicture}
+ };
+ \end{tikzpicture}
+}
+\AtBeginDocument{
+ \@ifpackageloaded{hyperref}{
+ \hypersetup{
+ backref=true,
+ hyperindex=true,
+ pagebackref=true,
+ breaklinks=true,
+ colorlinks=true,
+ citecolor=black,
+ filecolor=black,
+ linkcolor=black,
+ pageanchor=true,
+ pdfpagemode=UseOutlines,
+ urlcolor=black,
+ pdftitle={\@title},
+ pdfsubject={\@subtitle},
+ pdfauthor={\@author}
+ }
+ }{}
+}
+\endinput
+%%
+%% End of file `uantwerpenreport.cls'.