diff options
author | Norbert Preining <norbert@preining.info> | 2022-08-23 03:00:42 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-08-23 03:00:42 +0000 |
commit | 0fab672d8f0c2d456fafd111ea77c2123075d653 (patch) | |
tree | 455b3e53583e57598ee5bc9c9f587cc23b72a6c7 /macros/latex/contrib/uantwerpendocs/uantwerpendocs.dtx | |
parent | 0da533cdc3dbbf007f674c9cf301d0953cbeebd4 (diff) |
CTAN sync 202208230300
Diffstat (limited to 'macros/latex/contrib/uantwerpendocs/uantwerpendocs.dtx')
-rw-r--r-- | macros/latex/contrib/uantwerpendocs/uantwerpendocs.dtx | 227 |
1 files changed, 187 insertions, 40 deletions
diff --git a/macros/latex/contrib/uantwerpendocs/uantwerpendocs.dtx b/macros/latex/contrib/uantwerpendocs/uantwerpendocs.dtx index 8aa027e390..938cc829a9 100644 --- a/macros/latex/contrib/uantwerpendocs/uantwerpendocs.dtx +++ b/macros/latex/contrib/uantwerpendocs/uantwerpendocs.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2013-2021 by Walter Daems <walter.daems@uantwerpen.be> +% Copyright (C) 2013-2022 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 @@ -35,11 +35,11 @@ %<le>\ProvidesClass{uantwerpenletter} %<ex>\ProvidesClass{uantwerpenexam} %<bmr>\ProvidesPackage{beamerthemeuantwerpen} -%<cls|ct|bmt|pt|rp|le|ex|bmr> [2021/11/11 v4.3 .dtx skeleton file] +%<cls|ct|bmt|pt|rp|le|ex|bmr> [2022/08/22 v4.4 .dtx skeleton file] %<*driver> \documentclass[a4paper]{ltxdoc} -\def\fileversion{4.3}% -\def\filedate{2021/11/11}% +\def\fileversion{4.4}% +\def\filedate{2022/08/22}% \usepackage{makeidx} \usepackage{alltt} \usepackage{longtable} @@ -116,8 +116,10 @@ % \changes{v4.1}{2021/08/03}{\@ Adapted coursetext again to % universitas agreement + added bleed version for phd texts + small bugfixes} % \changes{v4.2}{2021/10/04}{\@ Added in-style bamathesis class} -% \changes{v4.3}{2021/11/11}{\@ Small bufixes and corrections to +% \changes{v4.3}{2021/11/11}{\@ Small bugfixes and corrections to % optional fields of letter class} +% \changes{v4.4}{2022/04/04}{\@ Made titlepages insensitive to +% parindent and parskip settings + small bugfixes} % % \DoNotIndex{\newcommand,\newenvironment,\begin,\bfseries,\draw,\clip,\else,\fi,\if,\fill,\filldraw,\ifthenelse,\ifx,\textwidth,\node,\\,\@empty,\@tempdima,\@tempdimb,\@tempswatrue,\{,\},\ ,\bf,\BODY,\break,\Alph,\and,\define@key,\color,\dx,\dy,\g,\gdef,\hbox,\tiny,\scriptsize,\footnotesize,\small,\normalsize,\large,\Large,\LARGE,\huge,\Huge,\l,\LaTeX,\let,\p@,\relax,\renewcommand,\Requirepackage,\textbf,\textsf,\texttt,\textbackslash,\vspace,\hspace,\hfill,\hskip,\vskip,\hline,\vrule,\typeout,\usebox,\end,\paperheight,\paperwidth,\par,\NewDocumentCommand,\seq} % \setlength{\parindent}{0em} @@ -399,6 +401,7 @@ % \title{<put your title here>} % \author{<put your name here>} % \affiliation{<put your affiliation here>} +% \department{<put department here, if there is an official department>} % \address{<put your contact details here>} % % \supervisor{<put supervisor's name here>}{<affiliation goes here>} @@ -557,6 +560,11 @@ % titlepage on a standard sheet that contains these colored areas and % the logo (pre-printed). % +% \DescribeMacro{bare} [phdthesis]\\ +% For the |phdthesis| class, this option removes the +% title page and the back page from the file, such that you can give a +% 'bare' version to your printshop. +% % \DescribeMacro{copyright} [coursetext]\\ % This option forces printing a watermark on every page. For the % paper version of your document, this is inappropriate, but for any @@ -597,6 +605,9 @@ % |twoside|, |openright| and (optionally) |filled| % \item to make a camera-ready PhD text: % |twoside|, |openright|, |cameraready| and (optionally) |filled| +% \item to make a bare version of your PhD text for the Nieuwe +% Mediadienst: |twoside|, |openright|, |bare| and (optionally) +% |filled| % \item to make a report: % |twoside|, |openright| and (optionally) |filled| % \end{itemize} @@ -968,7 +979,10 @@ % % \begin{verbatim} %<*ct-example> -\documentclass[ti,a4paper,11pt,oneside,openright,cameraready]{uantwerpencoursetext} +\documentclass[ti,a4paper,11pt,oneside,openright,cameraready,filled]{uantwerpencoursetext} + +\setlength\parindent{1in} +\setlength\parskip{0ex} \usepackage[english,dutch]{babel} \usepackage{kantlipsum} % this is just for some dummy text, please remove @@ -977,7 +991,7 @@ \author{Walter Daems en Paul Levrie} \courseversion{1.3} -\versionyear{2021} +\versionyear{2022} \lecturer{Zoltan Zo\"ekers} \lecturer{Siana Sigh} @@ -988,7 +1002,7 @@ \course{2023FTIZZZ}{5-Zoekmachines in een zaagperspectief} \course{2045FTIIII}{6-Zaagmachines in \'e\'en zuchtperspectief} -\academicyear{2021-2022} +\academicyear{2022-2023} \publisher{Universitas Cursusdienst | Prinsesstraat 16 | @@ -1056,7 +1070,9 @@ % % % \subsubsection{\texttt{uantwerpenbamathesis}} -% +% +% \changes{v4.4}{2022/04/04}{Added some suggestions for a two column +% summary of a bamathesis} % \begin{verbatim} %<*bmt-example> \documentclass[ti,twoside,openright,a4paper,11pt]{uantwerpenbamathesis} @@ -1085,6 +1101,10 @@ \usepackage{sansmathaccent} \fi +% Use this package if you need to provide a twocolumn summary at the +% start of your document. +\usepackage{multicol} + \bamadegree{ti-nl-ma-ei} \title{Minimax optimisatie voor performantie- @@ -1101,7 +1121,7 @@ \extsupervisor{prof. dr. H. Warwinkel}{TNT-Bang, N.V.} % keep the spaces around the dash! -\academicyear{2021 - 2022} +\academicyear{2022 - 2023} % you can specify a company logo %\companylogo{\includegraphics[width=4.5cm,height=2.5cm,keepaspectratio]{companylogo.jpg}} @@ -1115,7 +1135,40 @@ \tableofcontents \mainmatter -\chapter*{Inleiding} + +% Use this template if you need to provide a twocolumn summary at the +% start of your document. Remove it if you don't need it. +\pagestyle{empty} +\thispagestyle{empty} +\begin{multicols}{2} + [ + \begin{center} + \textbf{ + \Large Samenvatting\\[1ex] + \@title~\\[1ex] + \large \@subtitle\\[0.5ex]} + \@author + \end{center} + ] + \kant[11] + + \kant[12] + + \kant [13] + + \kant [14] + + \kant [15] + +\end{multicols} +\pagestyle{fancy} + +% An even better suggestion is to create your twocolumns summary as a +% separate document (using a dedicates paper-writing class e.g. the +% IEEEtran class) and load the individual pdf pages using the pdfpages +% package (https://ctan.org/pkg/pdfpages). + +\chapter{Inleiding} \insettext{Bene vixit qui bene latuit!} @@ -1219,11 +1272,11 @@ \degree{doctor in de toegepaste ingenieurswetenschappen} \defenselocation{Antwerpen} -\defensedate{2021} +\defensedate{2022} \titlepageimage{Images/uantwerpen-keyboard.jpg} \isbn{987-90-57285-34-7} % don't specify this if you don't want one -\depot{D/2021/12.293/03} % idem +\depot{D/2022/12.293/03} % idem \begin{document} @@ -1295,8 +1348,17 @@ % yourself! This allows you to put it in the % correct order with the other packages you load! +% normal title \title{Harmonic Signal analysis \\based on Linear Operators} \subtitle{How did Mindy linearly kill Mork's IC signal analyzer?} + +% trigger the generation of a secondary title page in Dutch by +% specifying a \titel (and optionally a \subtitel). +\titel{Harmonische Signaalanalyse\\met behulp van Lineaire + Operatoren} +\subtitel{Waarom moeten titels van doctoraatsthesissen toch altijd + lang en onverstaanbaar zijn?} + \author{Ing. Theodore Edgeoff} \affiliation{University of Antwerp\\ Faculty of Applied Engineering\\ @@ -1317,11 +1379,11 @@ \degree{doctor in applied engineering} \defenselocation{Antwerpen} -\defensedate{2021} +\defensedate{2022} \titlepageimage{Images/uantwerpen-keyboard.jpg} \isbn{987-90-57285-34-7} -\depot{D/2021/12.293/03} +\depot{D/2022/12.293/03} \begin{document} @@ -1411,7 +1473,7 @@ T: +32 265 00 00 } -\versionyear{2021} +\versionyear{2022} \titlepageimage{Images/uantwerpen-keyboard.jpg} @@ -2114,6 +2176,7 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in % \changes{v4.0}{2021/07/11}{Removed options titlepagetableonly and % titlepagenoartwork} % \changes{v4.1}{2021/08/03}{Added option cameraready} +% \changes{v4.4}{2022/04/04}{Added option bare to phd text classes} % % Before loading the class, we provide the extra options. % @@ -2141,6 +2204,10 @@ Welk van de onderstaande ingredi\"enten hoort niet thuis in \newif\if@cameraready \DeclareOption{cameraready}{\@camerareadytrue} %</ct|pt> +%<*pt> +\newif\if@bare +\DeclareOption{bare}{\@baretrue} +%</pt> %<*le> \newif\if@nofoldline \DeclareOption{nofoldline}{\@nofoldlinetrue} @@ -2537,7 +2604,7 @@ jurymembersname = Members jurychairmanname = Chairman bmthesisname = Thesis to obtain the degree of pthesisnamei = Thesis submitted in fulfilment of the requirements for the degree of -pthesisnameii = at University of Antwerp +pthesisnameii = at the University of Antwerp weightname = Weight %</endata> % \end{macrocode} @@ -2761,11 +2828,45 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun %</ct|bmt|pt|rp|le|ex> % \end{macrocode} % \end{macro} +% +% \begin{macro}{\department} +% The |department| sets the department's name tag +% |\@department| that is used in the title page +% information. +% +% \changes{v4.4}{2022/04/04}{Added department name} +% \begin{macrocode} +%<*ct|bmt|pt> +\newcommand*{\@department}{} +\newcommand*{\department}[1]{ + \renewcommand*\@department{#1} +} +%</ct|bmt|pt> +% \end{macrocode} +% \end{macro} % % \begin{macro}{\title} % The |title| tag is native to \LaTeX{}. It sets the |\@title| tag % that will be used on the title page. % \end{macro} +% +% +% \begin{macro}{\titel} +% \changes{v4.4}{2022/04/04}{Added dutch translation option to +% phdtext class} +% This macro sets the |\@titel| tag that later will be used on +% the Dutch translation of the title page. Moreover, using this tag, +% will trigger the generation of a secondary Dutch title page. +% Only use this tag in an English thesis! +% \begin{macrocode} +%<*pt> +\newcommand*{\@titel}{} +\newcommand*{\titel}[1]{% + \renewcommand*\@titel{#1} +} +%</pt> +% \end{macrocode} +% \end{macro} % % \begin{macro}{\subtitle} % \changes{v2.1}{2018/06/20}{Added subtitle to phd text} @@ -2784,6 +2885,24 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % \end{macrocode} % \end{macro} % +% \begin{macro}{\subtitel} +% \changes{v4.4}{2022/04/04}{Added dutch translation option to +% phdtext class} +% This macro sets the |\@subtitel| tag that later will be used on +% the Dutch translation of the title page. It will not trigger the +% generation of a secondary Dutch title page. That can only be done +% by using the |\titel| command. +% Only use this tag in an English thesis! +% \begin{macrocode} +%<*pt> +\newcommand*{\@subtitel}{} +\newcommand*{\subtitel}[1]{% + \renewcommand*\@subtitel{#1} +} +%</pt> +% \end{macrocode} +% \end{macro} +% % \begin{macro}{\shorttitle} % This macro sets the |\@shorttitle| tag that later will be used % in the |exam| class. @@ -3957,17 +4076,21 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % \begin{macrocode} %<*ct|rp> \newcommand{\@crnotice}{ - This document has been typeset using \LaTeX{} and the - \texttt{uantwerpendocs} package.\\ - \@copyrightnotices + { + \setlength\parindent{0em} + This document has been typeset using \LaTeX{} and the + \texttt{uantwerpendocs} package.\\ + \@copyrightnotices %</ct|rp> -%<ct> \@courseversion +%<ct> \@courseversion %<*ct|rp> - CONFIDENTIAL AND PROPRIETARY. + CONFIDENTIAL AND PROPRIETARY. - \copyright{} \@versionyear{} \uantwerpendocsprop{org-ua}, \uantwerpendocsprop{arr}. + \copyright{} \@versionyear{} \uantwerpendocsprop{org-ua}, + \uantwerpendocsprop{arr}. + } } %</ct|rp> %<*bmt> @@ -4123,7 +4246,8 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \node[white,anchor=west,text width=17.5cm,align=left,font=\small] at (2.55,3.7) {\textsf{\@degree{}}\\ - \textsf{\textbf{\@faculty{} | \@academicyear \hfill + \textsf{\textbf{\@faculty{} \ifx\@department\empty\else | + \@department{} \fi | \@academicyear \hfill \@publishercode}}\\ \textsf{\@publisher}}; @@ -4153,7 +4277,8 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun [anchor=north west,text width=14.75cm,align=left] at (5,22.7) { - \fontsize{16}{20}\selectfont\textsf{\@faculty} + \fontsize{16}{20}\selectfont\textsf{\@faculty{} + \ifx\@department\empty\else | \@department{} \fi} }; \node @@ -4380,6 +4505,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun %<*pt> \renewcommand\maketitle{% \pagestyle{empty} + \if@bare\else \begin{titlepage} \AddToShipoutPicture*{% \put(0,0){% @@ -4440,8 +4566,8 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun at (2.55,3.7) {\textsf{\uantwerpendocsprop{pthesisnamei} \@degree{}}\\ - \textsf{\textbf{\@faculty{} - | \@defenselocation, \@defensedate}}}; + \textsf{\textbf{\@faculty{} \ifx\@department\empty\else | + \@department{} \fi | \@defenselocation, \@defensedate}}}; \node[anchor=west] at (2.125,1.313) @@ -4452,11 +4578,12 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \end{titlepage}% ~\par\relax \cleardoublepage + \fi \begin{center} \includegraphics[width=4.75cm]{\logoposua} \vfill \@faculty\\ - \@degree\par + \@department\par \vfill \Huge\textsf{\@title}\par \large\textsf{\@subtitle}\par @@ -4478,7 +4605,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \end{minipage} \end{center} \clearpage - \textbf{\uantwerpendocsprop{juryname}}\hfill\par + \noindent\textbf{\uantwerpendocsprop{juryname}}\hfill\\[1ex] \textbf{\uantwerpendocsprop{jurychairmanname}}\hfill\break \@jurychairman{}\ifdefvoid{\@jurychairmanaff}{}{, \@jurychairmanaff}\\ \hfill\break @@ -4489,16 +4616,16 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \jointjurymembers{\\} \hfill\break \vfill - \textbf{Contact}\\ + \noindent\textbf{Contact}\\ \smallskip \@author\\ \@affiliation\\ \@address\\ \vfill - \copyright{} \@defensedate{} \@author\\ + \noindent\copyright{} \@defensedate{} \@author\\ \uantwerpendocsprop{arr}. \vfill - \begin{minipage}[b]{.5\linewidth} + \noindent\begin{minipage}[b]{.5\linewidth} \ifdefempty{\@isbn}{}{ISBN \@isbn}~\\ \ifdefempty{\@depot}{}{Wettelijk depot \@depot}~\\ \end{minipage} @@ -4508,6 +4635,23 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \expandafter\EAN \@isbn \end{minipage} } + \thispagestyle{empty} + \ifx\@titel\empty + \else + \clearpage + \begin{center} + \vfill + ~ + \vfill + Dutch title: + \vfill + \Huge\textsf{\@titel}\par + \large\textsf{\@subtitel}\par + \vfill + ~ + \vfill + \end{center} + \fi \setcounter{footnote}{0}% \global\let\thanks\relax \global\let\maketitle\relax @@ -4516,9 +4660,9 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \global\let\author\relax \global\let\date\relax \global\let\and\relax + \clearpage \pagestyle{fancy} \thispagestyle{empty} - \ } %</pt> % \end{macrocode} @@ -4531,6 +4675,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % \begin{macrocode} %<*pt> \newcommand\makefinalpage{ + \if@bare\else \cleardoublepage \thispagestyle{empty} ~% intentionally blank page @@ -4545,6 +4690,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun } } ~ + \fi } %</pt> % \end{macrocode} @@ -4735,7 +4881,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun ~\\[3ex] \textcolor{uauaside}{\textbf{\@sender}} \ifx\@senderrole\@empty\\[1.75ex]\else \\*\@senderrole\\[1.75ex]\fi - \@faculty + \@faculty{} \ifx\@unit\@empty\else\\* \@unit\fi~\\[1.75ex] \@address\\[1.75ex] \ifemails{E~\jointemails{\\\phantom{E~}}\\} @@ -4924,6 +5070,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun \rfoot[\small Groep \@examgroupnumber{} --- \@academicyear]{\small Groep \@examgroupnumber{} --- \@academicyear} \renewcommand*{\footrulewidth}{1pt} + \@extrainfo{} } %</ex> % \end{macrocode} @@ -5978,7 +6125,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun Cheers! Walter Daems\\ - (March 2021) + (April 2022) \end{frame} @@ -5992,7 +6139,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % % \begin{macrocode} %<*bmr> -% Copyright 2021 by Walter Daems <walter.daems@uantwerpen.be> +% Copyright 2022 by Walter Daems <walter.daems@uantwerpen.be> % % This file may be distributed and/or modified % @@ -6046,7 +6193,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % \subsubsection{Beamer color theme} % \begin{macrocode} %<*bmrcolor> -% Copyright 2021 by Walter Daems <walter.daems@uantwerpen.be> +% Copyright 2022 by Walter Daems <walter.daems@uantwerpen.be> % % This file may be distributed and/or modified % @@ -6129,7 +6276,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % % \begin{macrocode} %<*bmrfont> -% Copyright 2021 by Walter Daems +% Copyright 2022 by Walter Daems % % This file may be distributed and/or modified % @@ -6273,7 +6420,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % % \begin{macrocode} %<*bmrinner> -% Copyright 2021 by Walter Daems <walter.daems@uantwerpen.be> +% Copyright 2022 by Walter Daems <walter.daems@uantwerpen.be> % % This file may be distributed and/or modified % @@ -6366,7 +6513,7 @@ we-nl-ma-wiftw = Master of Science in wiskunde: financiële en toegepaste wiskun % % \begin{macrocode} %<*bmrouter> -% Copyright 2021 by Walter Daems <walter.daems@uantwerpen.be> +% Copyright 2022 by Walter Daems <walter.daems@uantwerpen.be> % % This file may be distributed and/or modified % |