| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Copyright (C) 2024- TeXniCie A-Eskwadraat (voorheen HekTeX) <[email protected]> |
| 4 |
% |
| 5 |
% This program is free software: you can redistribute it and/or modify |
| 6 |
% it under the terms of the GNU General Public License as published by |
| 7 |
% the Free Software Foundation, either version 3 of the License, or |
| 8 |
% (at your option) any later version. |
| 9 |
% |
| 10 |
% This program is distributed in the hope that it will be useful, |
| 11 |
% but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
% GNU General Public License for more details. |
| 14 |
% |
| 15 |
% You should have received a copy of the GNU General Public License |
| 16 |
% along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 17 |
% |
| 18 |
% The current maintainer of this work is Jesse Straat. |
| 19 |
% |
| 20 |
% This work consists of the main file aeskwadraat.dtx |
| 21 |
% and the derived files |
| 22 |
% aeskwadraat.sty, aes.sty, aeskwadraat.pdf, aeskwadraat.ins, aeskwadraatbrief.cls, aeskwadraatfactuur.sty, aeskwadraatnotulen.cls, |
| 23 |
% aeskwadraatnotulen.sty, aeskwadraattaal.sty, beamerthemeaeskwadraat.sty, beamerthemeaes2.sty |
| 24 |
% |
| 25 |
% Unpacking: |
| 26 |
% (a) If aeskwadraat.ins is present: |
| 27 |
% pdflatex aeskwadraat.ins |
| 28 |
% (b) If aeskwadraat.ins is absent: |
| 29 |
% pdflatex aeskwadraat.dtx |
| 30 |
% |
| 31 |
% Documentation: |
| 32 |
% pdflatex aeskwadraat.dtx |
| 33 |
% makeindex -s gind.ist -o aeskwadraat.ind aeskwadraat.idx |
| 34 |
% makeindex -s gglo.ist -o aeskwadraat.gls aeskwadraat.glo |
| 35 |
% pdflatex aeskwadraat.dtx |
| 36 |
% |
| 37 |
%<*ignore> |
| 38 |
\iffalse |
| 39 |
%</ignore> |
| 40 |
% |
| 41 |
%<*readme> |
| 42 |
# A-Eskwadraat LaTeX packages v1.0.1 |
| 43 |
|
| 44 |
This is the A-Eskwadraat LaTeX package catalogue. |
| 45 |
A-Eskwadraat is the study association for mathematics |
| 46 |
and physics at Utrecht University. |
| 47 |
The catalogue includes packages for meeting notes, |
| 48 |
a beamer theme, invoices and letters. |
| 49 |
These are the official packages for the association. |
| 50 |
|
| 51 |
# Installation |
| 52 |
Run the following in the command line: |
| 53 |
1\. If aeskwadraat.ins is present: |
| 54 |
`pdflatex aeskwadraat.ins` |
| 55 |
2\. If aeskwadraat.ins is absent: |
| 56 |
`pdflatex aeskwadraat.dtx` |
| 57 |
|
| 58 |
Move the `logos` folder and `.sty` and `.cls` files to a folder that TeX can find. |
| 59 |
|
| 60 |
# Documentation |
| 61 |
Run the following in the command line: |
| 62 |
``` |
| 63 |
pdflatex aeskwadraat.dtx |
| 64 |
makeindex -s gind.ist -o aeskwadraat.ind aeskwadraat.idx |
| 65 |
makeindex -s gglo.ist -o aeskwadraat.gls aeskwadraat.glo |
| 66 |
pdflatex aeskwadraat.dtx |
| 67 |
``` |
| 68 |
This automatically unpacks the package, as well. |
| 69 |
|
| 70 |
|
| 71 |
If you are looking for comments or documentation, you won't find |
| 72 |
any in the source. These packages make use of literate programming, which means |
| 73 |
that the documentation is given in the form of a pdf file. You can |
| 74 |
probably find aeskwadraat.pdf in this folder, by running "texdoc --view aeskwadraat" |
| 75 |
in the command line, or Googling |
| 76 |
"[your distribution] how to find package documentation". |
| 77 |
If you're using MiKTeX, open MiKTeX console, go to |
| 78 |
"Documentation" and look for "aeskwadraat". |
| 79 |
If you're still unsure, contact the TeXniCie at <[email protected]> |
| 80 |
|
| 81 |
# Logos |
| 82 |
The images in the `logos/` subfolder are not covered by the project's |
| 83 |
license. The files `aeskwadraat_BW.pdf`, `aeskwadraat_RGB.pdf` and `aeskwadraat_slinger.pdf` |
| 84 |
are property of A-Eskwadraat and are released under the |
| 85 |
[CC BY-SA 4.0 license](https://creativecommons.org/licenses/by-sa/4.0/). |
| 86 |
The file `aeskwadraat_uulogo.jpg` (if included in your distribution) |
| 87 |
depicts the Utrecht University logo, and is property of the university. |
| 88 |
It may only be used by affiliates to the university. |
| 89 |
|
| 90 |
--- |
| 91 |
|
| 92 |
© 2024- TeXniCie A-Eskwadraat |
| 93 |
|
| 94 |
License: [GNU General Public License](https://www.gnu.org/licenses/) |
| 95 |
|
| 96 |
[GitLab Repository](https://gitlab.com/iba-aes/latex-packages) |
| 97 |
|
| 98 |
%</readme> |
| 99 |
% |
| 100 |
%<*ignore> |
| 101 |
\fi |
| 102 |
\def\plainTeXstring{plain} |
| 103 |
\ifx\fmtname\plainTeXstring\else |
| 104 |
\expandafter\begingroup |
| 105 |
\fi |
| 106 |
%</ignore> |
| 107 |
% |
| 108 |
%<*install> |
| 109 |
\input docstrip.tex |
| 110 |
\Msg{************************************************************************} |
| 111 |
\Msg{* Installation} |
| 112 |
\Msg{* Package: aeskwadraat 2025/06/13 v1.0.1} |
| 113 |
\Msg{************************************************************************} |
| 114 |
|
| 115 |
\keepsilent |
| 116 |
\askforoverwritefalse |
| 117 |
|
| 118 |
\preamble |
| 119 |
|
| 120 |
Copyright (c) 2024- TeXniCie A-Eskwadraat (voorheen HekTeX) <[email protected]> |
| 121 |
|
| 122 |
This program is free software: you can redistribute it and/or modify |
| 123 |
it under the terms of the GNU General Public License as published by |
| 124 |
the Free Software Foundation, either version 3 of the License, or |
| 125 |
(at your option) any later version. |
| 126 |
|
| 127 |
This program is distributed in the hope that it will be useful, |
| 128 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 129 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 130 |
GNU General Public License for more details. |
| 131 |
|
| 132 |
You should have received a copy of the GNU General Public License |
| 133 |
along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 134 |
|
| 135 |
The current maintainer of this work is Jesse Sraat. |
| 136 |
|
| 137 |
This work consists of the main file aeskwadraat.dtx |
| 138 |
and the derived files |
| 139 |
aeskwadraat.sty, aes.sty, aeskwadraat.pdf, aeskwadraat.ins, aeskwadraatbrief.cls, aeskwadraatfactuur.sty, aeskwadraatnotulen.cls, |
| 140 |
aeskwadraatnotulen.sty, aeskwadraattaal.sty, beamerthemeaeskwadraat.sty, beamerthemeaes2.sty |
| 141 |
|
| 142 |
If you are looking for comments or documentation, you won't find |
| 143 |
any in the source. These packages make use of literate programming, which means |
| 144 |
that the documentation is given in the form of a pdf file. You can |
| 145 |
probably find aeskwadraat.pdf in this folder, by running "texdoc --view aeskwadraat" |
| 146 |
in the command line, or Googling |
| 147 |
"[your distribution] how to find package documentation". |
| 148 |
If you're using MiKTeX, open MiKTeX console, go to |
| 149 |
"Documentation" and look for "aeskwadraat". |
| 150 |
If you're still unsure, contact the TeXniCie at <[email protected]> |
| 151 |
|
| 152 |
\endpreamble |
| 153 |
|
| 154 |
\usedir{tex/latex/aeskwadraat} |
| 155 |
\generate{ |
| 156 |
\file{aeskwadraat.sty}{\from{\jobname.dtx}{master}} |
| 157 |
\file{aes.sty}{\from{\jobname.dtx}{masterdeprecated}} |
| 158 |
\file{aeskwadraatnotulen.sty}{\from{\jobname.dtx}{notulen}} |
| 159 |
\file{aeskwadraatnotulen.cls}{\from{\jobname.dtx}{notulencls}} |
| 160 |
\file{beamerthemeaeskwadraat.sty}{\from{\jobname.dtx}{beamer}} |
| 161 |
\file{beamerthemeaes2.sty}{\from{\jobname.dtx}{beamerdeprecated}} |
| 162 |
\file{aeskwadraatfactuur.sty}{\from{\jobname.dtx}{factuur}} |
| 163 |
\file{aeskwadraatbrief.cls}{\from{\jobname.dtx}{brief}} |
| 164 |
\file{aeskwadraattaal.sty}{\from{\jobname.dtx}{taal}} |
| 165 |
} |
| 166 |
|
| 167 |
\obeyspaces |
| 168 |
\Msg{************************************************************************} |
| 169 |
\Msg{*} |
| 170 |
\Msg{* To finish the installation you have to move the following} |
| 171 |
\Msg{* files and folders into a directory searched by TeX:} |
| 172 |
\Msg{*} |
| 173 |
\Msg{* logos/} |
| 174 |
\Msg{* aeskwadraat.sty} |
| 175 |
\Msg{* aeskwadraatbrief.cls} |
| 176 |
\Msg{* aeskwadraatfactuur.sty} |
| 177 |
\Msg{* aeskwadraatnotulen.cls} |
| 178 |
\Msg{* aeskwadraatnotulen.sty} |
| 179 |
\Msg{* aeskwadraattaal.sty} |
| 180 |
\Msg{* beamerthemeaeskwadraat.sty} |
| 181 |
\Msg{* beamerthemeaes2.sty} |
| 182 |
\Msg{*} |
| 183 |
\Msg{* To produce the documentation run the file `aeskwadraat.dtx'} |
| 184 |
\Msg{* through pdfLaTeX.} |
| 185 |
\Msg{*} |
| 186 |
\Msg{* Happy TeXing!} |
| 187 |
\Msg{*} |
| 188 |
\Msg{************************************************************************} |
| 189 |
|
| 190 |
%</install> |
| 191 |
%<install>\endbatchfile |
| 192 |
% |
| 193 |
%<*ignore> |
| 194 |
\usedir{source/latex/aeskwadraat} |
| 195 |
\generate{ |
| 196 |
\file{\jobname.ins}{\from{\jobname.dtx}{install}} |
| 197 |
} |
| 198 |
|
| 199 |
\nopreamble\nopostamble |
| 200 |
\usedir{doc/latex/aeskwadraat} |
| 201 |
\generate{ |
| 202 |
\file{README.md}{\from{\jobname.dtx}{readme}} |
| 203 |
} |
| 204 |
|
| 205 |
\ifx\fmtname\plainTeXstring |
| 206 |
\expandafter\endbatchfile |
| 207 |
\else |
| 208 |
\expandafter\endgroup |
| 209 |
\fi |
| 210 |
%</ignore> |
| 211 |
|
| 212 |
%<*driver> |
| 213 |
\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 214 |
\documentclass{ltxdoc} |
| 215 |
\usepackage{aeskwadraat} |
| 216 |
\usepackage[english]{aeskwadraatnotulen} |
| 217 |
\usepackage{aeskwadraatfactuur} |
| 218 |
\usepackage[english]{babel} |
| 219 |
\usepackage[final, |
| 220 |
hyperindex=false, |
| 221 |
colorlinks, |
| 222 |
]{hyperref} |
| 223 |
\usepackage{hologo} |
| 224 |
\usepackage{array} |
| 225 |
\usepackage{tabularx} |
| 226 |
\usepackage[a4paper,top=1in,bottom=1in,left=2in,right=1in]{geometry} |
| 227 |
\renewcommand\tabularxcolumn[1]{m{#1}} |
| 228 |
\EnableCrossrefs |
| 229 |
\CodelineIndex |
| 230 |
\RecordChanges |
| 231 |
\begin{document} |
| 232 |
\DocInput{\jobname.dtx} |
| 233 |
\end{document} |
| 234 |
%</driver> |
| 235 |
% \fi |
| 236 |
% |
| 237 |
% \GetFileInfo{\jobname.sty} |
| 238 |
% |
| 239 |
% \DoNotIndex{\begin,\end,\begingroup,\endgroup,\csname,\endcsname,\ifcsname,\if,\ifdim,\else,\IfFileExists,\IfValueTF,\fi} |
| 240 |
% \DoNotIndex{\@,\-,\box,\copy,\def,\dots,\emph,\epsfig,\font} |
| 241 |
% \DoNotIndex{\framebox,\hbox,\hfill,\hspace,\includegraphics} |
| 242 |
% \DoNotIndex{\kern,\let,\linethickness,\lower,\magstep,\mathcal} |
| 243 |
% \DoNotIndex{\mbox,\newcommand,\normalfont,\officialeuro,\parbox} |
| 244 |
% \DoNotIndex{\put,\raise,\raisebox,\raiselength,\relax,\RequirePackage} |
| 245 |
% \DoNotIndex{\rule,\sc,\setbox,\setlength,\sl,\sqrt,\textrm} |
| 246 |
% \DoNotIndex{\textsf,\tmpfont,\typeout,\unitlength,\wd,\xspace} |
| 247 |
% \DoNotIndex{\",\%,\',\(,\),\,,\@@,\@alph,\@arabic,\@author} |
| 248 |
% \DoNotIndex{\@auxout,\@datem,\@dottedtocline,\@ifequal} |
| 249 |
% \DoNotIndex{\@ifundefined,\@maketitle,\@minus,\@mkboth} |
| 250 |
% \DoNotIndex{\@plus,\@startsection,\@starttoc,\@title} |
| 251 |
% \DoNotIndex{\\,\ ,\addcontentsline,\addtocontents} |
| 252 |
% \DoNotIndex{\addtocounter,\advance,\ap@,\AtBeginDocument} |
| 253 |
% \DoNotIndex{\AtEndDocument,\beamer@@pause} |
| 254 |
% \DoNotIndex{\beamer@framestartpage,\beamer@ifempty} |
| 255 |
% \DoNotIndex{\beamer@notesactions,\beamer@writeslidentry} |
| 256 |
% \DoNotIndex{\beamer@writeslidentry@miniframesoff} |
| 257 |
% \DoNotIndex{\beamer@writeslidentry@miniframeson} |
| 258 |
% \DoNotIndex{\bfseries,\bigskip,\boolean,\centering} |
| 259 |
% \DoNotIndex{\cfoot,\chead,\clearpage,\color,\contentsline} |
| 260 |
% \DoNotIndex{\cs,\CurrentOption,\date,\DeclareDocumentCommand} |
| 261 |
% \DoNotIndex{\DeclareOption,\defbeamertemplate,\definecolor} |
| 262 |
% \DoNotIndex{\defs,\documentclass,\dotfill,\edef,\equal} |
| 263 |
% \DoNotIndex{\evensidemargin,\expandafter,\ExplSyntaxOn} |
| 264 |
% \DoNotIndex{\ExplSyntaxOff,\familydefault,\fboxsep} |
| 265 |
% \DoNotIndex{\fontsize,\footnote,\footnotesize,\footrulewidth} |
| 266 |
% \DoNotIndex{\footskip,\fp,\g,\gdef,\global,\headcommand} |
| 267 |
% \DoNotIndex{\headheight,\headrulewidth,\headsep,\hline} |
| 268 |
% \DoNotIndex{\hoffset,\if@filesw,\if@twoside,\ifblank} |
| 269 |
% \DoNotIndex{\IfBooleanF,\ifmeasuring@,\ifnum,\ifthenelse} |
| 270 |
% \DoNotIndex{\ifx,\immediate,\int,\isundefined,\itemsep} |
| 271 |
% \DoNotIndex{\itshape,\kladd,\languagename,\LARGE,\Large} |
| 272 |
% \DoNotIndex{\large,\leavevmode,\lengthtest,\lfoot,\lhead} |
| 273 |
% \DoNotIndex{\lineskip,\linewidth,\LoadClass,\maketitle} |
| 274 |
% \DoNotIndex{\MakeUppercase,\maxof,\medskip,\MessageBreak} |
| 275 |
% \DoNotIndex{\multilinenumbers,\multicolumn,\multiply} |
| 276 |
% \DoNotIndex{\nameshape,\NeedsTeXFormat,\newboolean} |
| 277 |
% \DoNotIndex{\newcounter,\NewDocumentCommand} |
| 278 |
% \DoNotIndex{\NewDocumentEnvironment,\newenvironment} |
| 279 |
% \DoNotIndex{\newgeometry,\newif,\newlength,\newline} |
| 280 |
% \DoNotIndex{\newpage,\next@@,\node,\noexpand,\noindent} |
| 281 |
% \DoNotIndex{\noitemsep,\normalsize,\null,\oddsidemargin} |
| 282 |
% \DoNotIndex{\onslide,\PackageError,\PackageWarning} |
| 283 |
% \DoNotIndex{\pagenumbering,\pagestyle,\paperwidth,\par} |
| 284 |
% \DoNotIndex{\paragraph,\parindent,\parskip,\PassOptionsToClass} |
| 285 |
% \DoNotIndex{\PassOptionsToPackage,\pgfdeclarehorizontalshading} |
| 286 |
% \DoNotIndex{\pgfdeclarimage,\pgfuseimage,\pgfuseshading} |
| 287 |
% \DoNotIndex{\ProcessOptions,\protect,\ProvidesClass} |
| 288 |
% \DoNotIndex{\ProvidesPackage,\renewcommand,\renewrobustcmd} |
| 289 |
% \DoNotIndex{\rfoot,\rhead,\section,\selectfont,\setbeamercolor} |
| 290 |
% \DoNotIndex{\setbeamertemplate,\setboolean,\setcounter} |
| 291 |
% \DoNotIndex{\sfdefault,\slshape,\space,\stepcounter,\string} |
| 292 |
% \DoNotIndex{\subparagraph,\subsection,\subsubsection} |
| 293 |
% \DoNotIndex{\TeX,\textbf,\textheight,\textsc,\textwidth} |
| 294 |
% \DoNotIndex{\thanks,\the,\thepage,\title,\tl,\today} |
| 295 |
% \DoNotIndex{\topmargin,\unless,\useinnertheme,\usetheme} |
| 296 |
% \DoNotIndex{\value,\voffset,\vskip,\vspace,\whiledo,\write} |
| 297 |
% \DoNotIndex{\z@,\@date,\@writefile,\@evenfoot,\@evenhead} |
| 298 |
% \DoNotIndex{\@oddfoot,\@oddhead,\`,\and,\baselineskip} |
| 299 |
% \DoNotIndex{\bfdefault,\bullet,\cleanup,\ExecuteOptions} |
| 300 |
% \DoNotIndex{\ifpdftex,\insertframenumber,\inserttotalframenumbder} |
| 301 |
% \DoNotIndex{\itdefault,\item,\itemindent,\items,\labelsep} |
| 302 |
% \DoNotIndex{\labelwidth,\leftmargin,\listparindent,\maketitle} |
| 303 |
% \DoNotIndex{\modulolinenumbers,\newsavebox,\parsep,\rmdefault} |
| 304 |
% \DoNotIndex{\savebox,\scdefault,\seriesdefault,\setmainfont} |
| 305 |
% \DoNotIndex{\setmonofont,\setsansfont,\sffamily,\shapedefault} |
| 306 |
% \DoNotIndex{\sldefault,\smash,\spaceskip,\thispagestyle} |
| 307 |
% \DoNotIndex{\tikz,\topsep,\ttdefault,\updefault,\vphantom} |
| 308 |
% \DoNotIndex{\xspaceskip,\fill,\hfuzz,\Huge,\insertauthor} |
| 309 |
% \DoNotIndex{\insertinstitute,\insertsectionhead,\insertsubsectionhead} |
| 310 |
% \DoNotIndex{\insertsubtitle,\inserttitle,\inserttitlegraphic} |
| 311 |
% \DoNotIndex{\inserttotalframenumber,\logo,\mddefault,\pgfdeclareimage} |
| 312 |
% \DoNotIndex{\provideboolean,\ps@footer,\raggedright,\randuck} |
| 313 |
% \DoNotIndex{\rightmargin,\rightskip,\scantokens,\scriptsize} |
| 314 |
% \DoNotIndex{\subject,\textcolor,\vfuzz} |
| 315 |
% \DoNotIndex{\TAALannuleringsvoorwaardentext,\TAALbetalingsvoorwaardentext} |
| 316 |
% \DoNotIndex{\aeskwadraattaal@babelselectlanguage} |
| 317 |
% |
| 318 |
% \title{^^A |
| 319 |
% The \textsf{aeskwadraat} package collection\thanks{^^A |
| 320 |
% Version \fileversion, last revised \filedate.^^A |
| 321 |
% }^^A |
| 322 |
% }^^A |
| 323 |
% \author{^^A |
| 324 |
% Jesse Straat (\TeXniCie, [email protected])^^A |
| 325 |
% } |
| 326 |
% \date{\filedate} |
| 327 |
% |
| 328 |
% \maketitle |
| 329 |
% |
| 330 |
% \begin{abstract} |
| 331 |
% \noindent This is a collection of packages used by the |
| 332 |
% \aesnaam{} study association at Utrecht University. |
| 333 |
% \end{abstract} |
| 334 |
% |
| 335 |
% \tableofcontents |
| 336 |
% |
| 337 |
% \changes{v1.0}{2024/08/24}{First release as dtx file} |
| 338 |
% \changes{v1.0.1}{2024/08/24}{README was given introduction} |
| 339 |
% \changes{v1.0.1}{2024/12/02}{Changed file names to all start with ``aeskwadraat''} |
| 340 |
% |
| 341 |
% |
| 342 |
% \StopEventually{^^A |
| 343 |
% \clearpage |
| 344 |
% \PrintChanges |
| 345 |
% \PrintIndex |
| 346 |
%} |
| 347 |
% |
| 348 |
% |
| 349 |
% |
| 350 |
% |
| 351 |
% \section{The package catalogue} |
| 352 |
% There is a large number of \aesnaam{} \LaTeX{} packages |
| 353 |
% that have been written over the years. Only a selection of |
| 354 |
% them have made it to this collection. Below you can find a short |
| 355 |
% summary of all packages provided. |
| 356 |
% \begin{center} |
| 357 |
% \begin{tabularx}{\textwidth}{| c | X |}\hline |
| 358 |
% \textbf{Package name} & \textbf{Summary}\\\hline |
| 359 |
% \textsf{aeskwadraat.sty} & Master package, providing useful macros\\\hline |
| 360 |
% \textsf{aeskwadraatnotulen.sty} & Package for generating meeting notes\\\hline |
| 361 |
% \textsf{aeskwadraatnotulen.cls} & Class that imports \textsf{aeskwadraatnotulen.sty} and makes the document pretty\\\hline |
| 362 |
% \textsf{beamerthemeaeskwadraat.sty} & Document theme for beamer\\\hline |
| 363 |
% \textsf{aeskwadraatfactuur.sty} & Package that adds invoices (with \textsf{aeskwadraatbrief.cls} support)\\\hline |
| 364 |
% \textsf{aeskwadraatbrief.cls} & Class for writing letters\\\hline |
| 365 |
% \textsf{aeskwadraattaal.sty} & Auxiliary package for language support\\\hline |
| 366 |
% \end{tabularx} |
| 367 |
% \end{center} |
| 368 |
% |
| 369 |
% \subsection{Project contributors} |
| 370 |
% The following persons have made significant contributions to the \aesnaam{} |
| 371 |
% \LaTeX{} collection: |
| 372 |
% \begin{itemize} |
| 373 |
% \item Roelof Ruules, 1995 -- 1996 |
| 374 |
% \item Jeroen Hoekstra, 1995 -- 1996 |
| 375 |
% \item Jeroen van Dijk, 1995 -- 1996 |
| 376 |
% \item Frank van Lankvelt, -- 2000 |
| 377 |
% \item Arthur van Dam, -- 2001 |
| 378 |
% \item Henk Bearda, 2000 -- 2002 |
| 379 |
% \item Bas Zoetekouw, -- 2002 |
| 380 |
% \item Theo van den Bogaart, -- 2003 |
| 381 |
% \item Jan Jitse Venselaar, 2002 -- 2008 |
| 382 |
% \item Roland Vaandrager, 2005 -- 2008 |
| 383 |
% \item Sweitse van Leeuwen, 2005 -- 2008 |
| 384 |
% \item Jeroen Leeuwestein, 2007 -- 2009 |
| 385 |
% \item Bas van Schaik, 2009 |
| 386 |
% \item Jesse Straat, 2024 |
| 387 |
% \end{itemize} |
| 388 |
% |
| 389 |
% And probably many others\dots |
| 390 |
% |
| 391 |
% |
| 392 |
% |
| 393 |
% |
| 394 |
% \section{Package \textsf{aeskwadraat}} |
| 395 |
% \changes{v1.0.1}{2024/08/28}{Changed name from \textsf{aes} to \textsf{aeskwadraat}} |
| 396 |
% \textsf{aeskwadraat} is the master package of this library. |
| 397 |
% It defines several important macros to be used in many |
| 398 |
% other packages. In particular, it defines logos and typesets |
| 399 |
% committee names.\par |
| 400 |
% The \aesnaam{} name and logo are both provided as macros. The |
| 401 |
% name is generated by \DescribeMacro{\aesnaam} |\aesnaam{}|. |
| 402 |
% This is done to ensure that potential linebreaks happen in places that are grammatically |
| 403 |
% correct. Furthermore, the argument can be used to make compounds. For example, |
| 404 |
% |\aesnaam{}| outputs \aesnaam{}, while |\aesnaam{kamer}| outputs \aesnaam{kamer}.\par |
| 405 |
% Of course, the dash in \aesnaam{} is the ``en dash'' or ``half kastlijntje''. This dash |
| 406 |
% is used to denote ranges, and since the ``A--E'' signifies a range, ``A tot E'', it should |
| 407 |
% be treated to an en dash. To replicate this in \LaTeX{}, use two dashes like so: |--|.\par |
| 408 |
% On logos, our name is typeset using blocks. The blocks can be created |
| 409 |
% using \DescribeMacro{\blokjes} |\blokjes{fontsize}|, where |fontsize| should be replaced by the desired font size. |
| 410 |
% For example, |\blokjes{2pt}| returns \blokjes{2pt} and |\blokjes{1em}| returns \blokjes{1em}.\par |
| 411 |
% To add our association's description to the right side, use either \DescribeMacro{\aes} |\aes| for the Dutch |
| 412 |
% version or \DescribeMacro{\eaes} |\eaes| for the English version.\\ |
| 413 |
% \aes\\ |
| 414 |
% \eaes\par |
| 415 |
% \vspace{1em} |
| 416 |
% Our full logo is created using \DescribeMacro{\aeslogo} |\aeslogo[width]|, e.g., |\aeslogo| |
| 417 |
% returns \aeslogo. The width is optional, \(20\) mm by default. If you prefer a black-white logo, you can use |
| 418 |
% \DescribeMacro{\aeslogogrijs} |\aeslogogrijs[width]|.\par |
| 419 |
% \DescribeMacro{\axicie}\DescribeMacro{\BBCie}\DescribeMacro{\aesroots}\DescribeMacro{\TeXniCie}\DescribeMacro{\btw}\DescribeMacro{\TbC} |
| 420 |
% Here follows a table of logos and typeset names used for different committees. |
| 421 |
% \begin{center}\begin{tabular}{| c | c |}\hline |
| 422 |
% |\axicie| & \axicie\\\hline |
| 423 |
% |\BBCie| or |\bbcie| & \BBCie\\\hline |
| 424 |
% |\aesroots| or |\aeskwadraatroots| & \aesroots\\\hline |
| 425 |
% |\TeXniCie| or |\texnicie| or |\hektex| & \TeXniCie\\\hline |
| 426 |
% |\btw| & \btw\\\hline |
| 427 |
% |\TbC| or |\tbc| & \TbC\\\hline |
| 428 |
% \end{tabular}\end{center} |
| 429 |
% We've defined a macro for inputting euros. It's \DescribeMacro{\euro}|\euro|: \euro. Surprise. |
| 430 |
% Since the package was written, \LaTeX{} has added out-of-the-box support for the euro: €. |
| 431 |
% But this looks bad, so we use |\euro|. The macro is implemented using \textsf{eurosym}. |
| 432 |
% |
| 433 |
% |
| 434 |
% |
| 435 |
% |
| 436 |
% \section{Package \textsf{aeskwadraatnotulen}} |
| 437 |
% To write meeting notes, \aesnaam{} members use |
| 438 |
% the \textsf{aeskwadraatnotulen} package. It is available |
| 439 |
% both as a package and as a class, which also provides |
| 440 |
% some visual improvements, such as a header, a nicer font |
| 441 |
% and a title command that includes people's presence.\par |
| 442 |
% By default, |aeskwadraatnotulen| is in Dutch. To instead use |
| 443 |
% the English version, use the |english| option.\par |
| 444 |
% The primary functionality of this package is to provide |
| 445 |
% macros which take note of important conclusions of the |
| 446 |
% meeting and output them into a list at the end of the document.\par |
| 447 |
% The list also contains hyperlinks to the place where |
| 448 |
% the macro is used.\par |
| 449 |
% By default, the lists also appear in a table of contents. |
| 450 |
% However, if starred, they will not.\par |
| 451 |
% Due to the implementation, it is impossible to generate |
| 452 |
% the same list twice. This is a bug and should be fixed |
| 453 |
% in a future version.\par |
| 454 |
% The first of these macros is \DescribeMacro{\besluit} |\besluit|, |
| 455 |
% which is used for decisions. For example, |\besluit{Foo.}| outputs |
| 456 |
% \besluit{Foo.} To generate the list of all decisions, use |
| 457 |
% \DescribeMacro{\besluitenlijst} |\besluitenlijst|:\besluitenlijst* |
| 458 |
% Similarly, we have the macro \DescribeMacro{\advies} |\advies| |
| 459 |
% for advices. |\advies{Foo.}| outputs \advies{Foo.} The list is |
| 460 |
% generated by |\adviezenlijst|: \adviezenlijst* |
| 461 |
% The macro for information that should be forwarded |
| 462 |
% to the board is \DescribeMacro{\ahb} |\ahb|, where |
| 463 |
% |\ahb{Foo.}| gives \ahb{Foo.} The associated list |
| 464 |
% is |\aanhetbestuur|:\aanhetbestuur* |
| 465 |
% For advice for the advisory board, use \DescribeMacro{\aar}. |
| 466 |
% |\aar{Foo.}| outputs \aar{Foo.} The corresponding list is |
| 467 |
% \DescribeMacro{\aanadviesraad} |\aanadviesraad|:\aanadviesraad* |
| 468 |
% A special macro is \DescribeMacro{\ap} |\ap|, which |
| 469 |
% is used for tasks. Its syntax is |\ap{name}{task}|. |
| 470 |
% For example, |\ap{Baz}{Foo.}| returns \ap{Baz}{Foo.} |
| 471 |
% It is possible to define macros for names using |
| 472 |
% \DescribeMacro{\korteapnaam} |\korteapnaam{macro}{name}|. |
| 473 |
% For example, |\korteapnaam{Baz}{Foobarbaz}| makes |\Baz| output |
| 474 |
% \korteapnaam{Baz}{Foobarbaz}\Baz. It shines when used |
| 475 |
% for people with long names, but is useful in all cases. |
| 476 |
% We can now use this macro to give \Baz a task: |
| 477 |
% |\ap{\Baz}{Change your name.}| returns |
| 478 |
% \ap{\Baz}{Change your name.} |
| 479 |
% There are two lists produced for tasks, \DescribeMacro{\aplijst} |
| 480 |
% |\aplijst|, which provides a simple list, and \DescribeMacro{\aplijstpp} |
| 481 |
% |\aplijstpp|, which lists tasks per person. Due to the |
| 482 |
% aforementioned impossibility of using two of the same |
| 483 |
% type of list, the two commands are incompatible. This |
| 484 |
% also means we sadly cannot showcase both in this document. |
| 485 |
% |\aplijstpp| produces \aplijstpp* |
| 486 |
% Another key functionality is being able to keep track |
| 487 |
% of the attendance of the meeting. To mark a collection |
| 488 |
% of names as present, use \DescribeMacro{\aanwezig} |
| 489 |
% |\aanwezig{naam1, naam2}|\aanwezig{naam1, naam2}. To |
| 490 |
% mark names as absent, use \DescribeMacro{\afwezig} |
| 491 |
% |\afwezig{naam3, naam4}|\afwezig{naam3, naam4}. You |
| 492 |
% can then output the list of present and absent people |
| 493 |
% using \DescribeMacro{\naamzet} |\naamzet|:\\ |
| 494 |
% \naamzet\\ |
| 495 |
% If the \textsf{aeskwadraatnotulen} class is loaded, |
| 496 |
% presence of names is also added to the |\maketitle|.\par |
| 497 |
% As for some miscellaneous macros, \DescribeMacro{\wvttk} |
| 498 |
% |\wvttk| returns \wvttk. \DescribeMacro{\opm} |\opm{comment}| |
| 499 |
% can be used to create a comment: \opm{comment}. |
| 500 |
% \DescribeMacro{\noitemsep} |\noitemsep| is used to remove |
| 501 |
% vertical spacing between items in lists, like |itemize| |
| 502 |
% or |enumerate|. For optimal usage, using it within |
| 503 |
% a |\begingroup ... \endgroup| does not influence any |
| 504 |
% lists outside the group. \DescribeMacro{\EUR} |\EUR{Foo}| |
| 505 |
% is used to generate a euro symbol \EUR{Foo}. |
| 506 |
% |
| 507 |
% |
| 508 |
% |
| 509 |
% |
| 510 |
% \section{Beamertheme \textsf{aeskwadraat}} |
| 511 |
% The |beamerthemeaeskwadraat.sty| file is used to generate |
| 512 |
% a beamer theme. To import it, use |\usetheme{aeskwadraat}| |
| 513 |
% in a beamer presentation.\par |
| 514 |
% By default, the theme uses an \aesnaam{} theme, with |
| 515 |
% red colours and the \aesnaam{} logo. To change this, |
| 516 |
% it is possible to set the colour using \DescribeMacro{\setstylecolor} |
| 517 |
% |\setstylecolor{R,G,B}|, with |R|, |G|, |B| values between |
| 518 |
% 0 and 255. Furthermore, using \DescribeMacro{\setlogo} |
| 519 |
% |\setlogo{file}|, you can use your own logo, which is |
| 520 |
% automatically made a little transparent. By leaving |file| |
| 521 |
% blank, no logo will be used.\par |
| 522 |
% If one wishes to use a Utrecht University theme, with |
| 523 |
% yellow colours and the Utrecht University logo, use |
| 524 |
% the |uu| option while loading the theme. Keep in mind |
| 525 |
% that the Utrecht University logo may only be used by |
| 526 |
% affiliates to the university (see README file). Due to |
| 527 |
% copyright reasons, your distributor may have excluded |
| 528 |
% the logo, producing a warning. To fix it, go to |
| 529 |
% \url{https://www.uu.nl/en/organisation/corporate-identity/guidelines/logo} |
| 530 |
% and download the logos with white background the file. |
| 531 |
% Rename the file |UU_logo_2021_EN_BLACK.jpg| to |
| 532 |
% |aeskwadraat_uulogo.jpg| and moved to a folder where |
| 533 |
% \LaTeX{} can find it (so either the project itself |
| 534 |
% or the |/logos/| folder of this package).\par |
| 535 |
% The theme provides a progress bar on the bottom of |
| 536 |
% the presentation. To get rid of this, use the |
| 537 |
% |noprogress| option. To add a gradient at the end, |
| 538 |
% as in the older version of the theme, use the option |
| 539 |
% |gradient|. Do note that the gradient causes some |
| 540 |
% visual bugs, depending on your pdf reader.\par |
| 541 |
% To exclude a group of slide from the progress blocks on top |
| 542 |
% of the presentation, use \DescribeMacro{\miniframesoff} |\miniframesoff|. |
| 543 |
% To reinclude them, use \DescribeMacro{\miniframeson} |\miniframeson|.\par |
| 544 |
% By default, the theme loads a ``modernised'' layout, |
| 545 |
% which is different from the famous Frankfurt theme. |
| 546 |
% It also includes section and subsection frames. To |
| 547 |
% go back to the original layout, use the |legacy| option.\par |
| 548 |
% Finally, there's the most important feature: use \DescribeMacro{\questionframe} |
| 549 |
% to produce a questions frame with a randomised duck on it.\par |
| 550 |
% It is possible to set a |\title|, |\subtitle|, |\author| and |\institute| |
| 551 |
% on the title page. Both layouts deal with these in their |
| 552 |
% own way. |
| 553 |
% |
| 554 |
% |
| 555 |
% |
| 556 |
% |
| 557 |
% \section{Package \textsf{aeskwadraatfactuur}} |
| 558 |
% \textsf{aeskwadraatfactuur.sty} allows the user to generate |
| 559 |
% invoices. It is mainly used by the SpoCie committee.\par |
| 560 |
% As part of this full release, this package was rewritten |
| 561 |
% entirely to work with \hologo{LaTeX3}. Since regular |
| 562 |
% \LaTeX2e does not support floating points, the original |
| 563 |
% implementation relied on many workarounds, and sported |
| 564 |
% several (significant) bugs. This does, however, mean |
| 565 |
% that the new implementation is less readable for the |
| 566 |
% unexperienced user.\par |
| 567 |
% \textsf{aeskwadraatfactuur.sty} also supports \textsf{aeskwadraatbrief.cls} |
| 568 |
% through the |factuurbrief| environment, which automatically |
| 569 |
% generates an accompanying letter.\par |
| 570 |
% To get started, use the \DescribeEnv{factuur} |factuur| environment, |
| 571 |
% from which we can start adding items. For example, to |
| 572 |
% add an item with a fixed amount, use \DescribeMacro{\post} |
| 573 |
% |\post{item}{value}|, and to add a percentage of the total, |
| 574 |
% use \DescribeMacro{\procent} |\procent{item}{percentage}|. To display the subtotal, use |
| 575 |
% \DescribeMacro{\subtotaal} |\subtotaal|. For example, |
| 576 |
% \begin{verbatim} |
| 577 |
%\begin{factuur} |
| 578 |
% \post{A lot of money}{12345.67} |
| 579 |
% \subtotaal |
| 580 |
% \procent{BTW}{21} |
| 581 |
% \procent{Interest}{0.06} |
| 582 |
%\end{factuur} |
| 583 |
% \end{verbatim} |
| 584 |
% produces\par |
| 585 |
% \begin{factuur} |
| 586 |
% \post{A lot of money}{12345.67} |
| 587 |
% \subtotaal |
| 588 |
% \procent{BTW}{21} |
| 589 |
% \procent{Interest}{0.06} |
| 590 |
% \end{factuur}\par |
| 591 |
% Note that thousands are automatically split using a |
| 592 |
% comma, and decimals are rounded to the nearest cent. |
| 593 |
% If \textsf{aeskwadraattaal.sty} is used to change the language |
| 594 |
% to Dutch, the comma and period swap places (as expected |
| 595 |
% in Dutch).\par |
| 596 |
% If desired, the currency can be changed to a different |
| 597 |
% one by using \DescribeMacro{\valuta} |\valuta{currency}|. |
| 598 |
% For example, the pound can be achieved by |\valuta{£}|. |
| 599 |
% Do remember to use |\$|, instead of |$|, to produce a |
| 600 |
% dollar symbol.\par |
| 601 |
% If \DescribeMacro{\meerPaginas} |\meerpaginas| is used |
| 602 |
% before the |factuur|, the invoice will automatically |
| 603 |
% split across pages. When the page is broken, a short comment |
| 604 |
% will appear to warn the reader about the next pages. It is |
| 605 |
% also possible to manually break the page using \DescribeMacro{\nieuwePagina} |
| 606 |
% |\nieuwePagina|.\par |
| 607 |
% If \textsf{aeskwadraatbrief.cls} is loaded, some additional |
| 608 |
% functionalities are available. \DescribeMacro{\ovv} |\ovv{reference}| |
| 609 |
% sets the reference of the invoice. \DescribeMacro{\herinnering} |
| 610 |
% |\herinnering| makes the invoice a reminder, while \DescribeMacro{\aanmaning} |
| 611 |
% |\aanmaning| makes an \textit{assertive} reminder. By using |
| 612 |
% \DescribeMacro{\factuurtitel} |\factuurtitel{title}|, one may |
| 613 |
% set the title of the letter. By then replacing the |
| 614 |
% |factuur| environment with \DescribeEnv{factuurbrief} |
| 615 |
% |factuurbrief|, a letter is generated. The environment takes a single argument: |
| 616 |
% the recipient's address. |
| 617 |
% |
| 618 |
% |
| 619 |
% |
| 620 |
% |
| 621 |
% \section{Class \textsf{aeskwadraatbrief}} |
| 622 |
% The \textsf{aeskwadraatbrief} class generates various letters |
| 623 |
% used by \aesnaam{}. It automatically changes some |
| 624 |
% visuals, such as the margins, and selects a font |
| 625 |
% (for both \hologo{pdfLaTeX} and \hologo{LuaLaTeX}/\hologo{XeLaTeX}).\par |
| 626 |
% To start writing a letter, the environment \DescribeEnv{brief} |brief| |
| 627 |
% should be used. The environment takes a single argument: |
| 628 |
% the recipient's address.\par |
| 629 |
% The letter requires some parameters. The first is |
| 630 |
% \DescribeMacro{\afzendernaam} |\afzendernaam{sender}|, which |
| 631 |
% sets the sender. By default, it is \aesnaam{}. \DescribeMacro{\cienaam} |
| 632 |
% |\cienaam{committee}| sets the committee that was in |
| 633 |
% charge of sending the letter.\par |
| 634 |
% \DescribeMacro{\uwk} |\uwk{reference}| and \DescribeMacro{\onsk} |\onsk{reference}| |
| 635 |
% are used to add references for invoice letters (to be |
| 636 |
% used with \textsf{aeskwadraatfactuur}).\par |
| 637 |
% To add a list of attachments, \DescribeMacro{\bijlagen} |
| 638 |
% |\bijlagen{attachments}| is to be used. The list of |
| 639 |
% of attachments should be separated by |\item|s; |
| 640 |
% otherwise, the whole argument is treated as a single |
| 641 |
% attachment.\par |
| 642 |
% \DescribeMacro{\opening} |\opening{text}| creates an opening |
| 643 |
% paragraph, together with the letter header. If, instead, |
| 644 |
% one wants the header without an opening paragraph, |
| 645 |
% \DescribeMacro{\geenopening} |\geenopening| is to be used.\par |
| 646 |
% To add a signature to the letter, \DescribeMacro{\signature} |
| 647 |
% |\signature{signature}| should be used. It is typeset |
| 648 |
% by using \DescribeMacro{\closing} |\closing|. |
| 649 |
% |
| 650 |
% |
| 651 |
% |
| 652 |
% |
| 653 |
% \section{Package \textsf{aeskwadraattaal}} |
| 654 |
% The \textsf{aeskwadraattaal} package provides (mostly) |
| 655 |
% simple internal macros. So by its nature, any |
| 656 |
% decent documentation should include almost the entire |
| 657 |
% source code. Please refer to the source code if you |
| 658 |
% would like to learn more. |
| 659 |
% |
| 660 |
% |
| 661 |
% |
| 662 |
% |
| 663 |
% \clearpage |
| 664 |
% \section{Source code} |
| 665 |
% This section contains the source code of the library. |
| 666 |
% It contains some explaining descriptions, allowing for |
| 667 |
% \href{https://https://en.wikipedia.org/wiki/Literate_programming}{literate programming}. |
| 668 |
% This is where the documentation for ``regular people'' ends. |
| 669 |
% \subsection{\textsf{aeskwadraat}} |
| 670 |
% \begin{macrocode} |
| 671 |
%<*master> |
| 672 |
\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 673 |
\ProvidesPackage{aeskwadraat}[2025/06/13 v1.0.1 A-Eskwadraat master package] |
| 674 |
%% Copyright (C) 1995-2015 TeXniCie A-Eskwadraat |
| 675 |
%% <[email protected]> |
| 676 |
% \end{macrocode} |
| 677 |
% Function: This master package is used for other classes.\par |
| 678 |
% We require the 2020/10/01 release of \LaTeXe{} to ensure we |
| 679 |
% have the \textsf{xparse} package preloaded.\par |
| 680 |
% We load some packages |
| 681 |
% \begin{macrocode} |
| 682 |
\RequirePackage{xspace} |
| 683 |
\RequirePackage{graphicx} |
| 684 |
\RequirePackage{epsfig} |
| 685 |
% \end{macrocode} |
| 686 |
% \begin{macro}{\blokjes} |
| 687 |
% \begin{macro}{\aes} |
| 688 |
% \begin{macro}{\eaes} |
| 689 |
% |\blokjes[fontsize]| is used to create our beautiful blocky |
| 690 |
% logo \blokjes{3pt}. |\aes| and |\eaes| append it with a description |
| 691 |
% of our association. |
| 692 |
% \begin{macrocode} |
| 693 |
\newlength{\raiselength} |
| 694 |
\newcommand{\@aesl}[1]{% |
| 695 |
\begin{picture}(5,5) |
| 696 |
\put(0,0.5){\framebox(4.5,4.5)[b]{ |
| 697 |
\raisebox{\raiselength}{{\tmpfont #1}}} |
| 698 |
} |
| 699 |
% the box with letter |
| 700 |
\put(0.5,0){\rule{4.5\unitlength}{0.5\unitlength}} |
| 701 |
\put(4.5,0){\rule{0.5\unitlength}{4.5\unitlength}} |
| 702 |
\end{picture}} |
| 703 |
\NewDocumentCommand{\blokjes}{ m }{% |
| 704 |
\ifdim#1<6pt \setlength{\unitlength}{.5mm} |
| 705 |
\font\tmpfont=cmr5 |
| 706 |
\else \ifdim#1<7pt \setlength{\unitlength}{.6mm} |
| 707 |
\font\tmpfont=cmr6 |
| 708 |
\else \ifdim#1<8pt \setlength{\unitlength}{.7mm} |
| 709 |
\font\tmpfont=cmr7 |
| 710 |
\else \ifdim#1<9pt \setlength{\unitlength}{.8mm} |
| 711 |
\font\tmpfont=cmr8 |
| 712 |
\else \ifdim#1<10pt \setlength{\unitlength}{.9mm} |
| 713 |
\font\tmpfont=cmr9 |
| 714 |
\else \ifdim#1<11pt \setlength{\unitlength}{1mm} |
| 715 |
\font\tmpfont=cmr10 |
| 716 |
\else \ifdim#1<13pt \setlength{\unitlength}{1.2mm} |
| 717 |
\font\tmpfont=cmr12 |
| 718 |
\else \ifdim#1<15pt \setlength{\unitlength}{1.4mm} |
| 719 |
\font\tmpfont=cmr12 scaled \magstep1 |
| 720 |
\else \ifdim#1<18pt \setlength{\unitlength}{1.7mm} |
| 721 |
\font\tmpfont=cmr17 |
| 722 |
\else \ifdim#1<21pt \setlength{\unitlength}{2mm} |
| 723 |
\font\tmpfont=cmr17 scaled \magstep1 |
| 724 |
\else \setlength{\unitlength}{2.4mm} |
| 725 |
\font\tmpfont=cmr17 scaled \magstep2 |
| 726 |
\ifdim#1>24pt |
| 727 |
\typeout{Warning: largest `blokjes' dimension is |
| 728 |
24pt, which I will use right now} |
| 729 |
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi |
| 730 |
\linethickness{.1\unitlength} |
| 731 |
\setlength{\raiselength}{.9\unitlength} |
| 732 |
\begin{minipage}{36\unitlength} |
| 733 |
\begin{picture}(35,11) |
| 734 |
\put(0,6){\@aesl{A}} |
| 735 |
\put(6,6){\@aesl{-}} |
| 736 |
% TODO: check whether this should be an en dash |
| 737 |
\put(12,6){\@aesl{E}} |
| 738 |
\put(18,6){\@aesl{s}} |
| 739 |
\put(24,6){\@aesl{k}} |
| 740 |
\put(30,6){\@aesl{w}} |
| 741 |
% |
| 742 |
\put(0,0){\@aesl{a}} |
| 743 |
\put(6,0){\@aesl{d}} |
| 744 |
\put(12,0){\@aesl{r}} |
| 745 |
\put(18,0){\@aesl{a}} |
| 746 |
\put(24,0){\@aesl{a}} |
| 747 |
\put(30,0){\@aesl{t}} |
| 748 |
\end{picture} |
| 749 |
\end{minipage}} |
| 750 |
\NewDocumentCommand{\aes}{}{\blokjes{10pt}\hfill\parbox{8cm}{% |
| 751 |
Studievereniging voor studenten in de wis-, natuur-, |
| 752 |
sterrenkunde, geofysica en informatica}} |
| 753 |
\NewDocumentCommand{\eaes}{}{\blokjes{10pt}\hfill\parbox{8cm}{% |
| 754 |
Association of students in physics, mathematics, |
| 755 |
computer science, astronomy and geophysics}} |
| 756 |
% FIXME: outdated description |
| 757 |
% TODO: Should "association of students" be "study association"? |
| 758 |
% \end{macrocode} |
| 759 |
% \end{macro} |
| 760 |
% \end{macro} |
| 761 |
% \end{macro} |
| 762 |
% \begin{macro}{\euro} |
| 763 |
% The all-important |\euro|, \euro. |
| 764 |
% \begin{macrocode} |
| 765 |
\RequirePackage{eurosym} |
| 766 |
\let\euro\officialeuro |
| 767 |
% \end{macrocode} |
| 768 |
% \end{macro} |
| 769 |
% \begin{macro}{\aesnaam} |
| 770 |
% |\aesnaam{}| outputs the name of the study association, \aesnaam{}. |
| 771 |
% It can be used to create compounds, such as |\aesnaam{kamer}|, which |
| 772 |
% outputs \aesnaam{kamer}. |
| 773 |
% \begin{macrocode} |
| 774 |
\NewDocumentCommand{\aesnaam}{ m }{% |
| 775 |
\mbox{A--Es}\-kwa\-draat#1\xspace% |
| 776 |
} |
| 777 |
\let\aeskwadraat\aesnaam |
| 778 |
% \end{macrocode} |
| 779 |
% \end{macro} |
| 780 |
% \begin{macro}{\aeslogo} |
| 781 |
% \begin{macro}{\aeslogogrijs} |
| 782 |
% We create a macro for creating the \aesnaam{} logo.\par |
| 783 |
% \aeslogo \aeslogogrijs |
| 784 |
% \begin{macrocode} |
| 785 |
\NewDocumentCommand{\aeslogo}{ O{20mm} }{% |
| 786 |
\includegraphics[width=#1]{logos/aeskwadraat_RGB.pdf}} |
| 787 |
\NewDocumentCommand{\aeslogogrijs}{ O{20mm} }{% |
| 788 |
\includegraphics[width=#1]{logos/aeskwadraat_BW.pdf}} |
| 789 |
% \end{macrocode} |
| 790 |
% \end{macro} |
| 791 |
% \end{macro} |
| 792 |
% \begin{macro}{\axicie}\begin{macro}{\BBCie}\begin{macro}{\aesroots}\begin{macro}{\TeXniCie}\begin{macro}{\btw}\begin{macro}{\TbC} |
| 793 |
% These macros typeset committee names or generate their logos. |
| 794 |
% \begin{macrocode} |
| 795 |
\newcommand\aes@pmb[1]{ |
| 796 |
\setbox0=\hbox{#1}% |
| 797 |
\kern-0.025em\copy0\kern-\wd0 |
| 798 |
\kern0.05em\copy0\kern-\wd0 |
| 799 |
\kern-0.025em\raise0.0433em\box0 } |
| 800 |
\NewDocumentCommand\axicie{}{{\normalfont\sc\aes@pmb{axicie}}} |
| 801 |
\NewDocumentCommand{\BBCie}{ O{12pt} }{% |
| 802 |
\lower2pt\hbox{\epsfig{% |
| 803 |
file=bbclogo,height=#1}}} |
| 804 |
\let\bbcie\BBCie |
| 805 |
% \newcommand{\TbC}{\(\mathcal{T}\)\hspace{-0.45em} |
| 806 |
% \raisebox{-0.5ex}{\(\mathcal{B}\)}\(\mathcal{C}\)} |
| 807 |
\let\tbc\TbC |
| 808 |
\NewDocumentCommand{\aesroots}{}{% |
| 809 |
\mbox{\mbox{\(\textrm{A--Es}^2\)}\hspace{-3pt} |
| 810 |
\mbox{\(\sqrt{\textrm{\emph{roots}}}\)}}\xspace} |
| 811 |
\let\aeskwadraatroots\aesroots |
| 812 |
\NewDocumentCommand{\TeXniCie}{}{% |
| 813 |
\mbox{\textsf{\TeX niCie}}} |
| 814 |
\let\texnicie\TeXniCie |
| 815 |
\let\hektex\TeXniCie |
| 816 |
\NewDocumentCommand{\btw}{}{% |
| 817 |
{\sl``By the way\dots''}} |
| 818 |
\NewDocumentCommand{\TbC}{}{% |
| 819 |
\(\mathcal{T} |
| 820 |
\kern-.45em\lower.5ex\hbox{\(\mathcal{B}\)}% |
| 821 |
\kern-.00em\mathcal{C}\)\@\relax% |
| 822 |
} |
| 823 |
% \end{macrocode} |
| 824 |
% \end{macro}\end{macro}\end{macro}\end{macro}\end{macro}\end{macro} |
| 825 |
% \begin{macrocode} |
| 826 |
%</master> |
| 827 |
% \end{macrocode} |
| 828 |
% We create a package to catch people using the |
| 829 |
% deprecated \textsf{aes.sty}. It loads \textsf{aeskwadraat.sty} |
| 830 |
% and gives a warning. |
| 831 |
% \begin{macrocode} |
| 832 |
%<*masterdeprecated> |
| 833 |
\ProvidesPackage{aes}[2025/06/13 v1.0.1 Deprecated A-Eskwadraat package] |
| 834 |
\PackageWarning{aes}{Package deprecated! Load package "aeskwadraat", instead. |
| 835 |
This package might no longer exist in a future update! |
| 836 |
Loading aeskwadraat...} |
| 837 |
\usepackage{aeskwadraat} |
| 838 |
%</masterdeprecated> |
| 839 |
% \end{macrocode} |
| 840 |
% |
| 841 |
% |
| 842 |
% |
| 843 |
% |
| 844 |
% \subsection{\textsf{aeskwadraatnotulen}} |
| 845 |
% \setcounter{CodelineNo}{0} |
| 846 |
% \begin{macrocode} |
| 847 |
%<*notulen> |
| 848 |
% \end{macrocode} |
| 849 |
% As of the 2021/11/15 version of \LaTeXe{}, |\contentsline| |
| 850 |
% requires a fourth argument, which is used in this package. |
| 851 |
% \begin{macrocode} |
| 852 |
\NeedsTeXFormat{LaTeX2e}[2021/11/15] |
| 853 |
\ProvidesPackage{aeskwadraatnotulen}[2025/06/13 v1.0.1 A-Eskwadraat notulen] |
| 854 |
%% Copyright (C) 2003-2015 TeXniCie A-Eskwadraat |
| 855 |
%% <[email protected]> |
| 856 |
% \end{macrocode} |
| 857 |
% We define an option |english| to make the output of the package English |
| 858 |
% \begin{macrocode} |
| 859 |
\newif\ifeng@art \eng@artfalse |
| 860 |
\DeclareOption{english}{\eng@arttrue} |
| 861 |
\ProcessOptions\relax |
| 862 |
|
| 863 |
\ifeng@art\RequirePackage[english]{babel} |
| 864 |
\else\RequirePackage[dutch]{babel} |
| 865 |
\fi |
| 866 |
% \end{macrocode} |
| 867 |
% \begin{macro}{\ifnotulen@stiekemext} |
| 868 |
% The following if checks whether the \textsf{stiekemext} package |
| 869 |
% is loaded. |
| 870 |
% \begin{macrocode} |
| 871 |
\newif\ifnotulen@stiekemext \notulen@stiekemextfalse |
| 872 |
% \end{macrocode} |
| 873 |
% \end{macro} |
| 874 |
% We import essential packages |
| 875 |
% \begin{macrocode} |
| 876 |
\RequirePackage{aeskwadraat, ifthen, calc} |
| 877 |
% \end{macrocode} |
| 878 |
% We now go on to defining commands which will create a |
| 879 |
% table with all decisions, together with a reference to |
| 880 |
% where they were made.\par |
| 881 |
% We now go on to defining commands which will create a |
| 882 |
% table with all decisions, together with a reference to |
| 883 |
% where they were made.\par |
| 884 |
% \begin{macro}{\besluit} |
| 885 |
% Use |\besluit{decision}| to create a ``decision''.\\ |
| 886 |
% |\besluit{\LaTeX{} rules.}| outputs \besluit{\LaTeX{} rules.}\par |
| 887 |
% \begin{macro}{\besluitenlijst} |
| 888 |
% Use |\besluitenlijst| at the end of your document to |
| 889 |
% create a table of contents for all decisions made. |
| 890 |
% ^^A TODO: Make all of this in a single macro, then generate the commands for other cases |
| 891 |
% \begin{macrocode} |
| 892 |
\ifeng@art\newcommand{\besluitenlijstnaam}{Resolutions} |
| 893 |
\else\newcommand{\besluitenlijstnaam}{Besluitenlijst} |
| 894 |
\fi |
| 895 |
|
| 896 |
|
| 897 |
\newcommand{\besluitenlijstentry}{ |
| 898 |
\addcontentsline{toc}{section}{\besluitenlijstnaam} |
| 899 |
} |
| 900 |
|
| 901 |
\NewDocumentCommand{\besluitenlijst}{ s }{% |
| 902 |
\IfBooleanF{#1}{\besluitenlijstentry} |
| 903 |
\section*{\besluitenlijstnaam |
| 904 |
\@mkboth{\MakeUppercase\besluitenlijstnaam}% |
| 905 |
{\MakeUppercase\besluitenlijstnaam}}% |
| 906 |
\@starttoc{lob}% |
| 907 |
} |
| 908 |
|
| 909 |
\newcommand{\l@besluit}{\@dottedtocline{1}{1.5em}{2.3em}} |
| 910 |
|
| 911 |
|
| 912 |
\newcommand{\besluit}[1]{% |
| 913 |
% We look at level and huidigniveau to decide whether |
| 914 |
% the decision should be in the table of contents |
| 915 |
\ifnotulen@stiekemext |
| 916 |
\addtocounter{level}{-1} |
| 917 |
\ifnum \thelevel < \thestiekemext@huidigniveau |
| 918 |
% with addtocounter this becomes a <= |
| 919 |
\par |
| 920 |
\ifeng@art\textbf{Decision:}\else\textbf{Besluit:}\fi \hspace{5mm} #1 |
| 921 |
% kandidaat voor aeskwadraattaal migratie? |
| 922 |
\addcontentsline{lob}{besluit} |
| 923 |
{\hetbesluit\hspace{1em}{{% |
| 924 |
\color{niveau\thestiekemext@huidigniveau}#1}}} |
| 925 |
\addtocounter{besluit}{1} |
| 926 |
\par |
| 927 |
\fi |
| 928 |
\addtocounter{level}{1} |
| 929 |
\else% stiekemext is NOT loaded |
| 930 |
\par |
| 931 |
\ifeng@art\textbf{Decision:}\else\textbf{Besluit:}\fi \hspace{5mm} #1 |
| 932 |
\addcontentsline{lob}{besluit} |
| 933 |
{\hetbesluit\hspace{1em}{#1}} |
| 934 |
\addtocounter{besluit}{1} |
| 935 |
\par |
| 936 |
\fi |
| 937 |
} |
| 938 |
|
| 939 |
\newcounter{besluit} |
| 940 |
\setcounter{besluit}{1} |
| 941 |
\newcommand{\hetbesluit}{\@arabic\c@besluit} |
| 942 |
% \end{macrocode} |
| 943 |
% \end{macro}\end{macro} |
| 944 |
% \begin{macro}{\advies}\begin{macro}{\adviezenlijst} |
| 945 |
% Similarly to |\besluit|, use |\advies{advice}| for |
| 946 |
% an advice.\\ |
| 947 |
% |\advies{Stop using Overleaf}.| outputs \advies{Stop using Overleaf.} |
| 948 |
% Use |\adviezenlijst| to generate a table |
| 949 |
% of contents. |
| 950 |
% \begin{macrocode} |
| 951 |
|
| 952 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 953 |
% De onderstaande code is gecopypaste van |
| 954 |
% het bovenstaande. |
| 955 |
% (besluit, advies, van- voor het bestuur en ap zijn hetzelfde) |
| 956 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 957 |
|
| 958 |
\ifeng@art |
| 959 |
\newcommand{\adviezenlijstnaam} {Advices} |
| 960 |
\else |
| 961 |
\newcommand{\adviezenlijstnaam} {Adviezenlijst} |
| 962 |
\fi |
| 963 |
|
| 964 |
\newcommand{\adviezenlijstentry}{ |
| 965 |
\addcontentsline{toc}{section}{\adviezenlijstnaam} |
| 966 |
} |
| 967 |
|
| 968 |
\NewDocumentCommand{\adviezenlijst}{ s }{% |
| 969 |
\IfBooleanF{#1}{\adviezenlijstentry} |
| 970 |
\section*{\adviezenlijstnaam |
| 971 |
\@mkboth{\MakeUppercase\adviezenlijstnaam}% |
| 972 |
{\MakeUppercase\adviezenlijstnaam}}% |
| 973 |
\@starttoc{lobadvies}% |
| 974 |
} |
| 975 |
|
| 976 |
\newcommand{\l@advies}{\@dottedtocline{1}{1.5em}{2.3em}} |
| 977 |
|
| 978 |
|
| 979 |
\newcommand{\advies}[1]{% |
| 980 |
% We look at level and huidigniveau to decide whether |
| 981 |
% the decision should be in the table of contents |
| 982 |
\ifnotulen@stiekemext |
| 983 |
\addtocounter{level}{-1} |
| 984 |
\ifnum \thelevel < \thestiekemext@huidigniveau |
| 985 |
\par |
| 986 |
\ifeng@art\textbf{Recommendation:} |
| 987 |
\else\textbf{Advies:} \fi \hspace{5.5mm} #1 |
| 988 |
\addcontentsline{lobadvies}{advies} |
| 989 |
{\hetadvies\hspace{1em}{{% |
| 990 |
\color{niveau\thestiekemext@huidigniveau}#1}}} |
| 991 |
\addtocounter{advies}{1} |
| 992 |
\par |
| 993 |
\fi |
| 994 |
\addtocounter{level}{1} |
| 995 |
\else% stiekemext is NOT loade |
| 996 |
\par |
| 997 |
\ifeng@art\textbf{Recommendation:} |
| 998 |
\else\textbf{Advies:} \fi \hspace{5.5mm} #1 |
| 999 |
\addcontentsline{lobadvies}{advies} |
| 1000 |
{\hetadvies\hspace{1em}{#1}} |
| 1001 |
\addtocounter{advies}{1} |
| 1002 |
\par |
| 1003 |
\fi |
| 1004 |
} |
| 1005 |
|
| 1006 |
|
| 1007 |
\newcounter{advies} |
| 1008 |
\setcounter{advies}{1} |
| 1009 |
\newcommand{\hetadvies}{\@arabic\c@advies} |
| 1010 |
% \end{macrocode} |
| 1011 |
% \end{macro}\end{macro} |
| 1012 |
% \begin{macro}{\ahb}\begin{macro}{\aanhetbestuur} |
| 1013 |
% Similarly to |\besluit|, use |\ahb{text}| for |
| 1014 |
% information that should be relayed to the board, and |
| 1015 |
% use |\aanhetbestuur| to generate a table of contents. |
| 1016 |
% \begin{verbatim}\ahb{Thanks for your service.}\end{verbatim} outputs \ahb{Thanks for your service.} |
| 1017 |
% \begin{macrocode} |
| 1018 |
|
| 1019 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1020 |
% De onderstaande code is gecopypaste van |
| 1021 |
% het bovenstaande. |
| 1022 |
% (besluit, advies, van- voor het bestuur en ap zijn hetzelfde) |
| 1023 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1024 |
|
| 1025 |
\ifeng@art |
| 1026 |
\newcommand{\aanhetbestuurnaam} {To the board} |
| 1027 |
\else |
| 1028 |
\newcommand{\aanhetbestuurnaam} {Aan het bestuur} |
| 1029 |
\fi |
| 1030 |
|
| 1031 |
\newcommand{\aanhetbestuurentry}{ |
| 1032 |
\addcontentsline{toc}{section}{\aanhetbestuurnaam} |
| 1033 |
} |
| 1034 |
|
| 1035 |
\NewDocumentCommand{\aanhetbestuur}{ s }{% |
| 1036 |
\IfBooleanF{#1}{\aanhetbestuurentry} |
| 1037 |
\section*{\aanhetbestuurnaam |
| 1038 |
\@mkboth{\MakeUppercase\aanhetbestuurnaam}% |
| 1039 |
{\MakeUppercase\aanhetbestuurnaam}}% |
| 1040 |
\@starttoc{lobahb}% |
| 1041 |
} |
| 1042 |
|
| 1043 |
\newcommand{\l@ahb}{\@dottedtocline{1}{1.5em}{2.3em}} |
| 1044 |
|
| 1045 |
|
| 1046 |
\newcommand{\ahb}[1]{% |
| 1047 |
\par |
| 1048 |
\textbf{\aanhetbestuurnaam}: \hspace{5.5mm} #1 |
| 1049 |
\addcontentsline{lobahb}{ahb} |
| 1050 |
{\ahbestuur\hspace{1em}{#1}} |
| 1051 |
\addtocounter{ahb}{1} |
| 1052 |
\par |
| 1053 |
} |
| 1054 |
|
| 1055 |
\newcounter{ahb} |
| 1056 |
\setcounter{ahb}{1} |
| 1057 |
\newcommand{\ahbestuur}{\@alph\c@ahb} |
| 1058 |
|
| 1059 |
% \end{macrocode} |
| 1060 |
% \end{macro}\end{macro} |
| 1061 |
% \begin{macro}{\aar}\begin{macro}{\aanadviesraad} |
| 1062 |
% Similarly to |\besluit|, use |\aar{text}| for |
| 1063 |
% information that should be relayed to the advisory |
| 1064 |
% board, and use |\aanadviesraad| to generate a table |
| 1065 |
% of contents. \begin{verbatim}\aar{I heard you like advice.}\end{verbatim} outputs |
| 1066 |
% \aar{I heard you like advice.} |
| 1067 |
% \begin{macrocode} |
| 1068 |
|
| 1069 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1070 |
% De onderstaande code is gecopypaste van |
| 1071 |
% het bovenstaande. |
| 1072 |
% (besluit, advies, van- voor het bestuur en ap zijn hetzelfde) |
| 1073 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1074 |
|
| 1075 |
\ifeng@art |
| 1076 |
\newcommand{\aanadviesraadnaam} {To advisory board} |
| 1077 |
\else |
| 1078 |
\newcommand{\aanadviesraadnaam} {Aan de adviesraad} |
| 1079 |
\fi |
| 1080 |
|
| 1081 |
\newcommand{\aanadviesraadentry}{ |
| 1082 |
\addcontentsline{toc}{section}{\aanadviesraadnaam} |
| 1083 |
} |
| 1084 |
|
| 1085 |
\NewDocumentCommand{\aanadviesraad}{ s }{% |
| 1086 |
\IfBooleanF{#1}{\aanadviesraadentry} |
| 1087 |
\section*{\aanadviesraadnaam |
| 1088 |
\@mkboth{\MakeUppercase\aanadviesraadnaam}% |
| 1089 |
{\MakeUppercase\aanadviesraadnaam}}% |
| 1090 |
\@starttoc{lobaar}% |
| 1091 |
} |
| 1092 |
|
| 1093 |
\newcommand{\l@aar}{\@dottedtocline{1}{1.5em}{2.3em}} |
| 1094 |
|
| 1095 |
|
| 1096 |
\newcommand{\aar}[1]{% |
| 1097 |
\par |
| 1098 |
\textbf{\aanadviesraadnaam}: \hspace{5.5mm} #1 |
| 1099 |
\addcontentsline{lobaar}{aar} |
| 1100 |
{\aadviesraad\hspace{1em}{#1}} |
| 1101 |
\addtocounter{aar}{1} |
| 1102 |
\par |
| 1103 |
} |
| 1104 |
|
| 1105 |
\newcounter{aar} |
| 1106 |
\setcounter{aar}{1} |
| 1107 |
\newcommand{\aadviesraad}{\@alph\c@aar} |
| 1108 |
% \end{macrocode} |
| 1109 |
% \end{macro}\end{macro} |
| 1110 |
% |
| 1111 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1112 |
% |
| 1113 |
% \begin{macro}{\ap} |
| 1114 |
% Use |\ap{name}{task}| to assign a task (``actiepunt'') to a name. For example, |
| 1115 |
% \begin{verbatim}\ap{Jesse}{Write \LaTeX{}.}\end{verbatim} outputs \ap{Jesse}{Write \LaTeX{}.}\par |
| 1116 |
% It is also possible to use multiple names by separating them using |
| 1117 |
% commas:\begin{verbatim}\ap{name1,name2,name3,...}{task}\end{verbatim} |
| 1118 |
% These tasks can later be exported to a table of contents (either |\aplijst| or |\aplijstpp|). |
| 1119 |
% \begin{macrocode} |
| 1120 |
\ifeng@art |
| 1121 |
\newcommand{\aplijstnaam}{List of Assigned Tasks} |
| 1122 |
\else |
| 1123 |
\newcommand{\aplijstnaam}{Actiepunten} |
| 1124 |
\fi |
| 1125 |
\newcommand{\aplijstentry}{ |
| 1126 |
\addcontentsline{toc}{section}{\aplijstnaam} |
| 1127 |
} |
| 1128 |
|
| 1129 |
% Auxiliary command. Creates a list of tasks after \@actiepunt |
| 1130 |
% is defined. |
| 1131 |
\newcommand\ap@maakaplijst{% |
| 1132 |
\section*{\aplijstnaam |
| 1133 |
\@mkboth{\MakeUppercase{\aplijstnaam}}% |
| 1134 |
{\MakeUppercase{\aplijstnaam}}}% |
| 1135 |
\@starttoc{loa}% |
| 1136 |
% \aplijst and \aplijstpp aren't compatible due to \@starttoc. |
| 1137 |
% If both are used, only one actually does anything. |
| 1138 |
% -- Jesse |
| 1139 |
} |
| 1140 |
|
| 1141 |
%TODO: Get rid of all TeX \defs, replace with |
| 1142 |
% proper \newcommand or \NewDocumentCommand |
| 1143 |
\def\verwijdern@@m#1#2{% |
| 1144 |
\def\cleanup##1, !{% |
| 1145 |
##1% |
| 1146 |
} |
| 1147 |
\def\verwijder##1#2, ##2\relax{% |
| 1148 |
\global\edef\tempn@menlijst{##1##2}% |
| 1149 |
} |
| 1150 |
\verwijder#1, \relax% |
| 1151 |
\expandafter\cleanup\tempn@menlijst!% |
| 1152 |
} |
| 1153 |
|
| 1154 |
% defines \@actiepunt for use with \aplijstpp, \aplijst |
| 1155 |
% redefines the command |
| 1156 |
\def\@actiepunt#1#2#3{% <- name, task, page |
| 1157 |
% |
| 1158 |
% Look for ##1 in known names: |
| 1159 |
\def\splitn@@m##1, {% |
| 1160 |
\setcounter{ap@curnaam}{0}% |
| 1161 |
\setboolean{ap@gebakt}{false}% |
| 1162 |
\ifx\relax##1% |
| 1163 |
\let\next@@\relax |
| 1164 |
\else |
| 1165 |
\let\next@@\splitn@@m |
| 1166 |
\whiledo{\theap@curnaam < \theap@namen}{% |
| 1167 |
\ifthenelse{\equal{##1}{ |
| 1168 |
\csname ap@naam\theap@curnaam\endcsname}}{% |
| 1169 |
% Name found. |
| 1170 |
% Loads tasks of this name into a counter: |
| 1171 |
\setcounter{ap@tmp}{ |
| 1172 |
\csname ap@naam\theap@curnaam taken\endcsname}% |
| 1173 |
% Defines \ap@<name><task> as new task: |
| 1174 |
\global\expandafter\def |
| 1175 |
\csname ap@naam\theap@curnaam taak\theap@tmp\endcsname{% |
| 1176 |
\ifthenelse{\equal{#1}{##1}}{% |
| 1177 |
\l@ap{#2}{#3} |
| 1178 |
}{% |
| 1179 |
\l@ap{+ \verwijdern@@m{#1}{##1}: #2}{#3} |
| 1180 |
} |
| 1181 |
}% |
| 1182 |
% Increase number of tasks: |
| 1183 |
\stepcounter{ap@tmp}% |
| 1184 |
\global\expandafter\edef |
| 1185 |
\csname ap@naam\theap@curnaam taken\endcsname{\theap@tmp}% |
| 1186 |
|
| 1187 |
% Remember that the name exists: |
| 1188 |
\setboolean{ap@gebakt}{true}% |
| 1189 |
}{% |
| 1190 |
% nothing |
| 1191 |
}% |
| 1192 |
\stepcounter{ap@curnaam}% |
| 1193 |
}% |
| 1194 |
% The name is not found, |
| 1195 |
% we should define a new name: |
| 1196 |
\ifthenelse{\boolean{ap@gebakt}}{% |
| 1197 |
}{% |
| 1198 |
% Initialise name, number of tasks (1) and first task: |
| 1199 |
\global\expandafter\def |
| 1200 |
\csname ap@naam\theap@namen\endcsname{##1}% |
| 1201 |
\global\expandafter\edef |
| 1202 |
\csname ap@naam\theap@namen taken\endcsname{1}% |
| 1203 |
\global\expandafter\def |
| 1204 |
\csname ap@naam\theap@namen taak0\endcsname{% |
| 1205 |
\ifthenelse{\equal{#1}{##1}}{% |
| 1206 |
\l@ap{#2}{#3} |
| 1207 |
}{% |
| 1208 |
\l@ap{+ \verwijdern@@m{#1}{##1}: #2}{#3} |
| 1209 |
} |
| 1210 |
}% |
| 1211 |
% Increase number of names |
| 1212 |
\stepcounter{ap@namen}% |
| 1213 |
}% |
| 1214 |
\fi |
| 1215 |
\next@@}% |
| 1216 |
% Separate #1 at commas |
| 1217 |
\expandafter\splitn@@m#1, \relax,% |
| 1218 |
}% |
| 1219 |
|
| 1220 |
\newcommand*{\l@ap}{\@dottedtocline{1}{1.5em}{2.3em}} |
| 1221 |
|
| 1222 |
\NewDocumentCommand{\ap}{ m m }{ |
| 1223 |
\ifnotulen@stiekemext |
| 1224 |
\addtocounter{level}{-1} |
| 1225 |
\ifnum \thelevel < \thestiekemext@huidigniveau |
| 1226 |
\par |
| 1227 |
\@inaplijsttrue |
| 1228 |
\ifeng@art\textbf{Assigned task:}\else\textbf{Actiepunt:}\fi |
| 1229 |
\hspace{0.5mm} \naam{#1} #2 |
| 1230 |
\addtocontents{loa}{\protect\@actiepunt{#1}{ |
| 1231 |
{\color{niveau\thestiekemext@huidigniveau}#2}} |
| 1232 |
{\thepage}} |
| 1233 |
\@inaplijstfalse |
| 1234 |
\par |
| 1235 |
\fi |
| 1236 |
\addtocounter{level}{1} |
| 1237 |
\else |
| 1238 |
\par |
| 1239 |
\@inaplijsttrue |
| 1240 |
\ifeng@art\textbf{Assigned task:}\else\textbf{Actiepunt:}\fi |
| 1241 |
\hspace{0.5mm} \naam{#1} #2 |
| 1242 |
\addtocontents{loa}{\protect\@actiepunt{#1}{#2}{\thepage}} |
| 1243 |
\@inaplijstfalse |
| 1244 |
\par |
| 1245 |
\fi |
| 1246 |
} |
| 1247 |
|
| 1248 |
|
| 1249 |
% \end{macrocode} |
| 1250 |
% \end{macro} |
| 1251 |
% \begin{macro}{\korteapnaam} |
| 1252 |
% Use |\korteapnaam{macro}{name}| to define a macro |
| 1253 |
% which automatically outputs someone's name. For example, |
| 1254 |
% |\korteapnaam{RH}{Rozemarijn-Henrietta}| makes |\RH| output ``\korteapnaam{RH}{Rozemarijn-Henrietta}\RH''.\par |
| 1255 |
% We can then use this to create tasks: |\ap{\RH}{Get a shorter name.}| outputs \ap{\RH}{Get a shorter name.}\par |
| 1256 |
% Exceptionally useful if you're meeting with people who have long names. |
| 1257 |
% \begin{macrocode} |
| 1258 |
|
| 1259 |
% ap shortcuts: % by Sjoerd Timmer @ 11-10-2012 |
| 1260 |
\newif\if@inaplijst |
| 1261 |
\newcommand\korteapnaam[2]{% |
| 1262 |
\ifcsname#1\endcsname% |
| 1263 |
\PackageError{notulen} |
| 1264 |
{The command #1 already exists!} |
| 1265 |
{The command #1 already exists!}% |
| 1266 |
\fi% |
| 1267 |
\expandafter\newcommand\csname #1\endcsname{% |
| 1268 |
\if@inaplijst% |
| 1269 |
#2\xspace% |
| 1270 |
\else% |
| 1271 |
\mbox{\naam{#2}}\xspace% |
| 1272 |
\fi% |
| 1273 |
}% |
| 1274 |
} |
| 1275 |
% \end{macrocode} |
| 1276 |
% \end{macro} |
| 1277 |
% \begin{macro}{\aplijst} |
| 1278 |
% |\aplijst| produces a list of tasks. |
| 1279 |
% \begin{macrocode} |
| 1280 |
% Task lists; flat list. |
| 1281 |
% TODO: Add hyperlinks to \ap usage |
| 1282 |
\NewDocumentCommand{\aplijst}{ s }{% |
| 1283 |
\IfBooleanF{#1}{\aplijstentry} |
| 1284 |
% This \def used to be \global, but that interferes |
| 1285 |
% with \actielijstpp -- Jesse |
| 1286 |
\begingroup% |
| 1287 |
\def\@actiepunt##1##2##3{\contentsline{ap}{\naam{##1} ##2}{##3}{}}% |
| 1288 |
\ap@maakaplijst% |
| 1289 |
\endgroup% |
| 1290 |
} |
| 1291 |
% \end{macrocode} |
| 1292 |
% \end{macro} |
| 1293 |
% \begin{macro}{\aplijstpp} |
| 1294 |
% |\aplijstpp| produces a list of tasks sorted by whom |
| 1295 |
% they are assigned to. Its use is highly recommended. |
| 1296 |
% It cannot be used together with |\aplijst| (THIS IS A BUG). |
| 1297 |
% \begin{macrocode} |
| 1298 |
% Auxiliary functions for \aplijstpp. |
| 1299 |
\newcounter{ap@namen} |
| 1300 |
\newcounter{ap@curnaam} |
| 1301 |
\newcounter{ap@tmp} |
| 1302 |
\newboolean{ap@gebakt} |
| 1303 |
|
| 1304 |
% Task list; grouped per person. |
| 1305 |
% TODO: Add hyperlinks to \ap usage |
| 1306 |
\NewDocumentCommand{\aplijstpp}{ s }{% |
| 1307 |
\IfBooleanF{#1}{\aplijstentry} |
| 1308 |
\section*{\aplijstnaam |
| 1309 |
\@mkboth{\MakeUppercase\aplijstnaam}% |
| 1310 |
{\MakeUppercase\aplijstnaam}}% |
| 1311 |
% |
| 1312 |
% Each task goes through here in order of usage. |
| 1313 |
\setcounter{ap@namen}{0}% |
| 1314 |
% |
| 1315 |
% Load the loa file and put it through \@actiepunt: |
| 1316 |
\@starttoc{loa}% |
| 1317 |
% \aplijst and \aplijstpp aren't compatible due to \@starttoc. |
| 1318 |
% If both are used, only one actually does anything. |
| 1319 |
% -- Jesse |
| 1320 |
% |
| 1321 |
\setcounter{ap@curnaam}{0}% |
| 1322 |
% Go through all found names: |
| 1323 |
\whiledo{\theap@curnaam < \theap@namen}{% |
| 1324 |
% Print name: |
| 1325 |
\naam{\csname ap@naam\theap@curnaam\endcsname} |
| 1326 |
|
| 1327 |
\setcounter{ap@tmp}{0} |
| 1328 |
% Go through this person's tasks: |
| 1329 |
\whiledo{\theap@tmp < |
| 1330 |
\csname ap@naam\theap@curnaam taken\endcsname |
| 1331 |
}{% |
| 1332 |
% Print task: |
| 1333 |
\csname ap@naam\theap@curnaam taak\theap@tmp\endcsname |
| 1334 |
\stepcounter{ap@tmp} |
| 1335 |
}% |
| 1336 |
\stepcounter{ap@curnaam}% |
| 1337 |
}% |
| 1338 |
} |
| 1339 |
% \end{macrocode} |
| 1340 |
% \end{macro} |
| 1341 |
% |
| 1342 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1343 |
% |
| 1344 |
% We define a selection of default values and warnings here |
| 1345 |
|
| 1346 |
% \begin{macrocode} |
| 1347 |
\newcommand{\not@aanwezig}{} |
| 1348 |
\newcommand{\not@afwezig}{} |
| 1349 |
% \end{macrocode} |
| 1350 |
% \begin{macro}{\naamzet} |
| 1351 |
% |\naamzet| outputs a list of present (and potentially absent) names. |
| 1352 |
% \begin{macrocode} |
| 1353 |
\newcommand{\naamzet}{% |
| 1354 |
\noindent% |
| 1355 |
\ifthenelse{\equal{\not@afwezig}{}}% |
| 1356 |
{\parbox[c]{\linewidth-2\fboxsep}{\centering \not@aanwezig}}% |
| 1357 |
{\parbox[c]{\linewidth-2\fboxsep}{\centering \not@aanwezig}\\ |
| 1358 |
\parbox[c]{\linewidth-2\fboxsep}{~\newline \centering |
| 1359 |
\ifeng@art absent: \else afwezig: \fi \not@afwezig}} |
| 1360 |
} |
| 1361 |
% \end{macrocode} |
| 1362 |
% \end{macro} |
| 1363 |
% \begin{macro}{\aanwezig} |
| 1364 |
% Use |\aanwezig{names}| to take note of who is present |
| 1365 |
% at the meeting. For example, |\aanwezig{Alice, Bob}| |
| 1366 |
% will mark them as present. |
| 1367 |
% \begin{macrocode} |
| 1368 |
\newcommand{\aanwezig}[1]{% |
| 1369 |
\ifeng@art\renewcommand{\not@aanwezig}{present: #1} |
| 1370 |
\else |
| 1371 |
\renewcommand{\not@aanwezig}{aanwezig: #1} |
| 1372 |
\fi |
| 1373 |
} |
| 1374 |
% \end{macrocode} |
| 1375 |
% \end{macro} |
| 1376 |
% \begin{macro}{\afwezig} |
| 1377 |
% An optional sister of |\aanwezig|, |\afwezig{names}| |
| 1378 |
% lets you mark a group of people as absent. If the |
| 1379 |
% command isn't used, it won't appear anywhere on the |
| 1380 |
% document. |
| 1381 |
% \begin{macrocode} |
| 1382 |
\newcommand{\afwezig}[1]{ |
| 1383 |
\renewcommand{\not@afwezig}{#1} |
| 1384 |
} |
| 1385 |
% \end{macrocode} |
| 1386 |
% \end{macro} |
| 1387 |
% \begin{macro}{\wvttk} |
| 1388 |
% |\wvttk| produces the text ``\wvttk'' in English or |
| 1389 |
% ``w.v.t.t.k.'' (wat verder ter tafel komt) in Dutch. |
| 1390 |
% It's used to signify when an unexpected business in |
| 1391 |
% the meeting is moved to a later point. |
| 1392 |
% \begin{macrocode} |
| 1393 |
\ifeng@art |
| 1394 |
\newcommand{\wvttk}{Any Other Business} |
| 1395 |
\else |
| 1396 |
\newcommand{\wvttk}{\textsc{w.v.t.t.k.}} |
| 1397 |
\fi |
| 1398 |
% \end{macrocode} |
| 1399 |
% \end{macro} |
| 1400 |
% |
| 1401 |
% |
| 1402 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1403 |
% |
| 1404 |
% We move on to some miscellaneous macros. |
| 1405 |
% \begin{macro}{\naam} |
| 1406 |
% |\naam{name}| displays a name slanted, e.g., |
| 1407 |
% |\naam{Bob}| would return \naam{Bob}. |
| 1408 |
% \begin{macrocode} |
| 1409 |
\newcommand{\nameshape}{\slshape} |
| 1410 |
|
| 1411 |
\newcommand{\naam}[1]{{\nameshape #1}} |
| 1412 |
% \end{macrocode} |
| 1413 |
% \end{macro} |
| 1414 |
% \begin{macro}{\EUR} |
| 1415 |
% Yet another macro to make a euro sign. |
| 1416 |
% |\EUR{20}| will return \EUR{20}. |
| 1417 |
% \begin{macrocode} |
| 1418 |
\renewcommand{\EUR}[1]{\geneuro ~#1} |
| 1419 |
% \end{macrocode} |
| 1420 |
% \end{macro} |
| 1421 |
% \begin{macro}{\opm} |
| 1422 |
% |\opm{comment}| adds a comment, which will be |
| 1423 |
% smaller and emphasized. For example, |\opm{Foo}| |
| 1424 |
% returns \opm{Foo}. |
| 1425 |
% \begin{macrocode} |
| 1426 |
\newcommand{\opm}[1]{\medskip \footnotesize \emph{#1} \normalsize} |
| 1427 |
% \end{macrocode} |
| 1428 |
% \end{macro} |
| 1429 |
% \begin{macro}{\noitemsep} |
| 1430 |
% This removes the vertical spacing between items in |
| 1431 |
% lists, such as |itemize| or |enumerate|. Enclose |
| 1432 |
% this command between a |\begingroup| and an |\endgroup| |
| 1433 |
% to make sure it doesn't affect anything outside of |
| 1434 |
% the group. |
| 1435 |
% \begin{macrocode} |
| 1436 |
\newcommand{\noitemsep}{\setlength{\itemsep}{-\parskip}} |
| 1437 |
%</notulen> |
| 1438 |
% \end{macrocode} |
| 1439 |
% \end{macro} |
| 1440 |
% |
| 1441 |
% |
| 1442 |
% |
| 1443 |
% |
| 1444 |
% |
| 1445 |
% \subsubsection{Class \textsf{aeskwadraatnotulen}} |
| 1446 |
% We now generate a class which implements |aeskwadraatnotulen.sty|, |
| 1447 |
% and adds some visuals. |
| 1448 |
% \setcounter{CodelineNo}{0} |
| 1449 |
% \begin{macrocode} |
| 1450 |
%<*notulencls> |
| 1451 |
\NeedsTeXFormat{LaTeX2e}[2021/11/15] |
| 1452 |
\ProvidesClass{aeskwadraatnotulen}[2025/06/13 v1.0.1 A-Eskwadraat notulen package] |
| 1453 |
\DeclareOption{english}{\PassOptionsToPackage{english}{aeskwadraatnotulen}} |
| 1454 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} |
| 1455 |
\ProcessOptions\relax |
| 1456 |
|
| 1457 |
\LoadClass[a4paper,11pt]{article} |
| 1458 |
|
| 1459 |
\RequirePackage{aeskwadraatnotulen} |
| 1460 |
\RequirePackage{fancyhdr, lineno} |
| 1461 |
\RequirePackage{newtxtext} |
| 1462 |
\renewcommand{\familydefault}{\sfdefault} |
| 1463 |
|
| 1464 |
\if@twoside |
| 1465 |
\setlength{\oddsidemargin} {20mm} |
| 1466 |
\setlength{\evensidemargin} {10mm} |
| 1467 |
\else |
| 1468 |
\setlength{\oddsidemargin} {15mm} |
| 1469 |
\setlength{\evensidemargin} {15mm} |
| 1470 |
\fi |
| 1471 |
|
| 1472 |
\setlength{\hoffset} {-1in} |
| 1473 |
\setlength{\voffset} {-1in} |
| 1474 |
|
| 1475 |
\setlength{\textwidth} {180mm} |
| 1476 |
\setlength{\textheight} {240mm} |
| 1477 |
\setlength{\topmargin} {10mm} |
| 1478 |
\setlength{\headheight} {1.5em} |
| 1479 |
\setlength{\headsep} {2em} |
| 1480 |
\setlength{\footskip} {4em} |
| 1481 |
|
| 1482 |
\setlength{\parindent} {0em} |
| 1483 |
\setlength{\parskip} {0em} |
| 1484 |
|
| 1485 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1486 |
|
| 1487 |
\pagestyle{fancy} |
| 1488 |
|
| 1489 |
\lhead{\@title} |
| 1490 |
\chead{} |
| 1491 |
\rhead{\@date} |
| 1492 |
\lfoot{} |
| 1493 |
\cfoot{\thepage} |
| 1494 |
\rfoot{} |
| 1495 |
|
| 1496 |
\renewcommand{\headrulewidth}{0.4pt} |
| 1497 |
\renewcommand{\footrulewidth}{0.0pt} |
| 1498 |
|
| 1499 |
\pagenumbering{Roman} |
| 1500 |
|
| 1501 |
\modulolinenumbers[5] |
| 1502 |
|
| 1503 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1504 |
|
| 1505 |
|
| 1506 |
\setcounter{secnumdepth}{1} |
| 1507 |
\setcounter{tocdepth}{2} |
| 1508 |
|
| 1509 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1510 |
|
| 1511 |
\renewcommand{\section}{ |
| 1512 |
\@startsection{section}{1}{\z@} |
| 1513 |
{-2.5ex \@plus -1ex \@minus -.2ex} |
| 1514 |
{1.3ex \@plus.2ex} |
| 1515 |
{\normalfont\Large\bfseries}} |
| 1516 |
\renewcommand{\subsection}{ |
| 1517 |
\@startsection{subsection}{2}{\z@} |
| 1518 |
{-1.25ex\@plus -1ex \@minus -.2ex} |
| 1519 |
{0.5ex \@plus .2ex} |
| 1520 |
{\normalfont\large\itshape}} |
| 1521 |
\renewcommand{\subsubsection}{ |
| 1522 |
\@startsection{subsubsection}{3}{\z@} |
| 1523 |
{-1.00ex \@plus -0.50ex \@minus -0.50ex} |
| 1524 |
{-1.00ex \@plus -0.50ex \@minus -0.50ex} |
| 1525 |
{\normalfont\normalsize\itshape\bfseries}} |
| 1526 |
\renewcommand{\paragraph}{ |
| 1527 |
\@startsection{paragraph}{4}{\z@} |
| 1528 |
{0.00ex \@plus0.1ex} |
| 1529 |
{-1em} |
| 1530 |
{\normalfont\normalsize\nameshape}} |
| 1531 |
% \renewcommand{\subparagraph}{ |
| 1532 |
% \@startsection{subparagraph}{5}{\parindent} |
| 1533 |
% {3.25ex \@plus1ex \@minus .2ex} |
| 1534 |
% {-1em} |
| 1535 |
% {\normalfont\normalsize\bfseries}} |
| 1536 |
% |
| 1537 |
% |
| 1538 |
% \end{macrocode} |
| 1539 |
% \begin{macro}{\titel} |
| 1540 |
% \begin{macro}{\datum} |
| 1541 |
% Historically, |\titel| and |\datum| did more than just |
| 1542 |
% the regular |\title| and |\date|. For accessibility, we |
| 1543 |
% have made the package work with the original commands, instead. For backwards |
| 1544 |
% compatibility's sake, we do have to define |\titel| and |\date|. |
| 1545 |
% \begin{macrocode} |
| 1546 |
\let\titel\title |
| 1547 |
\let\datum\date |
| 1548 |
% \end{macrocode} |
| 1549 |
% \end{macro}\end{macro} |
| 1550 |
% For the sake of backwards compatibility, we give |
| 1551 |
% a default value to the title and date. A warning is |
| 1552 |
% added. |
| 1553 |
% \begin{macrocode} |
| 1554 |
\DeclareDocumentCommand{\@title}{}{\ifeng@art Meeting records |
| 1555 |
\ClassWarning{aes-notulen}{no \title given} |
| 1556 |
\else Notulen \ClassWarning{aes-notulen}{geen \title ingevoerd} \fi} |
| 1557 |
\DeclareDocumentCommand{\@date}{}{\today \ifeng@art |
| 1558 |
\ClassWarning{aes-notulen}{no \date given} |
| 1559 |
\else \ClassWarning{aes-notulen}{geen \date ingevoerd} |
| 1560 |
\fi} |
| 1561 |
% \end{macrocode} |
| 1562 |
% \begin{macro}{\maketitle} |
| 1563 |
% We redefine |\maketitle|. This is done to add to the |
| 1564 |
% ``author'' section a list of present and absent |
| 1565 |
% people. |
| 1566 |
% \begin{macrocode} |
| 1567 |
\def\@maketitle{% |
| 1568 |
\newpage |
| 1569 |
\null |
| 1570 |
\vskip 2em% |
| 1571 |
\begin{center}% |
| 1572 |
\let \footnote \thanks |
| 1573 |
{\LARGE \@title \par}% |
| 1574 |
\vskip 1.5em% |
| 1575 |
{\large |
| 1576 |
\lineskip .75em% |
| 1577 |
\begin{tabular}[t]{c}% |
| 1578 |
\@author |
| 1579 |
\end{tabular}\par ~\newline \naamzet }% We removed the author here |
| 1580 |
\vskip 1em% |
| 1581 |
{\large \@date}% |
| 1582 |
\end{center}% |
| 1583 |
\par |
| 1584 |
\vskip 1.5em} |
| 1585 |
%</notulencls> |
| 1586 |
% \end{macrocode} |
| 1587 |
% \end{macro} |
| 1588 |
% |
| 1589 |
% |
| 1590 |
% |
| 1591 |
% |
| 1592 |
% \subsection{\textsf{beamerthemeaeskwadraat}} |
| 1593 |
% \setcounter{CodelineNo}{0} |
| 1594 |
% \begin{macrocode} |
| 1595 |
%<*beamer> |
| 1596 |
\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 1597 |
\ProvidesPackage{beamerthemeaeskwadraat}[2025/06/13 v1.0.1 |
| 1598 |
A-Eskwadraat beamer theme] |
| 1599 |
%% Copyright (C) 2007-2015 TeXniCie A-Eskwadraat |
| 1600 |
%% <[email protected]> |
| 1601 |
% \end{macrocode} |
| 1602 |
% Here follow the theme's options. The first is |noprogress|, |
| 1603 |
% which removes the progress bar at the bottom. Next is |uu|, |
| 1604 |
% which replaces the default (\aesnaam{}) theme with official |
| 1605 |
% Utrecht University colours and logos. Finally, if you want a |
| 1606 |
% gradient at the end of the progress bar (as you used to have |
| 1607 |
% in the old beamer theme), use the option |gradient|. However, |
| 1608 |
% this is not recommended, as this gradient comes with some |
| 1609 |
% visual bugs. |
| 1610 |
% \begin{macrocode} |
| 1611 |
\newif\ifaes@progress \aes@progresstrue |
| 1612 |
\DeclareOption{noprogress}{\aes@progressfalse} |
| 1613 |
\newif\ifaes@uutheme \aes@uuthemefalse |
| 1614 |
\DeclareOption{uu}{\aes@uuthemetrue} |
| 1615 |
\newif\ifaes@gradient \aes@gradientfalse |
| 1616 |
\DeclareOption{gradient}{\aes@gradienttrue} |
| 1617 |
\newif\ifaes@newbeamer \aes@newbeamertrue |
| 1618 |
\DeclareOption{legacy}{\aes@newbeamerfalse} |
| 1619 |
\DeclareOption*{ |
| 1620 |
\PassOptionsToPackage{\CurrentOption}{beamerthemeFrankfurt}} |
| 1621 |
\ProcessOptions\relax |
| 1622 |
% \end{macrocode} |
| 1623 |
% We import some basic theme stuff from the \textsf{Frankfurt} |
| 1624 |
% theme. |
| 1625 |
% \begin{macrocode} |
| 1626 |
\usetheme{Frankfurt} |
| 1627 |
\useinnertheme{rectangles} |
| 1628 |
\setbeamertemplate{mini frames}[box] |
| 1629 |
% \end{macrocode} |
| 1630 |
% \begin{macro}{\setstylecolor} |
| 1631 |
% Here, we define the style colour of our document as |
| 1632 |
% |aes@stylecolor|. To change it, use |\setstylecolor{R,G,B}|, |
| 1633 |
% for |R|, |G|, |B| some values between 0 and 255. |
| 1634 |
% By default, the colour is \aesnaam{} red.\par |
| 1635 |
% We use this theme colour to construct the colour |
| 1636 |
% of the presentation itself, and of blocks that one |
| 1637 |
% can put in. |
| 1638 |
% \begin{macrocode} |
| 1639 |
\definecolor{aes@stylecolor}{rgb}{0.59,0.00,0.12} |
| 1640 |
\NewDocumentCommand{\setstylecolor}{ m }{ |
| 1641 |
\definecolor{aes@stylecolor}{RGB}{#1} |
| 1642 |
} |
| 1643 |
\setbeamercolor{structure}{fg=aes@stylecolor} |
| 1644 |
\setbeamercolor{block title}{bg=aes@stylecolor} |
| 1645 |
\setbeamercolor{block body}{bg=aes@stylecolor!30} |
| 1646 |
\setbeamertemplate{blocks}[default] |
| 1647 |
% \end{macrocode} |
| 1648 |
% \end{macro} |
| 1649 |
% We select a font |
| 1650 |
% \begin{macrocode} |
| 1651 |
\RequirePackage[scale=0.9]{merriweather} |
| 1652 |
\usefonttheme{professionalfonts} |
| 1653 |
% \end{macrocode} |
| 1654 |
% \begin{macro}{\setlogo} |
| 1655 |
% Using |\setlogo{file}| changes the logo in the bottom |
| 1656 |
% right. If the command isn't used, the default is used.\par |
| 1657 |
% If the parameter |file| is left empty, the logo will disappear.\par |
| 1658 |
% Logos are automatically made a little transparent. |
| 1659 |
% \begin{macrocode} |
| 1660 |
\RequirePackage{tikz} |
| 1661 |
\DeclareDocumentCommand{\setlogo}{ m }{% |
| 1662 |
\pgfdeclareimage[width = 25mm]{logo}{#1}% |
| 1663 |
\logo{\tikz\node[opacity = 0.35] {\pgfuseimage{logo}};}% |
| 1664 |
} |
| 1665 |
|
| 1666 |
\pgfdeclareimage[width=25mm]{logo}{aeskwadraat_slinger} |
| 1667 |
% TODO: remove transparency of slinger for compatibility |
| 1668 |
\logo{\pgfuseimage{logo}} |
| 1669 |
% \end{macrocode} |
| 1670 |
% \end{macro} |
| 1671 |
% \changes{v1.0.1}{2025/01/10}{Added warning in case UU logo is missing} |
| 1672 |
% Now, we add the UU theme. Keep in mind that the Utrecht University logo |
| 1673 |
% may only be used by affiliates to the university. For copyright reasons, the |
| 1674 |
% logo may not be included by the distribution, so we add a warning telling the |
| 1675 |
% user to download the file themself, from \url{https://www.uu.nl/en/organisation/corporate-identity/guidelines/logo}. |
| 1676 |
% We need from the logos with white background the file |UU_logo_2021_EN_BLACK.jpg|, which |
| 1677 |
% must be renamed to |aeskwadraat_uulogo.jpg| and moved to a folder |
| 1678 |
% where \LaTeX{} can find it (so either the project itself or the |/logos/| folder |
| 1679 |
% of this package).\par |
| 1680 |
% Since the logo has a lot of white space around it, we resize it and move |
| 1681 |
% it around to make it fit better.\par |
| 1682 |
% The colour chosen here is in accordance with UU guidelines, see |
| 1683 |
% \url{https://www.uu.nl/en/organisation/corporate-identity/brand-policy/colour}. |
| 1684 |
% \begin{macrocode} |
| 1685 |
\ifaes@uutheme |
| 1686 |
\IfFileExists{aeskwadraat_uulogo.jpg}{% |
| 1687 |
% Logo found |
| 1688 |
\pgfdeclareimage[width = 38mm]{logo}{aeskwadraat_uulogo.jpg}% |
| 1689 |
\logo{\tikz\node[opacity = 0.35] {\pgfuseimage{logo}};\hspace{-10em}}% |
| 1690 |
}{% |
| 1691 |
% Logo not found: wasn't included in distribution |
| 1692 |
\PackageWarning{beamerthemeaeskwadraat}{% |
| 1693 |
It seems that we couldn't find the UU logo. Your distribution probably |
| 1694 |
did not include it due to copyright reasons. Please download the |
| 1695 |
(black-white) logo from the UU website and include it as |
| 1696 |
aeskwadraat_uulogo.jpg. Refer to the documentation for more information. |
| 1697 |
} |
| 1698 |
} |
| 1699 |
\setstylecolor{255,205,0} |
| 1700 |
\fi |
| 1701 |
% \end{macrocode} |
| 1702 |
% The code below is used to generate a progress bar |
| 1703 |
% on the bottom. |
| 1704 |
% \begin{macrocode} |
| 1705 |
\ifaes@progress |
| 1706 |
\RequirePackage{ifthen} |
| 1707 |
\RequirePackage{calc} |
| 1708 |
\newlength{\aes@progressbarlength} |
| 1709 |
\defbeamertemplate*{footline}{aes progress bar} |
| 1710 |
{% |
| 1711 |
\leavevmode% |
| 1712 |
% recalculate progressbar length |
| 1713 |
\setlength{\aes@progressbarlength}{\paperwidth/ |
| 1714 |
\maxof{\inserttotalframenumber}{\insertframenumber}* |
| 1715 |
\insertframenumber}% |
| 1716 |
% current frame / total frame * paperwidth |
| 1717 |
% create the solid "main" bar |
| 1718 |
\begin{beamercolorbox}[wd=\aes@progressbarlength,ht=2ex] |
| 1719 |
{frametitle}% |
| 1720 |
\end{beamercolorbox}% |
| 1721 |
\ifaes@gradient |
| 1722 |
% define the gradient |
| 1723 |
\pgfdeclarehorizontalshading{aes@progressbar}{2ex}{% |
| 1724 |
% Start with the stylecolor |
| 1725 |
color(0ex)=(aes@stylecolor)% |
| 1726 |
% Transfer to white 0.3in later |
| 1727 |
color(0.3in)=(white)% |
| 1728 |
}% |
| 1729 |
% add the gradient after the main bar |
| 1730 |
\begin{beamercolorbox}[wd=0.3in,ht=2ex] |
| 1731 |
{frametitle}% |
| 1732 |
\pgfuseshading{aes@progressbar}% |
| 1733 |
\end{beamercolorbox}% |
| 1734 |
\fi |
| 1735 |
\vskip0pt% |
| 1736 |
} |
| 1737 |
\newlength{\aes@step} |
| 1738 |
\setlength{\aes@step}{0pt} |
| 1739 |
\AtEndDocument{ |
| 1740 |
\newcounter{aes@upc} |
| 1741 |
\setcounter{aes@upc}{1} |
| 1742 |
\newlength{\aes@pagelen} |
| 1743 |
\setlength{\aes@pagelen}{\inserttotalframenumber\unitlength} |
| 1744 |
\whiledo{% |
| 1745 |
\lengthtest{\theaes@upc\aes@pagelen<\paperwidth}% |
| 1746 |
}{% |
| 1747 |
\stepcounter{aes@upc}} |
| 1748 |
\setlength{\aes@step}{\theaes@upc\unitlength} |
| 1749 |
\if@filesw |
| 1750 |
\immediate\write\@auxout{\string\@writefile{nav}% |
| 1751 |
{\noexpand\headcommand{ |
| 1752 |
\noexpand\setlength{\noexpand\aes@step}{\the\aes@step}}}} |
| 1753 |
\fi |
| 1754 |
} |
| 1755 |
\fi |
| 1756 |
% \end{macrocode} |
| 1757 |
% \begin{macro}{\miniframeson}\begin{macro}{\miniframesoff} |
| 1758 |
% To exclude / include a frame from the squares on top |
| 1759 |
% of the document, use |\miniframesoff| and |\miniframeson|. |
| 1760 |
% \begin{macrocode} |
| 1761 |
\let\beamer@writeslidentry@miniframeson=\beamer@writeslidentry |
| 1762 |
\def\beamer@writeslidentry@miniframesoff{% |
| 1763 |
\expandafter\beamer@ifempty\expandafter{% does not happen normally |
| 1764 |
\beamer@framestartpage}{} |
| 1765 |
{%else |
| 1766 |
% removed \addtocontents commands |
| 1767 |
\clearpage\beamer@notesactions% |
| 1768 |
} |
| 1769 |
} |
| 1770 |
|
| 1771 |
\NewDocumentCommand{\miniframeson}{}{% |
| 1772 |
\let\beamer@writeslidentry=\beamer@writeslidentry@miniframeson} |
| 1773 |
\NewDocumentCommand{\miniframesoff}{}{% |
| 1774 |
\let\beamer@writeslidentry=\beamer@writeslidentry@miniframesoff} |
| 1775 |
% \end{macrocode} |
| 1776 |
% \end{macro}\end{macro} |
| 1777 |
% The code below reimagines the title page for a more |
| 1778 |
% modern look. |
| 1779 |
% \begin{macrocode} |
| 1780 |
\ifaes@newbeamer |
| 1781 |
\setbeamertemplate{title page}{% |
| 1782 |
\hfuzz=60pt |
| 1783 |
\vfuzz=10pt |
| 1784 |
\begin{tikzpicture} |
| 1785 |
\draw [white, opacity = 0] ([yshift = -0.2in]current page.north west) |
| 1786 |
rectangle (current page.south east); |
| 1787 |
\fill[aes@stylecolor]([yshift = 0.5in]current page.west) |
| 1788 |
rectangle ([yshift = -0.5in]current page.east); |
| 1789 |
\node[anchor = north west, text width = \linewidth] at |
| 1790 |
([yshift = .4in, xshift = .1in]current page.west) (title) |
| 1791 |
{\LARGE\textcolor{white}\inserttitle}; |
| 1792 |
\node[anchor = south west, text width = \linewidth] at |
| 1793 |
([yshift = -.4in, xshift = .1in]current page.west) (subtitle) |
| 1794 |
{\large\textcolor{white}\insertsubtitle}; |
| 1795 |
\node[anchor = north west, text width = \linewidth] at |
| 1796 |
([yshift = -.55in, xshift = .1in]current page.west) (author) |
| 1797 |
{\begin{tabular}[t]{c}\insertauthor\end{tabular}\\ |
| 1798 |
\begin{tabular}[t]{c}\scriptsize\insertinstitute\end{tabular}}; |
| 1799 |
\node[anchor = south east] at |
| 1800 |
([xshift = -.35in, yshift = -1.66in]current page.east) (titlegraphic) |
| 1801 |
{\usebeamercolor[fg]{titlegraphic}\inserttitlegraphic}; |
| 1802 |
\end{tikzpicture} |
| 1803 |
} |
| 1804 |
% \end{macrocode} |
| 1805 |
% We also add section and subsection slides in the same |
| 1806 |
% style as the title page. |
| 1807 |
% \begin{macrocode} |
| 1808 |
\AtBeginSection[]{ |
| 1809 |
{ |
| 1810 |
\hfuzz=60pt |
| 1811 |
\vfuzz=10pt |
| 1812 |
\miniframesoff |
| 1813 |
\begin{frame} |
| 1814 |
\begin{tikzpicture} |
| 1815 |
\draw [white, opacity = 0] ([yshift = -0.2in]current page.north west) |
| 1816 |
rectangle (current page.south east); |
| 1817 |
\fill[aes@stylecolor]([yshift = 0.25in]current page.west) |
| 1818 |
rectangle ([yshift = -0.25in]current page.east); |
| 1819 |
\node[anchor = west, text width = \linewidth] at |
| 1820 |
([xshift = .1in]current page.west) (title) |
| 1821 |
{\LARGE\textcolor{white}\insertsectionhead}; |
| 1822 |
\end{tikzpicture} |
| 1823 |
\end{frame} |
| 1824 |
} |
| 1825 |
} |
| 1826 |
|
| 1827 |
\AtBeginSubsection[]{ |
| 1828 |
{ |
| 1829 |
\hfuzz=60pt |
| 1830 |
\vfuzz=10pt |
| 1831 |
\miniframesoff |
| 1832 |
\begin{frame} |
| 1833 |
\begin{tikzpicture} |
| 1834 |
\draw [white, opacity = 0] ([yshift = -0.2in]current page.north west) |
| 1835 |
rectangle (current page.south east); |
| 1836 |
\fill[aes@stylecolor]([yshift = 0.25in]current page.west) |
| 1837 |
rectangle ([yshift = -0.25in]current page.east); |
| 1838 |
\node[anchor = west, text width = \linewidth] at |
| 1839 |
([xshift = .1in]current page.west) (title) |
| 1840 |
{\LARGE\textcolor{white}\insertsectionhead}; |
| 1841 |
\node[anchor = north west, text width = \linewidth] at |
| 1842 |
([xshift = .1in, yshift = -.3in]current page.west) (subtitle) |
| 1843 |
{\Large\textcolor{black}\insertsubsectionhead}; |
| 1844 |
\end{tikzpicture} |
| 1845 |
\end{frame} |
| 1846 |
} |
| 1847 |
} |
| 1848 |
\fi |
| 1849 |
% \end{macrocode} |
| 1850 |
% \begin{macro}{\questionframe} |
| 1851 |
% Finally, we add a question slide with a funny duck, |\questionframe|. |
| 1852 |
% \begin{macrocode} |
| 1853 |
\RequirePackage{tikzducks} |
| 1854 |
\NewDocumentCommand{\questionframe}{}{% |
| 1855 |
{ |
| 1856 |
\miniframesoff |
| 1857 |
\thispagestyle{empty} |
| 1858 |
\setbeamercolor{background canvas}{bg=black} |
| 1859 |
\begin{frame} |
| 1860 |
\centering |
| 1861 |
\begin{tikzpicture} |
| 1862 |
\randuck[draw = white] |
| 1863 |
\node[anchor = south, text = white] at (1, 2.7) {\Huge\fontsize{40}{40}?}; |
| 1864 |
\end{tikzpicture}\\ |
| 1865 |
\textcolor{white}{Questions?} |
| 1866 |
\end{frame} |
| 1867 |
} |
| 1868 |
} |
| 1869 |
% \end{macrocode} |
| 1870 |
% \end{macro} |
| 1871 |
% The following code is essential for making |\pause| |
| 1872 |
% work inside |align| environments. |
| 1873 |
% \begin{macrocode} |
| 1874 |
\renewrobustcmd{\beamer@@pause}[1][]{% |
| 1875 |
\unless\ifmeasuring@% |
| 1876 |
\ifblank{#1}% |
| 1877 |
{\stepcounter{beamerpauses}}% |
| 1878 |
{\setcounter{beamerpauses}{#1}}% |
| 1879 |
\onslide<\value{beamerpauses}->\relax% |
| 1880 |
\fi% |
| 1881 |
} |
| 1882 |
%</beamer> |
| 1883 |
% \end{macrocode} |
| 1884 |
% In the past, |beamerthemeaeskwadraat.sty| was named |beamerthemeaes2.sty|. |
| 1885 |
% To warn users of the old version, we generate |beamerthemeaes2.sty| |
| 1886 |
% to only import |beamerthemeaeskwadraat.sty|, and throw a warning to the users, |
| 1887 |
% telling them to change their name. We might remove this in a future |
| 1888 |
% version. |
| 1889 |
% \begin{macrocode} |
| 1890 |
%<*beamerdeprecated> |
| 1891 |
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{beamerthemeaes}} |
| 1892 |
\ProcessOptions\relax |
| 1893 |
\usetheme{aeskwadraat} |
| 1894 |
\PackageWarning{beamerthemeaes2}{The beamer theme |
| 1895 |
"aes2" is deprecated and may be deleted in the future. |
| 1896 |
Please use "aeskwadraat", instead.} |
| 1897 |
%</beamerdeprecated> |
| 1898 |
% \end{macrocode} |
| 1899 |
% |
| 1900 |
% |
| 1901 |
% |
| 1902 |
% |
| 1903 |
% |
| 1904 |
% \subsection{\textsf{aeskwadraatfactuur}} |
| 1905 |
% We now generate a package which implements `aeskwadraatfactuur.sty', |
| 1906 |
% and adds some visuals. |
| 1907 |
% \setcounter{CodelineNo}{0} |
| 1908 |
% \begin{macrocode} |
| 1909 |
%<*factuur> |
| 1910 |
%<@@=aeskwadraatfactuur> |
| 1911 |
%% Copyright (C) 2008-2015 TeXniCie A-Eskwadraat |
| 1912 |
%% <[email protected]> |
| 1913 |
|
| 1914 |
\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 1915 |
\ProvidesPackage{aeskwadraatfactuur}[2025/06/13 v1.0.1 |
| 1916 |
Simple invoices with aeskwadraatbrief integration] |
| 1917 |
|
| 1918 |
\RequirePackage{aeskwadraattaal} |
| 1919 |
\RequirePackage{substr} |
| 1920 |
\RequirePackage{ifthen} |
| 1921 |
\RequirePackage{calc} |
| 1922 |
% \end{macrocode} |
| 1923 |
% \changes{v1.0.1}{2024/12/02}{Replaced macro that generated ``\textsf{aesfactuur}'' with ``\textsf{aeskwadraatfactuur}''} |
| 1924 |
% We start by defining an error for if a command is |
| 1925 |
% used outside the proper environment. |
| 1926 |
% \begin{macrocode} |
| 1927 |
\newcommand\FactuurError@verdwaald[1]{% |
| 1928 |
\PackageError{aeskwadraatfactuur} {Runaway #1 command}% |
| 1929 |
{This command may only be used within the |
| 1930 |
factuur environment.\MessageBreak% |
| 1931 |
put #1\space between \protect\begin{factuur} |
| 1932 |
and \protect\end{factuur}.}% |
| 1933 |
} |
| 1934 |
% \end{macrocode} |
| 1935 |
% The following font is used in titles. |
| 1936 |
% {\fontsize{18}{20}\selectfont\bfseries It looks like this.} |
| 1937 |
% \begin{macrocode} |
| 1938 |
\newcommand\aes@fonttitel{\fontsize{18}{20}\selectfont\bfseries} |
| 1939 |
% \end{macrocode} |
| 1940 |
% \begin{macro}{\newnepboolean} |
| 1941 |
% Due to the incompatibility of ifthenelse and tabular, |
| 1942 |
% we define ``fake booleans''. |\newnepboolean{foo}| creates a |
| 1943 |
% command |\iffoo{iftrue}{iffalse}| that returns |iftrue| |
| 1944 |
% if |foo| is true, and it returns |iffalse| if |foo| is false.\par |
| 1945 |
% \begin{macro}{\settrue}\begin{macro}{\setfalse} |
| 1946 |
% By default, the fake booleans are set to |true|. To set a |
| 1947 |
% fake boolean to |true|, use |\settrue{foo}|, and to make |
| 1948 |
% it false, use |\setfalse{foo}|. |
| 1949 |
% \begin{macrocode} |
| 1950 |
\newcommand\newnepboolean[1]{% |
| 1951 |
\settrue{#1}% |
| 1952 |
} |
| 1953 |
\newcommand\settrue[1]{% |
| 1954 |
\expandafter\gdef\csname if#1\endcsname##1##2{##1}% |
| 1955 |
} |
| 1956 |
\newcommand\setfalse[1]{% |
| 1957 |
\expandafter\gdef\csname if#1\endcsname##1##2{##2}% |
| 1958 |
} |
| 1959 |
% \end{macrocode} |
| 1960 |
% \end{macro}\end{macro}\end{macro} |
| 1961 |
% The following code makes a lot of items (``posten'') break to a new |
| 1962 |
% page immediately. We define the maximum number of |
| 1963 |
% items that fit on a letter. For the best result, |
| 1964 |
% use |\nieuwepagina| in the |factuur| environment |
| 1965 |
% to make a new page. This only does something if |
| 1966 |
% the user has activated multiple pages with |
| 1967 |
% |\meerpaginas|.\par |
| 1968 |
% We define a counter |factuur@aantalPosten| to |
| 1969 |
% count the number of times |\post| is used. |
| 1970 |
% \begin{macrocode} |
| 1971 |
\newcounter{factuur@aantalPosten} |
| 1972 |
\setcounter{factuur@aantalPosten}{0} |
| 1973 |
|
| 1974 |
\newboolean{factuur@meerderePaginas} |
| 1975 |
\setboolean{factuur@meerderePaginas}{false} |
| 1976 |
\newcommand{\meerpaginas}{\setboolean{factuur@meerderePaginas}{true}} |
| 1977 |
\let\meerPaginas\meerpaginas |
| 1978 |
% \end{macrocode} |
| 1979 |
% The maximum number of items is set to \(19\). However, |
| 1980 |
% since the second page has no letter header, there is |
| 1981 |
% more space for items --- we set the maximum number to |
| 1982 |
% 25.\par |
| 1983 |
% To know on which page we are, we use a boolean |
| 1984 |
% |factuur@tweedePagina|, which is set to |false| |
| 1985 |
% by default. Using |\nieuwepagina| sets it to |
| 1986 |
% |true|. |
| 1987 |
% \begin{macrocode} |
| 1988 |
\newcounter{factuur@maxPosten} |
| 1989 |
\setcounter{factuur@maxPosten}{19} |
| 1990 |
|
| 1991 |
\newcounter{factuur@maxPostenTweedePagina} |
| 1992 |
\setcounter{factuur@maxPostenTweedePagina}{25} |
| 1993 |
|
| 1994 |
\newboolean{factuur@tweedePagina} |
| 1995 |
\setboolean{factuur@tweedePagina}{false} |
| 1996 |
% \end{macrocode} |
| 1997 |
% \begin{macro}{\valuta} |
| 1998 |
% |\valuta{foo}| defines the currency as |foo|. It is |
| 1999 |
% \euro by default. |
| 2000 |
% \begin{macrocode} |
| 2001 |
\NewDocumentCommand{\valuta}{ m }{% |
| 2002 |
\renewcommand\factuur@valutasym{#1}% |
| 2003 |
} |
| 2004 |
\newcommand\factuur@valutasym{\euro} |
| 2005 |
% \end{macrocode} |
| 2006 |
% \end{macro} |
| 2007 |
% \begin{macro}{\nieuwepagina} |
| 2008 |
% We define |\nieuwepagina| as an alternative to |
| 2009 |
% |\newpage| to be used within the |factuur| |
| 2010 |
% environment. It automatically ends |factuur|, |
| 2011 |
% creates a new page and |factuur| environment |
| 2012 |
% and forwards any relevant parameters to the new |
| 2013 |
% environment. |
| 2014 |
% \begin{macrocode} |
| 2015 |
\NewDocumentCommand{\nieuwepagina}{}{% |
| 2016 |
\setboolean{factuur@tweedePagina}{true}% |
| 2017 |
\setcounter{factuur@maxPosten}{\value{factuur@maxPostenTweedePagina}}% |
| 2018 |
% The following counter needs to be set to zero |
| 2019 |
% because tabular hates empty commands at the end |
| 2020 |
% of a table |
| 2021 |
\setcounter{factuur@aantalPosten}{0} & \vspace{-12pt}\\% |
| 2022 |
\subtotaal% |
| 2023 |
\end{factuur@subfactuur}% |
| 2024 |
\begin{center}% |
| 2025 |
\TAALpaginaGaatVerder% |
| 2026 |
\end{center}% |
| 2027 |
\newpage% |
| 2028 |
\begin{factuur@subfactuur}% |
| 2029 |
} |
| 2030 |
\let\nieuwePagina\nieuwepagina |
| 2031 |
% \end{macrocode} |
| 2032 |
% \end{macro} |
| 2033 |
% If |\post| is used outside of a |
| 2034 |
% |factuur| environment, we raise an error. |
| 2035 |
% \begin{macrocode} |
| 2036 |
\newcommand\factuur@post@err[2]{% |
| 2037 |
\FactuurError@verdwaald{\protect\post}% |
| 2038 |
} |
| 2039 |
\let\post\factuur@post@err |
| 2040 |
% \end{macrocode} |
| 2041 |
% If |\procent| is used outside of a |
| 2042 |
% |factuur| environment, we raise an error. |
| 2043 |
% \begin{macrocode} |
| 2044 |
\newcommand\factuur@procent@err[2]{%procent buiten factuur |
| 2045 |
\FactuurError@verdwaald{\protect\procent}% |
| 2046 |
} |
| 2047 |
\let\procent\factuur@procent@err |
| 2048 |
% \end{macrocode} |
| 2049 |
% \begin{macro}{\factuur@invul} |
| 2050 |
% |\factuur@invul{item}| creates |item| without |
| 2051 |
% associating a value to it. We also set a boolean |
| 2052 |
% |factuur@TotaalVerbokt|\footnote{% |
| 2053 |
% Jesse: I am unsure what the origin of |
| 2054 |
% the word ``verbokt'' is here. I assume |
| 2055 |
% it is loaned from the German ``verbockt'', which |
| 2056 |
% means ``ruined''. I can only guess at the vulgar |
| 2057 |
% words that preceded it.} to |true|, which makes |
| 2058 |
% it impossible to calculate the subtotal.\par |
| 2059 |
% Later, this macro will be used as |\invul|. |
| 2060 |
% \begin{macrocode} |
| 2061 |
\newcommand\factuur@invul[1]{% |
| 2062 |
\settrue{factuur@TotaalVerbokt}% |
| 2063 |
\factuur@zetpostnep{#1}{\dotfill}% |
| 2064 |
} |
| 2065 |
% \end{macrocode} |
| 2066 |
% \end{macro} |
| 2067 |
% If |\invul| is used outside of a |
| 2068 |
% |factuur| environment, we raise an error. |
| 2069 |
% \begin{macrocode} |
| 2070 |
\newcommand\factuur@invul@err[1]{% |
| 2071 |
\FactuurError@verdwaald{\protect\invul}% |
| 2072 |
} |
| 2073 |
\let\invul\factuur@invul@err |
| 2074 |
% \end{macrocode} |
| 2075 |
% If |\subtotaal| is used outside a |factuur| environment, |
| 2076 |
% we throw an error. |
| 2077 |
% \begin{macrocode} |
| 2078 |
\newcommand\factuur@subtotaal@err{% |
| 2079 |
\FactuurError@verdwaald{\protect\subtotaal}% |
| 2080 |
} |
| 2081 |
\let\subtotaal\factuur@subtotaal@err |
| 2082 |
% \end{macrocode} |
| 2083 |
% \begin{macrocode} |
| 2084 |
\newnepboolean{factuur@TotaalVerbokt}% |
| 2085 |
% We construct some internal macros. |
| 2086 |
% \begin{macrocode} |
| 2087 |
\newcommand\factuur@zetpostnep[2]{% |
| 2088 |
\factuur@zetpostraw{#1}{\multicolumn{5}{r}{#2}}% |
| 2089 |
} |
| 2090 |
\newcommand\factuur@zetpostraw[2]{% |
| 2091 |
\vspace{2mm} |
| 2092 |
\parbox[b]{\textwidth*3/4}{#1} & #2 \\ |
| 2093 |
} |
| 2094 |
% \end{macrocode} |
| 2095 |
% From this point on, the code is written in the |
| 2096 |
% \hologo{LaTeX3} language. We use it because it |
| 2097 |
% supports actual floating points, which fixes several |
| 2098 |
% issues this package used to have. |
| 2099 |
% \begin{macrocode} |
| 2100 |
\ExplSyntaxOn |
| 2101 |
% \end{macrocode} |
| 2102 |
% |\g_aes_total_fp| will be the floating point which |
| 2103 |
% will save the total amount in invoices. |
| 2104 |
% \begin{macrocode} |
| 2105 |
\fp_new:N \g_aes_total_fp |
| 2106 |
% \end{macrocode} |
| 2107 |
% \begin{environment}{factuur} |
| 2108 |
% The |factuur| environment will be used to generate |
| 2109 |
% our invoices. It sets the total amount to zero, |
| 2110 |
% defines macros as they should (instead of producing |
| 2111 |
% errors), and loads the |factuur@subfactuur| |
| 2112 |
% environment, which is the actual table that the |
| 2113 |
% invoice generates. At the end, |factuur| showcases |
| 2114 |
% the total invoice amount. |
| 2115 |
% \begin{macrocode} |
| 2116 |
\NewDocumentEnvironment{factuur}{}{% \begin |
| 2117 |
\fp_gset:Nn \g_aes_total_fp { 0 } |
| 2118 |
\setfalse{factuur@TotaalVerbokt} |
| 2119 |
% |
| 2120 |
\let\post\factuur@post |
| 2121 |
\let\procent\factuur@procent |
| 2122 |
\let\invul\factuur@invul |
| 2123 |
\let\subtotaal\factuur@subtotaal |
| 2124 |
\begin{factuur@subfactuur} |
| 2125 |
}{% \end |
| 2126 |
\hline\hline\\[-2mm] |
| 2127 |
% Display total, or dots if verbokt |
| 2128 |
\iffactuur@TotaalVerbokt{% |
| 2129 |
\bfseries\TAALtotaal & \multicolumn{5}{r}{\dotfill} |
| 2130 |
}{% |
| 2131 |
\factuur@zetpost{ \bfseries\TAALtotaal }{ |
| 2132 |
\g_aes_total_fp |
| 2133 |
} |
| 2134 |
} \\ |
| 2135 |
\end{factuur@subfactuur} |
| 2136 |
\let\post\factuur@post@err |
| 2137 |
\let\procent\factuur@procent@err |
| 2138 |
\let\invul\factuur@invul@err |
| 2139 |
\let\subtotaal\factuur@subtotaal@err |
| 2140 |
} |
| 2141 |
% \end{macrocode} |
| 2142 |
% \end{environment} |
| 2143 |
% \begin{environment}{factuur@subfactuur} |
| 2144 |
% |factuur@subfactuur| simply generates a table. The |
| 2145 |
% columns are\\ |
| 2146 |
% \begin{tabular}{lccrcl} |
| 2147 |
% Description & Minus sign & Currency |
| 2148 |
% symbol & Wholes & Decimal separator & Cents |
| 2149 |
% \end{tabular} |
| 2150 |
% \begin{macrocode} |
| 2151 |
\newenvironment{factuur@subfactuur}{% \begin |
| 2152 |
% tabel: desc, minus, currency, wholes, decimal sep, cents |
| 2153 |
\begin{tabular}{lc@{}c@{}r@{}c@{}l} |
| 2154 |
\bfseries \TAALomschrijving & \multicolumn{5}{r}{\bfseries \TAALbedrag} |
| 2155 |
\\ |
| 2156 |
\hline\hline \\[-2mm] |
| 2157 |
}{% \end |
| 2158 |
\end{tabular} |
| 2159 |
} |
| 2160 |
% \end{macrocode} |
| 2161 |
% \end{environment} |
| 2162 |
% \begin{macro}{\factuur@iftotalnegative} |
| 2163 |
% |\factuur@iftotalnegative{iftrue}{iffalse}| checks |
| 2164 |
% whether the total amount is negative, and runs the |
| 2165 |
% corresponding macros. |
| 2166 |
% \begin{macrocode} |
| 2167 |
\newcommand\factuur@iftotalnegative[2]{ |
| 2168 |
\fp_compare:nNnTF { \g_aes_total_fp } < { 0 } { #1 } { #2 } |
| 2169 |
} |
| 2170 |
% \end{macrocode} |
| 2171 |
% \end{macro} |
| 2172 |
% \begin{macro}{\factuur@subtotaal} |
| 2173 |
% |\factuur@subtotaal| displays the current total |
| 2174 |
% amount. It only works within a |factuur| environment. |
| 2175 |
% \begin{macrocode} |
| 2176 |
\newcommand\factuur@subtotaal{ |
| 2177 |
\iffactuur@TotaalVerbokt{ |
| 2178 |
\PackageError{aeskwadraatfactuur}{\protect\subtotaal\space |
| 2179 |
kan~niet~meer~na~\protect\invul}{} |
| 2180 |
}{ |
| 2181 |
\hline\\[-2mm] |
| 2182 |
\factuur@zetpost{ \bfseries\TAALsubtotaal }{ |
| 2183 |
\g_aes_total_fp |
| 2184 |
} |
| 2185 |
} |
| 2186 |
} |
| 2187 |
% \end{macrocode} |
| 2188 |
% \end{macro} |
| 2189 |
% \begin{macro}{\factuur@post} |
| 2190 |
% |\factuur@post{desc}{amount}| generates an item (``post'') |
| 2191 |
% with a description and amount. The amount is added to |
| 2192 |
% the total. implemented in |factuur| environments as |\post|. |
| 2193 |
% \begin{macrocode} |
| 2194 |
\newcommand\factuur@post[2]{ |
| 2195 |
\ifthenelse{ |
| 2196 |
\value{factuur@aantalPosten} = \value{factuur@maxPosten} |
| 2197 |
}{\nieuwepagina}{} |
| 2198 |
\addtocounter{factuur@aantalPosten}{1} |
| 2199 |
% We want decimal point, not comma |
| 2200 |
\tl_set:Nn \@@_factuur_input_tl { #2 } |
| 2201 |
\tl_replace_once:Nnn \@@_factuur_input_tl { , } { . } |
| 2202 |
% |
| 2203 |
\fp_gadd:Nn \g_aes_total_fp { \@@_factuur_input_tl } |
| 2204 |
\factuur@zetpost { #1 } { \@@_factuur_input_tl } |
| 2205 |
} |
| 2206 |
% \end{macrocode} |
| 2207 |
% \end{macro} |
| 2208 |
% \begin{macro}{\factuur@procent} |
| 2209 |
% Similar to |\factuur@post|, except that it adds a |
| 2210 |
% percentage to the current total amount. |
| 2211 |
% \begin{macrocode} |
| 2212 |
\newcommand\factuur@procent[2]{ |
| 2213 |
% We want decimal point, not comma |
| 2214 |
\tl_set:Nn \@@_factuur_input_tl { #2 } |
| 2215 |
\tl_replace_once:Nnn \@@_factuur_input_tl { , } { . } |
| 2216 |
% |
| 2217 |
\fp_set:Nn \@@_percent_output_fp { |
| 2218 |
\@@_factuur_input_tl * \g_aes_total_fp / 100 } |
| 2219 |
\fp_gadd:Nn \g_aes_total_fp { \@@_percent_output_fp } |
| 2220 |
% Convert percentage to match regional decimal seperator |
| 2221 |
\tl_replace_once:Nnn \@@_factuur_input_tl { . } { \TAALdecimaalsym } |
| 2222 |
\factuur@zetpost{ #1~(\@@_factuur_input_tl\%) }{ \@@_percent_output_fp } |
| 2223 |
} |
| 2224 |
\tl_new:N \@@_factuur_input_tl |
| 2225 |
\fp_new:N \@@_percent_output_fp |
| 2226 |
% \end{macrocode} |
| 2227 |
% \end{macro} |
| 2228 |
% \begin{macro}{\factuur@zetpost} |
| 2229 |
% |\factuur@zetpost| displays an item in the current |
| 2230 |
% invoice. |
| 2231 |
% \begin{macrocode} |
| 2232 |
\newcommand\factuur@zetpost[2]{ |
| 2233 |
\fp_gset:Nn \@@_post_val_fp {#2} |
| 2234 |
\factuur@zetpostraw{ #1 }{ |
| 2235 |
\@@_fp_display_value:N \@@_post_val_fp |
| 2236 |
} |
| 2237 |
} |
| 2238 |
\fp_new:N \@@_post_val_fp |
| 2239 |
% \end{macrocode} |
| 2240 |
% \end{macro} |
| 2241 |
% TODO: The following code requires \textsf{l3doc} to |
| 2242 |
% be typeset properly (\textsf{ltxdoc} is incompatible |
| 2243 |
% with the underscores). This does require transitioning. |
| 2244 |
% \begin{macrocode} |
| 2245 |
\cs_new:Nn \@@_fp_display_value:N { |
| 2246 |
% Round value to whole cents |
| 2247 |
\fp_gset:Nn \@@_display_fp { \fp_eval:n { round ( #1 , 2 ) } } |
| 2248 |
% Get the sign |
| 2249 |
\fp_gset:Nn \@@_display_sign_fp { \fp_sign:n { \@@_display_fp } } |
| 2250 |
% Get the wholes |
| 2251 |
\int_gset:Nn \@@_display_wholes_int { \fp_to_int:n { \fp_eval:n { |
| 2252 |
abs ( trunc ( \@@_display_fp ) ) } } } |
| 2253 |
% Get the cents |
| 2254 |
\int_gset:Nn \@@_display_cents_int { \fp_eval:n { |
| 2255 |
( abs ( \@@_display_fp ) - \@@_display_wholes_int )*100 } } |
| 2256 |
% gsets are necessary because the & ends groups, therefore |
| 2257 |
% cancelling the definitions! |
| 2258 |
% |
| 2259 |
\fp_compare:nNnT { \@@_display_sign_fp } = { -1 } { -- } |
| 2260 |
& |
| 2261 |
\factuur@valutasym~ |
| 2262 |
& |
| 2263 |
\@@_int_to_thousands:N \@@_display_wholes_int |
| 2264 |
& |
| 2265 |
\TAALdecimaalsym |
| 2266 |
& |
| 2267 |
\@@_display_cents:N \@@_display_cents_int |
| 2268 |
} |
| 2269 |
\fp_new:N \@@_display_sign_fp |
| 2270 |
\int_new:N \@@_display_wholes_int |
| 2271 |
\int_new:N \@@_display_cents_int |
| 2272 |
\fp_new:N \@@_display_fp |
| 2273 |
\cs_new:Nn \@@_int_to_thousands:N { |
| 2274 |
\int_set_eq:NN \@@_thousands_split_int #1 |
| 2275 |
\int_while_do:nNnn { \@@_thousands_split_int } > { 999 } { |
| 2276 |
\int_set:Nn \@@_thousands_split_next_int { |
| 2277 |
\int_div_truncate:nn { \@@_thousands_split_int } { 1000 } } |
| 2278 |
\tl_put_left:Ne \@@_thousands_tl { |
| 2279 |
\TAALduizendsym \@@_pad_to_three:n { |
| 2280 |
\@@_thousands_split_int - \@@_thousands_split_next_int*1000 } } |
| 2281 |
\int_set_eq:NN \@@_thousands_split_int \@@_thousands_split_next_int |
| 2282 |
} |
| 2283 |
\tl_put_left:Ne \@@_thousands_tl { |
| 2284 |
\int_to_arabic:n { \@@_thousands_split_int } } |
| 2285 |
\@@_thousands_tl |
| 2286 |
} |
| 2287 |
\int_new:N \@@_thousands_split_int |
| 2288 |
\int_new:N \@@_thousands_split_next_int |
| 2289 |
\tl_new:N \@@_thousands_tl |
| 2290 |
\cs_new:Nn \@@_pad_to_three:n { |
| 2291 |
\int_compare:nNnTF { #1 } < { 100 } |
| 2292 |
{ |
| 2293 |
\int_compare:nNnTF { #1 } < { 10 } |
| 2294 |
{ |
| 2295 |
00\int_to_arabic:n { #1 } |
| 2296 |
} |
| 2297 |
{ |
| 2298 |
0\int_to_arabic:n { #1 } |
| 2299 |
} |
| 2300 |
} |
| 2301 |
{ |
| 2302 |
\int_to_arabic:n { #1 } |
| 2303 |
} |
| 2304 |
} |
| 2305 |
|
| 2306 |
\cs_new:Nn \@@_display_cents:N { |
| 2307 |
\int_compare:nNnTF{ #1 } < { 10 } |
| 2308 |
{ |
| 2309 |
0\int_use:N #1 |
| 2310 |
} |
| 2311 |
{ |
| 2312 |
\int_use:N #1 |
| 2313 |
} |
| 2314 |
} |
| 2315 |
\ExplSyntaxOff |
| 2316 |
% \end{macrocode} |
| 2317 |
% The following code enables integration with the class |
| 2318 |
% \textsf{aeskwadraatbrief}.\par |
| 2319 |
% First, we define a command that runs if \textsf{aeskwadraatbrief} |
| 2320 |
% is not loaded. |
| 2321 |
% \begin{macrocode} |
| 2322 |
\newcommand\factuur@geenaeskwadraatbrief{ |
| 2323 |
\newenvironment{factuurbrief}[1]{ |
| 2324 |
\PackageError{aeskwadraatfactuur}{% |
| 2325 |
Alleen gedefinieerd binnen de aeskwadraatbrief-class} |
| 2326 |
{Gebruik \protect\documentclass{aeskwadraatbrief}.} |
| 2327 |
}{} |
| 2328 |
} |
| 2329 |
% \end{macrocode} |
| 2330 |
% Now, we define a command that runs if \textsf{aeskwadraatbrief} |
| 2331 |
% is loaded. |
| 2332 |
% \begin{macrocode} |
| 2333 |
\newcommand\factuur@welaeskwadraatbrief{ |
| 2334 |
% \end{macrocode} |
| 2335 |
% |factuur@teruggave| is a boolean used in |\creditbrief|. |
| 2336 |
% \begin{macrocode} |
| 2337 |
\newboolean{factuur@teruggave} |
| 2338 |
\setboolean{factuur@teruggave}{false} |
| 2339 |
\newcommand{\creditnota}{\setboolean{factuur@teruggave}{true}} |
| 2340 |
% \end{macrocode} |
| 2341 |
% Here follow some user commands. |
| 2342 |
% \begin{macro}{\betalingstermijn} |
| 2343 |
% |\betalingstermijn{days}| sets the term of payment |
| 2344 |
% to |days|. By default, it is \(28\). |
| 2345 |
% \begin{macrocode} |
| 2346 |
\newcommand\aes@betalingstermijn{28} |
| 2347 |
\NewDocumentCommand{\betalingstermijn}{ m }{% |
| 2348 |
\renewcommand\aes@betalingstermijn{##1}% |
| 2349 |
} |
| 2350 |
% \end{macrocode} |
| 2351 |
% \end{macro} |
| 2352 |
% \begin{macro}{\binnenlandbetaling} |
| 2353 |
% |\binnenlandbetaling| makes the invoice fit for domestic |
| 2354 |
% payments. |
| 2355 |
% \begin{macro}{\buitenlandbetaling} |
| 2356 |
% |\buitenlandbetaling| makes the invoice fit |
| 2357 |
% for foreign payments. |
| 2358 |
% \begin{macrocode} |
| 2359 |
\newboolean{factuur@buitenland} |
| 2360 |
\NewDocumentCommand{\buitenlandbetaling}{}{% |
| 2361 |
\setboolean{factuur@buitenland}{true}} |
| 2362 |
\NewDocumentCommand{\binnenlandbetaling}{}{% |
| 2363 |
\setboolean{factuur@buitenland}{false}} |
| 2364 |
% \end{macrocode} |
| 2365 |
% \end{macro}\end{macro} |
| 2366 |
% \begin{macro}{\btwverlegd} |
| 2367 |
% |\btwverlegd| enables BTW reverse charge |
| 2368 |
% (``BTW verlegging''). |
| 2369 |
% \begin{macrocode} |
| 2370 |
\newboolean{factuur@btwverlegd} |
| 2371 |
\newcommand\btwverlegd{\setboolean{factuur@btwverlegd}{true}} |
| 2372 |
% \end{macrocode} |
| 2373 |
% \end{macro} |
| 2374 |
% \begin{macro}{\betaalinstructie} |
| 2375 |
% |\betaalinstructie{instruc}| sets the payment |
| 2376 |
% instruction to |instruc|. |
| 2377 |
% \begin{macrocode} |
| 2378 |
\newcommand\aes@betaalinstructie{} |
| 2379 |
\NewDocumentCommand{\betaalinstructie}{ m }{% |
| 2380 |
\renewcommand\aes@betaalinstructie{##1}} |
| 2381 |
% \end{macrocode} |
| 2382 |
% \end{macro} |
| 2383 |
% \begin{macro}{\autobetaalinstructie} |
| 2384 |
% |\autobetaalinstructie| automatically sets the |
| 2385 |
% payment instruction. It is called by the package, |
| 2386 |
% so no need to do it manually unless |\betaalinstructie| |
| 2387 |
% is used. |
| 2388 |
% \begin{macrocode} |
| 2389 |
\NewDocumentCommand\autobetaalinstructie{}{ |
| 2390 |
\renewcommand\aes@betaalinstructie{ |
| 2391 |
\ifthenelse{\boolean{factuur@teruggave}}{ |
| 2392 |
\TAALterugkrijginstructie |
| 2393 |
}{ |
| 2394 |
\ifthenelse{\boolean{factuur@buitenland}}{ |
| 2395 |
\def\@IBANspul{, BIC:~\aes@BIC} |
| 2396 |
}{ |
| 2397 |
\def\@IBANspul{} |
| 2398 |
} |
| 2399 |
\TAALbetaalinstructie{\aes@betalingstermijn}{\aes@bank} |
| 2400 |
{\aes@IBAN}{\@IBANspul}{\aes@rekeninghouder}{\factuur@ovv} |
| 2401 |
} |
| 2402 |
} |
| 2403 |
} |
| 2404 |
\autobetaalinstructie |
| 2405 |
% \end{macrocode} |
| 2406 |
% \end{macro} |
| 2407 |
% \begin{macrocode} |
| 2408 |
\newboolean{factuur@herinnering} |
| 2409 |
\newboolean{factuur@aanmaning} |
| 2410 |
\setboolean{factuur@herinnering}{false} |
| 2411 |
\setboolean{factuur@aanmaning}{false} |
| 2412 |
\newcommand\factuur@ovv{\aes@onsk} |
| 2413 |
\newcommand\factuur@titel{} |
| 2414 |
% \end{macrocode} |
| 2415 |
% \begin{macro}{\ovv} |
| 2416 |
% \begin{macro}{\autoovv} |
| 2417 |
% Use |\ovv{reference}| to set a payment reference. Alternatively, |
| 2418 |
% use |\autoovv| to do so automatically. |
| 2419 |
% \begin{macrocode} |
| 2420 |
\newcommand\ovv[1]{\renewcommand\factuur@ovv{##1}} |
| 2421 |
% Reset ovv to automatic (same as our payment reference) |
| 2422 |
\newcommand\autoovv{\ovv{\aes@onsk}} |
| 2423 |
% \end{macrocode} |
| 2424 |
% \end{macro}\end{macro} |
| 2425 |
% \begin{macro}{\herinnering} |
| 2426 |
% |\herinnering| makes the invoice letter a reminder. |
| 2427 |
% \begin{macrocode} |
| 2428 |
\newcommand\herinnering{% |
| 2429 |
\setboolean{factuur@herinnering}{true}% |
| 2430 |
\setboolean{factuur@aanmaning}{false}} |
| 2431 |
\newcommand\geenherinnering{\setboolean{factuur@herinnering}{false}} |
| 2432 |
% \end{macrocode} |
| 2433 |
% \end{macro} |
| 2434 |
% \begin{macro}{\aanmaning} |
| 2435 |
% |\aanmaning| makes the letter an \textit{assertive reminder}. |
| 2436 |
% \begin{macrocode} |
| 2437 |
\newcommand\aanmaning{% |
| 2438 |
\setboolean{factuur@aanmaning}{true}% |
| 2439 |
\setboolean{factuur@herinnering}{false}} |
| 2440 |
\newcommand\geenaanmaning{\setboolean{factuur@aanmaning}{false}} |
| 2441 |
% \end{macrocode} |
| 2442 |
% \end{macro} |
| 2443 |
% \begin{macro}{\factuurtitel} |
| 2444 |
% \begin{macro}{\autofactuurtitel} |
| 2445 |
% |\factuurtitel{title}| sets the title of the invoice. |
| 2446 |
% Alternatively, use |\autofactuurtitel| to do so |
| 2447 |
% automatically. |
| 2448 |
% \begin{macrocode} |
| 2449 |
\newcommand\factuurtitel[1]{\renewcommand\factuur@titel{##1}} |
| 2450 |
\newcommand\autofactuurtitel{\factuurtitel{}} |
| 2451 |
|
| 2452 |
\newcommand\@autofactuurtitel{ |
| 2453 |
\ifthenelse{\boolean{factuur@teruggave}}{% |
| 2454 |
\TAALteruggave% |
| 2455 |
}{% |
| 2456 |
\ifthenelse{\boolean{factuur@herinnering}}{% |
| 2457 |
\TAALherinnering% |
| 2458 |
}{% |
| 2459 |
% |
| 2460 |
\ifthenelse{\boolean{factuur@aanmaning}}{% |
| 2461 |
\TAALaanmaning% |
| 2462 |
}{ \TAALfactuur% |
| 2463 |
} |
| 2464 |
}% |
| 2465 |
}% |
| 2466 |
} |
| 2467 |
% \end{macrocode} |
| 2468 |
% \end{macro}\end{macro} |
| 2469 |
% \begin{macrocode} |
| 2470 |
\newcounter{factuur@brief} |
| 2471 |
% \end{macrocode} |
| 2472 |
% \begin{environment}{factuurbrief} |
| 2473 |
% |factuurbrief| is used to generate a letter for |
| 2474 |
% an invoice. |
| 2475 |
% \begin{macrocode} |
| 2476 |
\NewDocumentEnvironment{factuurbrief}{ m }{ |
| 2477 |
\global\def\factuur@briefadres{##1} |
| 2478 |
\ifcsname factuur@brief\thefactuur@brief teruggave\endcsname |
| 2479 |
\csname factuur@brief\thefactuur@brief teruggave\endcsname |
| 2480 |
\else |
| 2481 |
\setboolean{factuur@teruggave}{false} |
| 2482 |
\PackageWarning{aeskwadraatfactuur}{factuurbrief title may be wrong, |
| 2483 |
please rerun the file.} |
| 2484 |
\fi |
| 2485 |
% |
| 2486 |
\begin{brief}{\factuur@briefadres} |
| 2487 |
\geenopening |
| 2488 |
{\aes@fonttitel\ifthenelse{\equal{\factuur@titel}{}}{% |
| 2489 |
\@autofactuurtitel% |
| 2490 |
}{% |
| 2491 |
\factuur@titel% |
| 2492 |
}% |
| 2493 |
}% |
| 2494 |
\par |
| 2495 |
\begin{factuur} |
| 2496 |
}{ |
| 2497 |
\end{factuur} |
| 2498 |
\par |
| 2499 |
% Remember whether total is negative, write to aux |
| 2500 |
\factuur@iftotalnegative{% |
| 2501 |
\def\factuur@tempbool{true}% |
| 2502 |
}{% |
| 2503 |
\def\factuur@tempbool{false}% |
| 2504 |
} |
| 2505 |
% TODO: Check if teruggave has changed and throw warning |
| 2506 |
\newcommand\factuur@auxoutput{% |
| 2507 |
\string\expandafter\string\gdef\noexpand\csname |
| 2508 |
factuur@brief\thefactuur@brief teruggave\string\endcsname% |
| 2509 |
{\string\setboolean{factuur@teruggave}{\factuur@tempbool}}% |
| 2510 |
}% |
| 2511 |
\setboolean{factuur@teruggave}{\factuur@tempbool} |
| 2512 |
\write\@auxout{% |
| 2513 |
\factuur@auxoutput% |
| 2514 |
}% |
| 2515 |
\bigskip |
| 2516 |
\ifthenelse{\boolean{factuur@btwverlegd}}{ |
| 2517 |
\textbf{\TAALbtwverlegd} |
| 2518 |
}{} |
| 2519 |
\aes@betaalinstructie |
| 2520 |
\end{brief} |
| 2521 |
\stepcounter{factuur@brief} |
| 2522 |
} |
| 2523 |
% \end{macrocode} |
| 2524 |
% \end{environment} |
| 2525 |
% \begin{macrocode} |
| 2526 |
} |
| 2527 |
|
| 2528 |
\provideboolean{aes@inbrief} |
| 2529 |
% Check whether we are in aeskwadraatbrief |
| 2530 |
\ifthenelse{\boolean{aes@inbrief}}{ |
| 2531 |
\factuur@welaeskwadraatbrief |
| 2532 |
}{ |
| 2533 |
\factuur@geenaeskwadraatbrief |
| 2534 |
} |
| 2535 |
% \end{macrocode} |
| 2536 |
% \begin{macrocode} |
| 2537 |
%</factuur> |
| 2538 |
% \end{macrocode} |
| 2539 |
% |
| 2540 |
% |
| 2541 |
% |
| 2542 |
% |
| 2543 |
% |
| 2544 |
% \subsection{\textsf{aeskwadraatbrief}} |
| 2545 |
% \setcounter{CodelineNo}{0} |
| 2546 |
% \begin{macrocode} |
| 2547 |
%<*brief> |
| 2548 |
%% Copyright (C) 2008-2014 TeXniCie A-Eskwadraat |
| 2549 |
%% <[email protected]> |
| 2550 |
|
| 2551 |
\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 2552 |
\ProvidesClass{aeskwadraatbrief}[2025/06/13 v1.0.1 A-Eskwadraat letter class] |
| 2553 |
|
| 2554 |
\RequirePackage{aeskwadraat,aeskwadraattaal} |
| 2555 |
\RequirePackage{graphicx} |
| 2556 |
\RequirePackage{ifthen} % ifthen is nu nodig vanwege \newboolean verderop |
| 2557 |
\RequirePackage{kix} |
| 2558 |
\RequirePackage{xspace} |
| 2559 |
\RequirePackage{iftex} |
| 2560 |
% \end{macrocode} |
| 2561 |
% We define some booleans and corresponding package |
| 2562 |
% optinos. |
| 2563 |
% \begin{macrocode} |
| 2564 |
\newboolean{aes@inbrief} |
| 2565 |
\setboolean{aes@inbrief}{true} |
| 2566 |
\newboolean{aes@optdebug} |
| 2567 |
\newboolean{aes@optkleur} |
| 2568 |
\newboolean{aes@optfooter} |
| 2569 |
\newboolean{aes@ontour} |
| 2570 |
\newboolean{aes@betadag} |
| 2571 |
\RequirePackage{aeskwadraattaal} |
| 2572 |
\DeclareTaalOpties % aeskwadraattaal languages |
| 2573 |
\DeclareOption{debug}{\setboolean{aes@optdebug}{true}} |
| 2574 |
\DeclareOption{nodebug}{\setboolean{aes@optdebug}{false}} |
| 2575 |
\DeclareOption{kleur}{\setboolean{aes@optkleur}{true}} |
| 2576 |
\DeclareOption{nokleur}{\setboolean{aes@optkleur}{false}} |
| 2577 |
\DeclareOption{geenkleur}{\setboolean{aes@optkleur}{false}} |
| 2578 |
\DeclareOption{footer}{\setboolean{aes@optfooter}{true}} |
| 2579 |
\DeclareOption{nofooter}{\setboolean{aes@optfooter}{false}} |
| 2580 |
\DeclareOption{ontour}{\setboolean{aes@ontour}{true}} |
| 2581 |
\DeclareOption{betadag}{\setboolean{aes@betadag}{true}} |
| 2582 |
\DeclareOption*{% |
| 2583 |
\PassOptionsToClass{\CurrentOption}{article}} |
| 2584 |
\ExecuteOptions{nodebug,nokleur,footer} |
| 2585 |
\ProcessOptions* % *, to parse in order (essential for aeskwadraattaal) |
| 2586 |
\LaadBabel |
| 2587 |
\LoadClass{article} |
| 2588 |
% \end{macrocode} |
| 2589 |
% We set the page layout using the \textsf{geometry} |
| 2590 |
% package. |
| 2591 |
% \begin{macrocode} |
| 2592 |
\RequirePackage[a4paper, |
| 2593 |
left=21mm, |
| 2594 |
right=21mm, |
| 2595 |
top=117mm, |
| 2596 |
bottom=20mm]{geometry} |
| 2597 |
\setlength\parindent{0pt} |
| 2598 |
\setlength\parskip{\baselineskip} |
| 2599 |
\setlength\textwidth{165mm} |
| 2600 |
\setlength\textheight{160mm} |
| 2601 |
% = 297 - 20 - 117 (A4 height - bottom margin - header height) |
| 2602 |
% footer pagestyle |
| 2603 |
\newcommand\ps@footer{ |
| 2604 |
\renewcommand\@oddhead{} |
| 2605 |
\renewcommand\@evenhead{} |
| 2606 |
\renewcommand\@oddfoot{% |
| 2607 |
\hspace{-1cm}% |
| 2608 |
\begin{minipage}[c]{0.6\textwidth} |
| 2609 |
\begin{flushleft} |
| 2610 |
\aes@fontfooter\TAALverenigingfooter% |
| 2611 |
\end{flushleft} |
| 2612 |
\end{minipage} |
| 2613 |
\ifthenelse{\boolean{aes@optkleur}}{}{% |
| 2614 |
\hfill% |
| 2615 |
\begin{minipage}[b][1mm][t]{4.6cm}% |
| 2616 |
\vspace*{-17mm}\par % UU logo is 5 cm on official |
| 2617 |
% letters, too |
| 2618 |
\includegraphics[scale=.65]{logos/UU-logo2011_ZWART} |
| 2619 |
\end{minipage} |
| 2620 |
}% |
| 2621 |
} |
| 2622 |
\let\@evenfoot\@oddfoot |
| 2623 |
} |
| 2624 |
% \end{macrocode} |
| 2625 |
% We use the \TeX{} definition of |\raggedright|, |
| 2626 |
% as the normal definition doesn't work.\par |
| 2627 |
% TODO: Investigate whether this is still true. |
| 2628 |
% \begin{macrocode} |
| 2629 |
\renewcommand\raggedright{\rightskip\z@ plus2em |
| 2630 |
\spaceskip.3333em |
| 2631 |
\xspaceskip.5em\relax} |
| 2632 |
% \end{macrocode} |
| 2633 |
% We set some font parameters. Note that the font |
| 2634 |
% is set depending on the compiler. Any non-\hologo{pdfLaTeX} |
| 2635 |
% compiler is assumed to be compatible with fontspec, |
| 2636 |
% i.e., either \hologo{LuaLaTeX} or \hologo{XeLaTeX}. |
| 2637 |
% \begin{center} |
| 2638 |
% \begin{tabular}{|>{\centering}p{.15\textwidth}|c|c|c|}\hline |
| 2639 |
% \textbf{Compiler} & \textbf{Roman font} & |
| 2640 |
% \textbf{Sans serif font} & \textbf{Mono font}\\\hline |
| 2641 |
% \hologo{pdfLaTeX} & Palatino & Helvetica & |
| 2642 |
% CM Typewriter\\\hline |
| 2643 |
% \hologo{LuaLaTeX}/\newline \hologo{XeLaTeX} & |
| 2644 |
% TeX Gyre Pagella & TeX Gyre Heros & Latin Modern Mono\\\hline |
| 2645 |
% \end{tabular} |
| 2646 |
% \end{center} |
| 2647 |
% \begin{macrocode} |
| 2648 |
\newcommand\aes@fontheader{\fontsize{8}{11}\selectfont\sffamily} |
| 2649 |
\newcommand\aes@fonttext{\fontsize{9}{12}\selectfont} |
| 2650 |
\newcommand\aes@fontnaam{\fontsize{10}{12}\selectfont\sffamily\bfseries} |
| 2651 |
\newcommand\aes@fontfooter{\fontsize{9.5}{11}\selectfont\slshape} |
| 2652 |
\newcommand\aes@fontadres{\fontsize{13}{15}\selectfont} |
| 2653 |
% |
| 2654 |
\renewcommand\familydefault{\rmdefault} |
| 2655 |
\renewcommand\seriesdefault{m} |
| 2656 |
\renewcommand\shapedefault{n} |
| 2657 |
% |
| 2658 |
\ifpdftex |
| 2659 |
% Deprecated LaTeX compilers use these fonts |
| 2660 |
\renewcommand\rmdefault{ppl} |
| 2661 |
\renewcommand\sfdefault{phv} |
| 2662 |
\renewcommand\ttdefault{cmtt} |
| 2663 |
\else |
| 2664 |
% LuaLaTeX and XeLaTeX |
| 2665 |
\RequirePackage{fontspec} |
| 2666 |
\setmainfont{TeX Gyre Pagella} |
| 2667 |
\setsansfont{TeX Gyre Heros} |
| 2668 |
\setmonofont{Latin Modern Mono} |
| 2669 |
\fi |
| 2670 |
% |
| 2671 |
\renewcommand\bfdefault{b} |
| 2672 |
\renewcommand\mddefault{m} |
| 2673 |
% |
| 2674 |
\renewcommand\itdefault{it} |
| 2675 |
\renewcommand\sldefault{sl} |
| 2676 |
\renewcommand\scdefault{sc} |
| 2677 |
\renewcommand\updefault{n} |
| 2678 |
% \end{macrocode} |
| 2679 |
% We don't want page numbers in letters, so we get rid |
| 2680 |
% of them. |
| 2681 |
% \begin{macrocode} |
| 2682 |
\pagestyle{empty} |
| 2683 |
% \end{macrocode} |
| 2684 |
% \begin{macro}{\welkleur}\begin{macro}{\geenkleur} |
| 2685 |
% To set the boolean |aes@optkleur|, it is possible to |
| 2686 |
% use |\welkleur| to set it to |true| or |\geenkleur| |
| 2687 |
% to set it to false. |
| 2688 |
% \begin{macrocode} |
| 2689 |
\NewDocumentCommand{\welkleur}{}{\setboolean{aes@optkleur}{true}} |
| 2690 |
\NewDocumentCommand{\geenkleur}{}{\setboolean{aes@optkleur}{false}} |
| 2691 |
% \end{macrocode} |
| 2692 |
% \end{macro}\end{macro} |
| 2693 |
% \begin{macro}{\afzendernaam} |
| 2694 |
% Use |\afzendernaam{name}| to set the name of the sender. |
| 2695 |
% By default, it is \aesnaam{}. |
| 2696 |
% \begin{macrocode} |
| 2697 |
\newcommand\aes@afzendernaam\TAALaesnaam |
| 2698 |
\newcommand\afzendernaam[1]{\renewcommand\aes@afzendernaam{#1}} |
| 2699 |
% \end{macrocode} |
| 2700 |
% \end{macro} |
| 2701 |
% \begin{macro}{\cienaam} |
| 2702 |
% Use |\cienaam{name}| to set the name of the committee |
| 2703 |
% in charge of sending the letter. |
| 2704 |
% \begin{macrocode} |
| 2705 |
\newcommand\aes@cienaam{\ClassWarningNoLine{aeskwadraatbrief}{% |
| 2706 |
Geen commissienaam gedefinieerd.\MessageBreak |
| 2707 |
Gebruik \protect\cienaam{TeXniCie}\space om het in te stellen}} |
| 2708 |
\newcommand\cienaam[1]{\renewcommand\aes@cienaam{#1}} |
| 2709 |
% \end{macrocode} |
| 2710 |
% \end{macro} |
| 2711 |
% The following macros are used to write \aesnaam{}'s |
| 2712 |
% financial info. |
| 2713 |
% \begin{macrocode} |
| 2714 |
\def\aes@kvknr{40479641} |
| 2715 |
\def\aes@btwnr{NL816588429B01} |
| 2716 |
\NewDocumentCommand{\girorekening}{}{% |
| 2717 |
\def\aes@bank{ING}% |
| 2718 |
\def\aes@giro{656927}% |
| 2719 |
\def\aes@BIC{INGBNL2A}% |
| 2720 |
\def\aes@IBAN{NL58 INGB 0000 6569 27}% |
| 2721 |
\def\aes@rekeninghouder{Studievereniging \aeskwadraat{} inz Fiscus}% |
| 2722 |
} |
| 2723 |
\NewDocumentCommand{\evenementenrekening}{}{% |
| 2724 |
\def\aes@bank{ING}% |
| 2725 |
\def\aes@giro{3743305}% |
| 2726 |
\def\aes@BIC{INGBNL2A}% |
| 2727 |
\def\aes@IBAN{NL67 INGB 0003 7433 05}% |
| 2728 |
\def\aes@rekeninghouder{Studievereniging \aeskwadraat{} inz Evenementen}% |
| 2729 |
} |
| 2730 |
\NewDocumentCommand{\ouderdagrekening}{}{% |
| 2731 |
\evenementenrekening% |
| 2732 |
\ClassWarningNoLine{aeskwadraatbrief}{Warning: The ouderdag account |
| 2733 |
has been cancelled!\MessageBreak |
| 2734 |
You probably want the event account,\MessageBreak |
| 2735 |
so I've set it for you.}% |
| 2736 |
} |
| 2737 |
\NewDocumentCommand{\introrekening}{}{% |
| 2738 |
\evenementenrekening% |
| 2739 |
\ClassWarningNoLine{aeskwadraatbrief}{Warning: The intro account |
| 2740 |
has been cancelled!\MessageBreak |
| 2741 |
You probably want the event account,\MessageBreak |
| 2742 |
so I've set it for you.}% |
| 2743 |
} |
| 2744 |
\NewDocumentCommand{\boekenrekening}{}{% |
| 2745 |
\def\aes@bank{ABN Amro}% |
| 2746 |
\def\aes@giro{50 7122 690}% |
| 2747 |
\def\aes@BIC{ABNANL2A}% |
| 2748 |
\def\aes@IBAN{NL69 ABNA 0507 1226 90}% |
| 2749 |
\def\aes@rekeninghouder{Boekencommissaris}% |
| 2750 |
} |
| 2751 |
\girorekening |
| 2752 |
% \end{macrocode} |
| 2753 |
% \begin{macro}{\uwk} |
| 2754 |
% |\uwk{reference}| adds a reference, used for invoices. |
| 2755 |
% Specifically, it sets the reference for the recipient. |
| 2756 |
% \begin{macrocode} |
| 2757 |
\newcommand\aes@uwk{} |
| 2758 |
\NewDocumentCommand{\uwk}{ m }{% |
| 2759 |
\renewcommand\aes@uwk{#1}% |
| 2760 |
} |
| 2761 |
% \end{macrocode} |
| 2762 |
% \end{macro} |
| 2763 |
% \begin{macro}{\onsk} |
| 2764 |
% Similarly to |\uwk|, |\onsk{reference}| adds the reference |
| 2765 |
% of the sender. |
| 2766 |
% \begin{macrocode} |
| 2767 |
\newcommand\aes@onsk{} |
| 2768 |
\NewDocumentCommand{\onsk}{ m }{% |
| 2769 |
\renewcommand\aes@onsk{#1}% |
| 2770 |
} |
| 2771 |
% \end{macrocode} |
| 2772 |
% \end{macro} |
| 2773 |
% The following macros are all used for providing some |
| 2774 |
% parameters for the header. |
| 2775 |
% \begin{macrocode} |
| 2776 |
\newcommand\aes@email{% |
| 2777 |
\ClassWarningNoLine{aeskwadraatbrief}{No e-mail address set.\MessageBreak |
| 2778 |
Use \protect\email{<cie>@a-eskwadraat.nl}\space to |
| 2779 |
\MessageBreak set it} |
| 2780 |
[email protected]% |
| 2781 |
} |
| 2782 |
\NewDocumentCommand{\email}{ m }{% |
| 2783 |
\renewcommand\aes@email{#1}% |
| 2784 |
} |
| 2785 |
\newcommand\aes@datum{\today} |
| 2786 |
\NewDocumentCommand{\datum}{ m }{% |
| 2787 |
\renewcommand\aes@datum{#1}% |
| 2788 |
} |
| 2789 |
\newcommand\aes@subject{\ClassWarningNoLine{aeskwadraatbrief}{ |
| 2790 |
No \protect\subject\space found. |
| 2791 |
\MessageBreak Use \protect\subject{subject}\space to set \MessageBreak |
| 2792 |
it. Default (empty) subject set}% |
| 2793 |
} |
| 2794 |
\NewDocumentCommand{\subject}{ m }{% |
| 2795 |
\renewcommand\aes@subject{#1} |
| 2796 |
} |
| 2797 |
\let\onderwerp\subject |
| 2798 |
% \end{macrocode} |
| 2799 |
% \begin{environment}{aes@blist} |
| 2800 |
% |aes@blist| is an environment used to typeset |
| 2801 |
% attachments. |
| 2802 |
% \begin{macrocode} |
| 2803 |
\newenvironment{aes@blist}{ |
| 2804 |
\begin{list}{\(\bullet\)}{% |
| 2805 |
\raggedright |
| 2806 |
\setlength\leftmargin{1em} |
| 2807 |
\setlength\rightmargin{0pt} |
| 2808 |
\setlength\labelwidth{0.6em} |
| 2809 |
\setlength\labelsep{0.3em} |
| 2810 |
\setlength\itemsep{0pt} |
| 2811 |
\setlength\topsep{0pt} |
| 2812 |
\setlength\parsep{0pt} |
| 2813 |
\setlength\partopsep{0pt} |
| 2814 |
\setlength\listparindent{0pt} |
| 2815 |
\setlength\itemindent{0em} |
| 2816 |
}% |
| 2817 |
}{% |
| 2818 |
\end{list}% |
| 2819 |
} |
| 2820 |
% \end{macrocode} |
| 2821 |
% \end{environment} |
| 2822 |
% \begin{macro}{\aes@aantalbijlagen} |
| 2823 |
% We define a fake counter |\aes@aantalbijlagen| to track |
| 2824 |
% the number of attachments. It has to be a macro to |
| 2825 |
% ensure that it is defined locally, respecting scoping. |
| 2826 |
% \begin{macrocode} |
| 2827 |
\newcommand\aes@aantalbijlagen{0} |
| 2828 |
\newcommand\aes@bijlage{} |
| 2829 |
% \end{macrocode} |
| 2830 |
% \end{macro} |
| 2831 |
% \begin{macro}{\geenbijlagen} |
| 2832 |
% |\geenbijlagen| means that there are no attachments. It |
| 2833 |
% is equivalent to |\bijlagen{}|, but slightly more |
| 2834 |
% efficient. |
| 2835 |
% \begin{macrocode} |
| 2836 |
\NewDocumentCommand{\geenbijlagen}{}{% |
| 2837 |
\renewcommand\aes@bijlage{}% |
| 2838 |
\renewcommand\aes@aantalbijlagen{0}% |
| 2839 |
} |
| 2840 |
% \end{macrocode} |
| 2841 |
% \end{macro} |
| 2842 |
% \begin{macro}{\bijlagen} |
| 2843 |
% |\bijlagen{attachments}| typesets a list of attachments, |
| 2844 |
% separated by |\item|s, and saves the number of attachments |
| 2845 |
% to |\aes@aantalbijlagen|.\par |
| 2846 |
% If no |\item| is used, the argument will be treated as one |
| 2847 |
% attachment. If only one attachment is found, no bullets will |
| 2848 |
% be added in the final product. |
| 2849 |
% \begin{macrocode} |
| 2850 |
\newsavebox{\aes@devnull}% |
| 2851 |
\newcounter{aes@telbijlagen}% |
| 2852 |
\NewDocumentCommand{\bijlagen}{ +m }{% |
| 2853 |
% First count the number of attachments and dump the |
| 2854 |
% argument to the savebox \aes@devnull. |
| 2855 |
\let\echtitem\item% |
| 2856 |
\setcounter{aes@telbijlagen}{0}% |
| 2857 |
\renewcommand\item{\stepcounter{aes@telbijlagen}}% |
| 2858 |
% We count the number of attachments as the number of |
| 2859 |
% uses of \item. If no \item is used, but the argument |
| 2860 |
% is non-empty, we will treat it as a single item later on. |
| 2861 |
\savebox{\aes@devnull}{#1}% |
| 2862 |
\let\item\echtitem% |
| 2863 |
% |
| 2864 |
% Correct aes@telbijlagen and fill \aes@bijlage. |
| 2865 |
\ifthenelse{\value{aes@telbijlagen}=0}{% |
| 2866 |
% There are no \items |
| 2867 |
\renewcommand\aes@bijlage{#1}% |
| 2868 |
\ifthenelse{\equal{#1}{}}{% |
| 2869 |
% There are no attachments. |
| 2870 |
}{% |
| 2871 |
% There is one attachment without \item |
| 2872 |
\setcounter{aes@telbijlagen}{1}% |
| 2873 |
}% |
| 2874 |
}{% |
| 2875 |
% There are \items |
| 2876 |
\ifthenelse{\value{aes@telbijlagen}=1}{% |
| 2877 |
% There is only one item: no bullets |
| 2878 |
\renewcommand\aes@bijlage{% |
| 2879 |
\renewcommand\item{}% Deletes the bullet |
| 2880 |
#1 |
| 2881 |
}% |
| 2882 |
}{% |
| 2883 |
% There are several \items, so we make a list |
| 2884 |
\renewcommand\aes@bijlage{% |
| 2885 |
\begin{aes@blist} |
| 2886 |
#1 |
| 2887 |
\end{aes@blist} |
| 2888 |
}% |
| 2889 |
}% |
| 2890 |
}% |
| 2891 |
% We save the number of attachments to \aes@aantalbijlagen |
| 2892 |
% \edef gives the command the current value, rather than the |
| 2893 |
% value of the counter at the time that the command is used |
| 2894 |
\edef\aes@aantalbijlagen{\theaes@telbijlagen}% |
| 2895 |
} |
| 2896 |
\let\bijlage\bijlagen |
| 2897 |
% \end{macrocode} |
| 2898 |
% \end{macro} |
| 2899 |
% In order to respect backwards compatibilty, we need to throw |
| 2900 |
% a warning if |\bijlages| is used. |
| 2901 |
% \begin{macrocode} |
| 2902 |
\NewDocumentCommand{\bijlages}{ +m }{% |
| 2903 |
\ClassWarningNoLine{aeskwadraatbrief}{% |
| 2904 |
The command \protect\bijlages\space is no longer supported.\MessageBreak% |
| 2905 |
Use \protect\bijlage\space or \protect\bijlagen.% |
| 2906 |
}% |
| 2907 |
\bijlagen{ #1 }% |
| 2908 |
} |
| 2909 |
% \end{macrocode} |
| 2910 |
% We define some useful macros. |
| 2911 |
% \begin{macro}{\aes@kixcode} |
| 2912 |
% |\aes@kixcode| sets a kix (customer index) code, |
| 2913 |
% and saves it to |\aes@kixcode|. See |
| 2914 |
% \url{https://nl.wikipedia.org/wiki/KIX-code}. |
| 2915 |
% \begin{macrocode} |
| 2916 |
\newcommand\aes@kixcode{} |
| 2917 |
\NewDocumentCommand{\kixcode}{ m }{% |
| 2918 |
\renewcommand\aes@kixcode{\scantokens{#1}}% |
| 2919 |
} |
| 2920 |
% \end{macrocode} |
| 2921 |
% \end{macro} |
| 2922 |
% \begin{macro}{\opening} |
| 2923 |
% |\opening| creates the opening paragraph of the letter. |
| 2924 |
% It also adds the letter header. |
| 2925 |
% \begin{macrocode} |
| 2926 |
\NewDocumentCommand{\opening}{ +m }{% |
| 2927 |
\setboolean{aes@openinggezien}{true}% |
| 2928 |
\aes@briefhoofd% |
| 2929 |
#1\vspace{0.5\baselineskip}\par% |
| 2930 |
} |
| 2931 |
\let\aanhef\opening |
| 2932 |
% \end{macrocode} |
| 2933 |
% \end{macro} |
| 2934 |
% \begin{macro}{\geenopening} |
| 2935 |
% |\geenopening| is used for adding the letter header |
| 2936 |
% without creating an opening paragraph. |
| 2937 |
% \begin{macrocode} |
| 2938 |
\NewDocumentCommand{\geenopening}{}{% |
| 2939 |
\setboolean{aes@openinggezien}{true}% |
| 2940 |
\aes@briefhoofd% |
| 2941 |
} |
| 2942 |
% \end{macrocode} |
| 2943 |
% \end{macro} |
| 2944 |
% \begin{macro}{\sig} |
| 2945 |
% |\sig| is an internal macro for typesettin |
| 2946 |
% a single signature. |
| 2947 |
% \begin{macrocode} |
| 2948 |
\newcommand\sig[1]{% |
| 2949 |
\begin{minipage}[t][2cm][t]{55mm}% |
| 2950 |
\vspace*{1.3cm}#1% |
| 2951 |
\end{minipage} |
| 2952 |
} |
| 2953 |
% \end{macrocode} |
| 2954 |
% \end{macro} |
| 2955 |
% \begin{macro}{\aes@signature} |
| 2956 |
% |\aes@signature| typesets all signatures |
| 2957 |
% (one or two). |
| 2958 |
% \begin{macrocode} |
| 2959 |
\newcommand\aes@signature{% |
| 2960 |
\ClassError{aeskwadraatbrief}{No \protect\signature\space |
| 2961 |
given, but found a \protect\closing} |
| 2962 |
{Define a \protect\signature\space or remove the \protect\closing.}} |
| 2963 |
% \end{macrocode} |
| 2964 |
% \end{macro} |
| 2965 |
% \begin{macro}{\signature}\begin{macro}{\signature} |
| 2966 |
% |\signature| is the user variant for signatures |
| 2967 |
% and saves it to |\aes@signature|. It takes one argument.\par |
| 2968 |
% |\signatures| takes two arguments and saves |
| 2969 |
% both as signatures. |
| 2970 |
% \begin{macrocode} |
| 2971 |
\NewDocumentCommand{\signature}{ +m }{% |
| 2972 |
\renewcommand\aes@signature{\sig{#1}}% |
| 2973 |
} |
| 2974 |
\NewDocumentCommand{\signatures}{ +m +m }{% |
| 2975 |
\renewcommand\aes@signature{\sig{#1}\hspace*{1cm}\sig{#2}}% |
| 2976 |
} |
| 2977 |
% \end{macrocode} |
| 2978 |
% \end{macro}\end{macro} |
| 2979 |
% \begin{macro}{\closing} |
| 2980 |
% To typeset the signatures, use |\closing|, which |
| 2981 |
% also takes an argument for a closing paragraph |
| 2982 |
% before the signatures. |
| 2983 |
% \begin{macrocode} |
| 2984 |
\NewDocumentCommand{\closing}{ +m }{% |
| 2985 |
\par\vspace{0.5\baselineskip}% |
| 2986 |
% deze minipage zorgt ervoor dat de \closing en |
| 2987 |
% \signature altijd samen op 1 pagina staan |
| 2988 |
\begin{minipage}{\textwidth}% |
| 2989 |
#1\par\aes@signature% |
| 2990 |
\end{minipage}% |
| 2991 |
} |
| 2992 |
% \end{macrocode} |
| 2993 |
% \end{macro} |
| 2994 |
% We define some standard data for \aesnaam{} |
| 2995 |
% that shouldn't be changed by the end user. |
| 2996 |
% \begin{macrocode} |
| 2997 |
\newcommand\aes@NL{\ifthenelse{\boolean{isbuitenland}}{,~NL}{}} |
| 2998 |
\newcommand\aes@returnline{\aesnaam, Princetonplein~5, 3584~CC~~Utrecht\aes@NL} |
| 2999 |
\newcommand\aes@bezoekadr{Buys Ballotgebouw, \TAALkamer~269\\ |
| 3000 |
Princetonplein~5\\ |
| 3001 |
3584~CC~~Utrecht\aes@NL} |
| 3002 |
\newcommand\aes@telefoon{+31\,30\,253\,44\,99} |
| 3003 |
\newcommand\aes@fax{+31\,30\,253\,57\,87} |
| 3004 |
\newcommand\aes@www{www.a-eskwadraat.nl} |
| 3005 |
% \end{macrocode} |
| 3006 |
% If the letter is by the ontour foundation, |
| 3007 |
% we need to change the standard data |
| 3008 |
% \begin{macrocode} |
| 3009 |
\ifthenelse{\boolean{aes@ontour}}{% |
| 3010 |
\setboolean{aes@optfooter}{false}% |
| 3011 |
\email{[email protected]}% |
| 3012 |
\afzendernaam\TAALontournaam% |
| 3013 |
\def\aes@kvknr{30230072}% |
| 3014 |
\def\aes@bank{ING}% |
| 3015 |
\def\aes@giro{4559482}% |
| 3016 |
\def\aes@BIC{INGBNL2A}% |
| 3017 |
\def\aes@IBAN{NL39 INGB 0004 5594 82}% |
| 3018 |
\def\aes@rekeninghouder{\TAALontournaam}% |
| 3019 |
\renewcommand\aes@returnline{% |
| 3020 |
\aesnaam On Tour, Princetonplein~5, 3584~CC~~Utrecht\aes@NL}% |
| 3021 |
}{} |
| 3022 |
% \end{macrocode} |
| 3023 |
% For the betadag, we also need to change |
| 3024 |
% some information. |
| 3025 |
% \begin{macrocode} |
| 3026 |
\ifthenelse{\boolean{aes@betadag}}{% |
| 3027 |
\welkleur% |
| 3028 |
\AtBeginDocument{\def\TAALfinancien#1#2{}}% |
| 3029 |
\setboolean{aes@optfooter}{false}% |
| 3030 |
\email{[email protected]}% |
| 3031 |
\afzendernaam{B\`etadag 2013}% |
| 3032 |
\cienaam{Utrecht}% |
| 3033 |
\renewcommand\aes@www{www.a-eskwadraat.nl/betadag}% |
| 3034 |
}{} |
| 3035 |
% \end{macrocode} |
| 3036 |
% We define the height of a block in the letter |
| 3037 |
% header and save it to |\aes@bhhoogte|. |
| 3038 |
% \begin{macrocode} |
| 3039 |
\newlength\aes@bhhoogte |
| 3040 |
% \end{macrocode} |
| 3041 |
% \begin{macro}{\aes@bhblok} |
| 3042 |
% |\aes@bhblok| creates a single block in the |
| 3043 |
% letter header. |
| 3044 |
% \begin{macrocode} |
| 3045 |
\newcommand\aes@bhblok[2]{% |
| 3046 |
\begin{minipage}[t][\aes@bhhoogte][t]{41mm}% |
| 3047 |
{\aes@fontheader#1\vphantom{ghL}}\par% |
| 3048 |
% The \vphantom is for consistent spacing |
| 3049 |
{\aes@fonttext\raggedright#2\vphantom{ghL}}\par% |
| 3050 |
\end{minipage}% |
| 3051 |
} |
| 3052 |
% \end{macrocode} |
| 3053 |
% \end{macro} |
| 3054 |
% \begin{macro}{\aes@leegbhblok} |
| 3055 |
% |\aes@leegbhblok| is a shortcut for an empty |
| 3056 |
% |\aes@bhblok|. |
| 3057 |
% \begin{macrocode} |
| 3058 |
\newcommand\aes@leegbhblok{\aes@bhblok{~}{~}} |
| 3059 |
% \end{macrocode} |
| 3060 |
% \end{macro} |
| 3061 |
% \begin{macro}{\zetblokje} |
| 3062 |
% |\zetblokje{pos}{header}{content}| adds a block |
| 3063 |
% at position |pos|, given by a combination of two |
| 3064 |
% letters, the first being |l| (left), |m| (middle) or |r| (right), |
| 3065 |
% and the second being |b| (top) or |o| (bottom). |
| 3066 |
% It then gives it a header and some content.\par |
| 3067 |
% The block is actually saved to a command |
| 3068 |
% |\blokje@pos|, which is to be run later. |
| 3069 |
% \begin{macrocode} |
| 3070 |
\NewDocumentCommand{\zetblokje}{ m +m +m }{% |
| 3071 |
\expandafter\gdef\csname blokje@#1\endcsname{\aes@bhblok{#2}{#3}}% |
| 3072 |
} |
| 3073 |
% \end{macrocode} |
| 3074 |
% \end{macro} |
| 3075 |
% \begin{macro}{\leegblokje} |
| 3076 |
% |\leegblokje{pos}| would do the same as |
| 3077 |
% |\zetblokje{pos}{}{}|. |
| 3078 |
% \begin{macrocode} |
| 3079 |
\NewDocumentCommand{\leegblokje}{ m }{% |
| 3080 |
\expandafter\gdef\csname blokje@#1\endcsname{\aes@leegbhblok}% |
| 3081 |
} |
| 3082 |
% \end{macrocode} |
| 3083 |
% \end{macro} |
| 3084 |
% \begin{macro}{\aes@briefhoofdblokjes} |
| 3085 |
% We define the default macro for the |
| 3086 |
% letter header blocks. |
| 3087 |
% \begin{macrocode} |
| 3088 |
\newcommand\aes@briefhoofdblokjes{% |
| 3089 |
\zetblokje{rb}{\TAALemail}{\aes@email} |
| 3090 |
% The attachment block is only necessary |
| 3091 |
% if there are attachments. |
| 3092 |
\ifthenelse{\aes@aantalbijlagen=1}{% |
| 3093 |
% One attachment |
| 3094 |
\zetblokje{ro}{\TAALbijlage}{\aes@bijlage} |
| 3095 |
}{% |
| 3096 |
\ifthenelse{\aes@aantalbijlagen>1}{% |
| 3097 |
% Multiple attachments |
| 3098 |
\zetblokje{ro}{\TAALbijlagen}{\aes@bijlage} |
| 3099 |
}{% |
| 3100 |
% No attachments |
| 3101 |
\leegblokje{ro} |
| 3102 |
}% |
| 3103 |
}% |
| 3104 |
|
| 3105 |
% Places the blocks, depending on what data is given |
| 3106 |
\ifthenelse{\equal{\aes@uwk}{} \and \equal{\aes@onsk}{}}{% |
| 3107 |
\zetblokje{lb}{\TAALdatum}{\aes@datum} |
| 3108 |
\zetblokje{mb}{\TAALonderwerp}{\aes@subject} |
| 3109 |
\leegblokje{lo} |
| 3110 |
\leegblokje{mo} |
| 3111 |
}{% |
| 3112 |
\zetblokje{lb}{\TAALuwkenmerk}{\aes@uwk} |
| 3113 |
\zetblokje{mb}{\TAALonskenmerk}{\aes@onsk} |
| 3114 |
\zetblokje{lo}{\TAALdatum}{\aes@datum} |
| 3115 |
\zetblokje{mo}{\TAALonderwerp}{\aes@subject} |
| 3116 |
} |
| 3117 |
} |
| 3118 |
% \end{macrocode} |
| 3119 |
% \end{macro} |
| 3120 |
% \begin{macro}{\aes@briefhoofd} |
| 3121 |
% |\aes@briefhoofd| generates the header above |
| 3122 |
% any letter. |
| 3123 |
% \begin{macrocode} |
| 3124 |
\newlength\hoofd@temp |
| 3125 |
\newcommand\aes@briefhoofd{ |
| 3126 |
\vspace*{-119mm}\par% |
| 3127 |
\setlength\hoofd@temp{\parskip} |
| 3128 |
% Save the parskip, which we will change |
| 3129 |
\setlength\parskip{1mm}% |
| 3130 |
% |
| 3131 |
% Make all blocks empty |
| 3132 |
\leegblokje{lb}\leegblokje{mb}\leegblokje{rb}% |
| 3133 |
\leegblokje{lo}\leegblokje{mo}\leegblokje{ro}% |
| 3134 |
% |
| 3135 |
% Run |\aes@briefhoofdblokjes| and |
| 3136 |
% typeset all blocks |
| 3137 |
\smash{\aes@briefhoofdblokjes}% |
| 3138 |
% |
| 3139 |
% First do the top blocks |
| 3140 |
\setlength\aes@bhhoogte{17mm}% |
| 3141 |
\blokje@lb\hspace*{3mm}% |
| 3142 |
\blokje@mb\hspace*{3mm}% |
| 3143 |
\blokje@rb\hspace*{4mm}% |
| 3144 |
% Despite being set to 17 mm, the minipage's |
| 3145 |
% height will be much larger than it |
| 3146 |
% This goes right regardless |
| 3147 |
\begin{minipage}[t][17mm][t]{45mm}% |
| 3148 |
\raggedright |
| 3149 |
\mbox{\aes@fontheader\bfseries\aes@afzendernaam}\par |
| 3150 |
\mbox{\aes@fontheader\bfseries\aes@cienaam} |
| 3151 |
\vspace{.9\baselineskip}\par |
| 3152 |
{\aes@fontheader% |
| 3153 |
\aes@bezoekadr\vspace{.9\baselineskip}\par |
| 3154 |
\TAALtelefoon~\aes@telefoon\vspace{.9\baselineskip}\par |
| 3155 |
% \TAALfax~\aes@fax\vspace{.9\baselineskip}\par |
| 3156 |
% Fax is dead |
| 3157 |
\TAALfinancien{\aes@kvknr}{\aes@IBAN}\par |
| 3158 |
\@ifundefined{\aes@btwnr} |
| 3159 |
{\TAALbtw{~\aes@btwnr}\vspace{.9\baselineskip}\par} |
| 3160 |
{\vspace{.9\baselineskip}\par} |
| 3161 |
\aes@www} |
| 3162 |
\end{minipage}\par |
| 3163 |
% |
| 3164 |
% The bottom blocks |
| 3165 |
\setlength\aes@bhhoogte{24mm}% |
| 3166 |
\blokje@lo\hspace*{3mm}% |
| 3167 |
\blokje@mo\hspace*{3mm}% |
| 3168 |
\blokje@ro\par% |
| 3169 |
% |
| 3170 |
% Add the address |
| 3171 |
\hspace*{5mm}% %% Address should be slightly |
| 3172 |
% to the right due to the shape of |
| 3173 |
% envelopes |
| 3174 |
\begin{minipage}[t][47mm][t]{140mm}% |
| 3175 |
{\aes@fontheader\aes@returnline}\\[.2ex] |
| 3176 |
\aes@fontadres\aes@adres\\[0.5\baselineskip] |
| 3177 |
\kix{\aes@kixcode} |
| 3178 |
% If \aes@kixcode is empty, |
| 3179 |
% this does nothing |
| 3180 |
\end{minipage}\par |
| 3181 |
% |
| 3182 |
% logo |
| 3183 |
\ifthenelse{\boolean{aes@optkleur}}{}{% |
| 3184 |
\hfill% |
| 3185 |
\begin{minipage}[b][0cm][t]{5cm}% |
| 3186 |
\vspace*{-35mm}\par% |
| 3187 |
% = -(logo height (32mm) + 1.5mm) |
| 3188 |
\aeslogogrijs[5cm] |
| 3189 |
% logo is 5cm on the real |
| 3190 |
% letter paper, too |
| 3191 |
\end{minipage}} |
| 3192 |
\setlength\parskip{\hoofd@temp} |
| 3193 |
\vspace*{4mm}\par% |
| 3194 |
% We add a good distance to the opening |
| 3195 |
% paragraph |
| 3196 |
} |
| 3197 |
% \end{macrocode} |
| 3198 |
% \end{macro} |
| 3199 |
% \begin{environment}{brief} |
| 3200 |
% Finally, we define the important |brief| |
| 3201 |
% environment, which is what we will use to |
| 3202 |
% create letters.\par |
| 3203 |
% The environment takes a single argument, |
| 3204 |
% which is the recipient's address. |
| 3205 |
% \begin{macrocode} |
| 3206 |
\NewDocumentEnvironment{brief}{ +m }{% |
| 3207 |
\ifthenelse{\boolean{aes@optfooter}}{\thispagestyle{footer}}{} |
| 3208 |
% This adds the bottom text and UU logo |
| 3209 |
\newcommand\aes@adres{#1} |
| 3210 |
% \opening does the rest, due to scoping |
| 3211 |
\newboolean{aes@openinggezien}% |
| 3212 |
\setboolean{aes@openinggezien}{false}% |
| 3213 |
}{% |
| 3214 |
\ifthenelse{\boolean{aes@openinggezien}}{}{% |
| 3215 |
\ClassError{aeskwadraatbrief}{You forgot \protect\opening{Dear ...,}\space} |
| 3216 |
{TeXniCie requires beer.}% |
| 3217 |
}% |
| 3218 |
\clearpage% |
| 3219 |
} |
| 3220 |
\NewDocumentEnvironment{letter}{ +m }{\begin{brief}{#1}}{\end{brief}} |
| 3221 |
% To look slightly like the letter class |
| 3222 |
% \end{macrocode} |
| 3223 |
% \end{environment} |
| 3224 |
% \begin{macrocode} |
| 3225 |
%</brief> |
| 3226 |
% \end{macrocode} |
| 3227 |
% |
| 3228 |
% |
| 3229 |
% |
| 3230 |
% |
| 3231 |
% |
| 3232 |
% \subsection{\textsf{aeskwadraattaal}} |
| 3233 |
% This package defines some macros for generating text. |
| 3234 |
% It is used mainly for \textsf{aeskwadraatfactuur}. |
| 3235 |
% \setcounter{CodelineNo}{0} |
| 3236 |
% \begin{macrocode} |
| 3237 |
%<*taal> |
| 3238 |
%% Copyright (C) 1994-2017 TeXniCie A-Eskwadraat |
| 3239 |
%% <[email protected]> |
| 3240 |
|
| 3241 |
\NeedsTeXFormat{LaTeX2e}[2020/10/01] |
| 3242 |
\ProvidesPackage{aeskwadraattaal}[2025/06/13 v1.0.1 |
| 3243 |
Language definitions for classes and packages] |
| 3244 |
% \end{macrocode} |
| 3245 |
% \textsf{babel} is unnecessary (not even desirable). |
| 3246 |
% \begin{macrocode} |
| 3247 |
%\RequirePackage{babel} |
| 3248 |
% \end{macrocode} |
| 3249 |
% Here follow some important packages. |
| 3250 |
% \begin{macrocode} |
| 3251 |
\RequirePackage{aeskwadraat} |
| 3252 |
\RequirePackage{ifthen} |
| 3253 |
\RequirePackage{eurosym} |
| 3254 |
% \end{macrocode} |
| 3255 |
% The following commands are used for internal purposes.\par |
| 3256 |
% \begin{macro}{\DeclareTaalOpties} |
| 3257 |
% |\DeclareTaalOpties| sets all known language options |
| 3258 |
% to later use. |
| 3259 |
% \begin{macrocode} |
| 3260 |
\newcommand\DeclareTaalOpties{ |
| 3261 |
\def\@babeltalen{} |
| 3262 |
\@taaloptie{dutch} |
| 3263 |
\@taaloptie{english} |
| 3264 |
} |
| 3265 |
% \end{macrocode} |
| 3266 |
% \end{macro} |
| 3267 |
% \begin{macro}{\@taaloptie} |
| 3268 |
% Each language option is built with |\@taaloptie|. |
| 3269 |
% \begin{macrocode} |
| 3270 |
\newcommand\@taaloptie[1]{ |
| 3271 |
\DeclareOption{#1}{ |
| 3272 |
\edef\@babeltalen{\@babeltalen #1,} |
| 3273 |
} |
| 3274 |
} |
| 3275 |
% \end{macrocode} |
| 3276 |
% \end{macro} |
| 3277 |
% \begin{macro}{\LaadBabel} |
| 3278 |
% |\LaadBabel| loads \textsf{babel} with all added languages. |
| 3279 |
% The last one is automatically chosen as the ``active'' |
| 3280 |
% language by babel. |
| 3281 |
% \begin{macrocode} |
| 3282 |
\newcommand\LaadBabel{ |
| 3283 |
\ifthenelse{\equal{\@babeltalen}{}}{ |
| 3284 |
\def\@babeltalen{[dutch]} |
| 3285 |
}{ |
| 3286 |
\edef\@babeltalen{[\@babeltalen]} |
| 3287 |
} |
| 3288 |
|
| 3289 |
\expandafter\RequirePackage\@babeltalen{babel} |
| 3290 |
} |
| 3291 |
% \end{macrocode} |
| 3292 |
% \end{macro} |
| 3293 |
% We now define a basic error.\par |
| 3294 |
% \begin{macro}{\aeskwadraattaal@geenvertaling} |
| 3295 |
% This is to be triggered whenever a command has no |
| 3296 |
% translation for a given language. |
| 3297 |
% \begin{macrocode} |
| 3298 |
\newcommand\aeskwadraattaal@geenvertaling[1]{% |
| 3299 |
\PackageWarning{aeskwadraattaal}{% |
| 3300 |
Ik ken nog geen (goede) vertaling voor '#1'\MessageBreak |
| 3301 |
in de taal '\languagename'}% |
| 3302 |
{Stuur je vertaling naar [email protected].}% |
| 3303 |
} |
| 3304 |
% \end{macrocode} |
| 3305 |
% \end{macro} |
| 3306 |
% We declare a boolean |isbuitenland|, which is to be |
| 3307 |
% |false| for all languages but Dutch. |
| 3308 |
% \begin{macrocode} |
| 3309 |
\newboolean{isbuitenland} |
| 3310 |
% \end{macrocode} |
| 3311 |
% \begin{macro}{\selectlanguage} |
| 3312 |
% The following adds a hook to babel's |
| 3313 |
% |\selectlanguage|. It runs |
| 3314 |
% |\aeskwadraattaal@selectlanguage| after running the regular |
| 3315 |
% |\selectlanguage|. To make this work, \textsf{aeskwadraattaal} |
| 3316 |
% should be loaded AFTER babel. |
| 3317 |
% \begin{macrocode} |
| 3318 |
\let\aeskwadraattaal@babelselectlanguage\selectlanguage |
| 3319 |
\renewcommand\selectlanguage[1]{% |
| 3320 |
\aeskwadraattaal@babelselectlanguage{#1}% |
| 3321 |
\aeskwadraattaal@selectlanguage{#1}% |
| 3322 |
} |
| 3323 |
% \end{macrocode} |
| 3324 |
% \end{macro} |
| 3325 |
% \begin{macro}{\aeskwadraattaal@selectlanguage} |
| 3326 |
% |\aeskwadraattaal@selectlanguage| loads the \aesnaam{} language |
| 3327 |
% definitions in the given language if possible. It loads |
| 3328 |
% the Dutch ones if the language is unknown, giving a warning. |
| 3329 |
% \begin{macrocode} |
| 3330 |
\newcommand\aeskwadraattaal@selectlanguage[1]{% |
| 3331 |
\ifthenelse{% |
| 3332 |
\expandafter\isundefined\csname aeskwadraattaal@#1\endcsname}{% |
| 3333 |
\PackageError{aeskwadraattaal} |
| 3334 |
{Ik ken de taal '#1' niet.}% |
| 3335 |
{Als je deze taal echt nodig hebt, |
| 3336 |
neem dan contact op\MessageBreak |
| 3337 |
met de TeXniCie}% |
| 3338 |
\aeskwadraattaal@dutch% |
| 3339 |
}{% |
| 3340 |
\csname aeskwadraattaal@#1\endcsname% |
| 3341 |
} |
| 3342 |
} |
| 3343 |
% \end{macrocode} |
| 3344 |
% \end{macro} |
| 3345 |
% At the beginning of the document, we want to load the |
| 3346 |
% \aesnaam{} language macros.\par |
| 3347 |
% If \textsf{babel} isn't explicitly loaded, |\selectlanguage| |
| 3348 |
% isn't run automatically. |
| 3349 |
% \begin{macrocode} |
| 3350 |
\AtBeginDocument{\aeskwadraattaal@selectlanguage{\languagename}} |
| 3351 |
% \end{macrocode} |
| 3352 |
% We set some default values for if no language is selected |
| 3353 |
% \begin{macrocode} |
| 3354 |
\newcommand{\@cijfertekst}[1]{% |
| 3355 |
\large{GEEN TAAL GESELECTEERD!}\normalsize} |
| 3356 |
\newcommand{\@tientaltekst}[2]{% |
| 3357 |
\large{GEEN TAAL GESELECTEERD!}\normalsize} |
| 3358 |
% \end{macrocode} |
| 3359 |
% \begin{macro}{\aeskwadraattaal@dutch} |
| 3360 |
% We define the Dutch language macros |
| 3361 |
% \begin{macrocode} |
| 3362 |
\newcommand\aeskwadraattaal@dutch{% |
| 3363 |
\setboolean{isbuitenland}{false}% |
| 3364 |
\def\TAALuwkenmerk{Uw~kenmerk}% |
| 3365 |
\def\TAALonskenmerk{Ons~kenmerk}% |
| 3366 |
\def\TAALemail{E-mail}% |
| 3367 |
\def\TAALdatum{Datum}% |
| 3368 |
\def\TAALonderwerp{Onderwerp}% |
| 3369 |
\def\TAALbijlage{Bijlage}% |
| 3370 |
\def\TAALbijlagen{Bijlagen}% |
| 3371 |
\def\TAALadres{Adres}% |
| 3372 |
\def\TAALkamer{kamer}% |
| 3373 |
\def\TAALtelefoon{Telefoon}% |
| 3374 |
\def\TAALfax{Fax}% |
| 3375 |
\def\TAALbtw##1{BTW-nr. ##1} |
| 3376 |
\def\TAALpostbus{Postbus}% |
| 3377 |
\def\TAALaesnaam{Studievereniging \aesnaam{}}% |
| 3378 |
\def\TAALontournaam{Stichting \aesnaam{} On Tour}% |
| 3379 |
% (1) kvknummer, (2) bank/giro nr incl formatting |
| 3380 |
\def\TAALfinancien##1##2{K.v.K.~Utrecht\,~##1\\##2}% |
| 3381 |
\def\TAALverenigingfooter{% |
| 3382 |
D\'e studievereniging van \mbox{Natuur- en Sterrenkunde}, |
| 3383 |
\mbox{Wiskunde}, \mbox{Informatica} en \mbox{Informatiekunde} |
| 3384 |
aan de Universiteit Utrecht}% |
| 3385 |
% TODO: Change this description to match actual programs |
| 3386 |
% |
| 3387 |
%naam bank, rekeningnummer, optioneel IBAN-spul, t.n.v., o.v.v. |
| 3388 |
\def\TAALbetaalinstructie##1##2##3##4##5##6{% |
| 3389 |
Wij verzoeken u het totaalbedrag binnen ##1 dagen na |
| 3390 |
dagtekening over te maken\\ |
| 3391 |
op ##2-rekening ##3##4 |
| 3392 |
t.n.v.\ ##5\ifthenelse{\equal{##6}{}}{}{, o.v.v.\ \emph{`##6'}}.% |
| 3393 |
}% |
| 3394 |
\def\TAALterugkrijginstructie{% |
| 3395 |
Let op! Het negatieve totaalbedrag op deze factuur geeft aan |
| 3396 |
dat het een factuur betreft in \emph{uw voordeel}. |
| 3397 |
Het bovenstaande bedrag is inmiddels overgemaakt op het door |
| 3398 |
u opgegeven bank- of girorekeningnummer.% |
| 3399 |
}% |
| 3400 |
% |
| 3401 |
\def\TAALfactuur{Factuur}% |
| 3402 |
\def\TAALherinnering{Herinneringsfactuur}% |
| 3403 |
\def\TAALaanmaning{Aanmaning}% |
| 3404 |
\def\TAALteruggave{Creditnota}% |
| 3405 |
\def\TAALomschrijving{Omschrijving}% |
| 3406 |
\def\TAALbedrag{Bedrag}% |
| 3407 |
\def\TAALtotaal{Totaal}% |
| 3408 |
\def\TAALsubtotaal{Subtotaal}% |
| 3409 |
\def\TAALbtw{BTW-nr.}% |
| 3410 |
\def\TAALexbtw{exclusief btw}% |
| 3411 |
\def\TAALinclbtw{inclusief btw}% |
| 3412 |
\def\TAALover{over} |
| 3413 |
\def\TAALduizendsym{.}% |
| 3414 |
\def\TAALdecimaalsym{,}% |
| 3415 |
\def\TAALbtwverlegd{BTW verlegd.}% |
| 3416 |
\def\TAALpaginaGaatVerder{-- Gaat verder op de volgende pagina. --}% |
| 3417 |
% |
| 3418 |
% Contractenspul % |
| 3419 |
% |
| 3420 |
\def\TAALtoelichting{Toelichting: }% |
| 3421 |
\def\TAALovereenkomst{Overeenkomst}% |
| 3422 |
\def\TAALpaginavan##1##2{pagina ##1 van ##2}% |
| 3423 |
\def\TAALaesland{}% |
| 3424 |
\def\TAALhiernatenoemen{Hierna te noemen}% |
| 3425 |
\def\TAALparties{Partijen}% |
| 3426 |
\def\TAALakkoord##1##2##3{##1 en ##2 verklaren kennis genomen te |
| 3427 |
hebben van en akkoord gegaan te zijn met de onderstaande |
| 3428 |
overeenkomst, tellende \ifthenelse{\equal{##3}{1}} |
| 3429 |
{\'e\'en pagina.}{\@cijfertekst{##3} pagina's.}}% |
| 3430 |
\def\TAALannulering{Op dit onderdeel zijn de annuleringsvoorwaarden |
| 3431 |
van toepassing.}% |
| 3432 |
\def\TAALondert{Ondertekening}% |
| 3433 |
\def\TAALexclbtw{Alle bedragen genoemd in dit contract zijn exclusief |
| 3434 |
btw, tenzij anders aangegeven.} |
| 3435 |
\renewcommand{\@cijfertekst}[1]{% |
| 3436 |
\@ifequal{##1}{1}{\'e\'en}{}\@ifequal{##1}{2}{twee}{}% |
| 3437 |
\@ifequal{##1}{3}{drie}{}\@ifequal{##1}{4}{vier}{}% |
| 3438 |
\@ifequal{##1}{5}{vijf}{}\@ifequal{##1}{6}{zes}{}% |
| 3439 |
\@ifequal{##1}{7}{zeven}{}\@ifequal{##1}{8}{acht}{}% |
| 3440 |
\@ifequal{##1}{9}{negen}{}\@ifequal{##1}{10}{tien}{}% |
| 3441 |
\@ifequal{##1}{11}{elf}{}\@ifequal{##1}{12}{twaalf}{}% |
| 3442 |
\@ifequal{##1}{13}{dertien}{}\@ifequal{##1}{14}{veertien}{}% |
| 3443 |
\@ifequal{##1}{15}{vijftien}{}\@ifequal{##1}{16}{zestien}{}% |
| 3444 |
\@ifequal{##1}{17}{zeventien}{}\@ifequal{##1}{18}{achttien}{}% |
| 3445 |
\@ifequal{##1}{19}{negentien}{}\@ifequal{##1}{20}{twintig}{}% |
| 3446 |
\@ifequal{##1}{30}{dertig}{}\@ifequal{##1}{40}{veertig}{}% |
| 3447 |
\@ifequal{##1}{50}{vijftig}{}\@ifequal{##1}{60}{zestig}{}% |
| 3448 |
\@ifequal{##1}{70}{zeventig}{}\@ifequal{##1}{80}{tachtig}{}% |
| 3449 |
\@ifequal{##1}{90}{negentig}{}% |
| 3450 |
}% |
| 3451 |
\renewcommand{\@tientaltekst}[2]{% |
| 3452 |
\kladd=\the##1% |
| 3453 |
\multiply\kladd by 10% |
| 3454 |
\ifthenelse{\the##1>1}{% tekst genereren, iets > 20 |
| 3455 |
\@ifundefined{resttekst}{% |
| 3456 |
\newcommand{\resttekst}{\@cijfertekst{\the\rest}en}% |
| 3457 |
}{% |
| 3458 |
\renewcommand{\resttekst}{\@cijfertekst{\the\rest}en}% |
| 3459 |
}% |
| 3460 |
\ifthenelse{\the\rest=0}{\renewcommand{\resttekst}{}}{}% |
| 3461 |
\ifthenelse{\the\rest=2}{\renewcommand{\resttekst}{twee\"en}}{}% |
| 3462 |
\ifthenelse{\the\rest=3}{\renewcommand{\resttekst}{drie\"en}}{}% |
| 3463 |
\renewcommand{##2}{\resttekst\@cijfertekst{\the\kladd}}% |
| 3464 |
}{ % tiental < 2, tekst uit @cijfertekst halen |
| 3465 |
\advance\kladd by \the\rest% |
| 3466 |
\renewcommand{##2}{\@cijfertekst{\the\kladd}}% |
| 3467 |
}% |
| 3468 |
}% |
| 3469 |
\def\TAALgetalspatie{}% |
| 3470 |
\def\TAALopgemaakt{Opgemaakt te }% |
| 3471 |
\def\TAALnaam{Naam}% |
| 3472 |
\def\TAALhandtekening{Handtekening}% |
| 3473 |
\def\TAALduizend{duizend}% |
| 3474 |
\def\TAALhonderd{honderd}% |
| 3475 |
\def\TAALvakidad{Advertentie Vakidioot}% |
| 3476 |
\def\TAALvakidadtext##1##2##3##4##5##6##7{% |
| 3477 |
\aes stelt ##1 gedurende het collegejaar ##2 een ##3 |
| 3478 |
volledige (staande) pagina (\mbox{18,3 cm} breed bij |
| 3479 |
\mbox{25,8 cm} hoog) ter beschikking voor een full-color |
| 3480 |
##4 van ##5 van \emph{De Vakidioot}, het periodiek van |
| 3481 |
\aes. Deze ##6 verschijnen in de ##7.}% |
| 3482 |
\def\TAALvacature{vacature}% |
| 3483 |
\def\TAALvacatures{vacatures}% |
| 3484 |
\def\TAALthis{deze}% |
| 3485 |
\def\TAALthese{deze}% |
| 3486 |
\def\TAALvacbank{Online vacaturebank}% |
| 3487 |
\def\TAALvacbanktxt##1##2##3##4##5##6##7{% |
| 3488 |
\aes biedt ##1 gedurende ##2 de mogelijkheid om ##3 ##4 |
| 3489 |
in de vacaturebank op de website van \aes te plaatsen. |
| 3490 |
##5 heeft de mogelijkheid om ##6 ##7 eens per maand te |
| 3491 |
wijzigen.}% |
| 3492 |
\def\TAALstagemail{Stage- en banenmailing}% |
| 3493 |
\def\TAALbedragsteun##1##2##3{% |
| 3494 |
##1 zal ##2 hiervoor steunen met een bedrag van ##3 euro.}% |
| 3495 |
\def\TAALbedragrestitutie##1##2##3{% |
| 3496 |
##2 restitueert een bedrag van ##3 euro aan ##1.}% |
| 3497 |
\def\TAALbetalingsvoorwaarden{Betalingsvoorwaarden}% |
| 3498 |
\def\TAALtotaalgeenkorting##1{% |
| 3499 |
De onderdelen van deze overeenkomst vormen samen een bedrag |
| 3500 |
van ##1 euro (zegge: \@zegge{##1} euro).}% |
| 3501 |
\def\TAALtotaalgeenkortingbtw##1##2{% |
| 3502 |
De onderdelen van deze overeenkomst vormen samen een bedrag |
| 3503 |
van ##1 euro (zegge: \@zegge{##1} euro) exclusief btw, |
| 3504 |
##2 inclusief btw.}% |
| 3505 |
\def\TAALtotaalwelkorting##1##2##3##4##5##6{% |
| 3506 |
De onderdelen van deze overeenkomst vormen samen een bedrag |
| 3507 |
van ##1 euro. ##2 biedt ##3 een korting van ##4 euro (##5\%), |
| 3508 |
waarmee het totaalbedrag van deze overeenkomst uitkomt op ##6 |
| 3509 |
euro (zegge: \@zegge{##6} euro).}% |
| 3510 |
\def\TAALtotaalwelkortingbtw##1##2##3##4##5##6##7{% |
| 3511 |
De onderdelen van deze overeenkomst vormen samen een bedrag |
| 3512 |
van ##1 euro. ##2 biedt ##3 een korting van ##4 euro (##5\%), |
| 3513 |
waarmee het totaalbedrag van deze overeenkomst uitkomt op ##6 |
| 3514 |
euro (zegge: \@zegge{##6} euro) exclusief btw, ##7 inclusief btw.}% |
| 3515 |
\def\TAALbetalingsvoorwaardentext##1##2##3{% |
| 3516 |
Deze overeenkomst zal als \'e\'en geheel gefactureerd worden, |
| 3517 |
betaling door ##1 geschiedt binnen ##2 dagen na ontvangst van |
| 3518 |
de desbetreffende factuur. Indien er een ordernummer (PO-nummer) |
| 3519 |
verstrekt dient te worden alvorens facturatie kan plaatsvinden, |
| 3520 |
zal ##1 ##3 binnen twee weken na ondertekening van deze |
| 3521 |
overeenkomst voorzien van een dergelijk nummer.}% |
| 3522 |
\def\TAALannuleringsvoorwaardentext##1##2{% |
| 3523 |
Mocht ##1 minder dan 15, 8 of 2 dagen voor de overeengekomen |
| 3524 |
datum aangeven dat zij haar verplichtingen niet kan nakomen, |
| 3525 |
dan zal ##2 respectievelijk 50\%, 75\% of 100\% van de kosten |
| 3526 |
in rekening brengen bij ##1 en heeft \partijkort voldaan aan haar |
| 3527 |
verplichtingen. De genoemde datum wordt in dit contract vastgelegd. |
| 3528 |
Mocht dit niet het geval zijn dan zal er door dit contract |
| 3529 |
uitsluitsel worden gegeven hoe dit wel wordt vastgesteld.}% |
| 3530 |
\def\TAALannuleringsvoorwaarden{Annuleringsvoorwaarden}% |
| 3531 |
\def\TAALparaaf{Paraaf voor akkoord}% |
| 3532 |
\def\TAALstagemailtxt##1##2{% |
| 3533 |
\aes biedt ##1 ruimte om in de stage- en banenmailing van ##2 |
| 3534 |
exclusief te adverteren. Hiermee kunnen stages, afstudeerplekken |
| 3535 |
en banen aangeboden worden.}% |
| 3536 |
\def\TAALpartijen{Partijen}% |
| 3537 |
\def\TAALen{en} |
| 3538 |
\def\TAALcents{cent} |
| 3539 |
\def\TAALeuros{euro} |
| 3540 |
\def\TAALzegge{zegge} |
| 3541 |
} |
| 3542 |
% \end{macrocode} |
| 3543 |
% \end{macro} |
| 3544 |
% \begin{macro}{\aeskwadraattaal@english} |
| 3545 |
% We define the English language macros. |
| 3546 |
% \begin{macrocode} |
| 3547 |
\newcommand\aeskwadraattaal@english{% |
| 3548 |
\setboolean{isbuitenland}{true}% |
| 3549 |
\def\TAALonskenmerk{Our~reference}% |
| 3550 |
\def\TAALuwkenmerk{Your~reference}% |
| 3551 |
\def\TAALemail{Email}% |
| 3552 |
\def\TAALdatum{Date}% |
| 3553 |
\def\TAALonderwerp{Subject}% |
| 3554 |
\def\TAALbijlage{Enclosure}% |
| 3555 |
% Zie: www.dictionary.com. Volgens mij goed |
| 3556 |
% Jesse: It depends. Enclosure is for physical letters, |
| 3557 |
% while attachment is for electronic letters. |
| 3558 |
% NOTE: Maybe change to "attachment". |
| 3559 |
\def\TAALbijlagen{Enclosures}% |
| 3560 |
\def\TAALadres{Address}% |
| 3561 |
\def\TAALkamer{room}% |
| 3562 |
\def\TAALtelefoon{Phone}% |
| 3563 |
\def\TAALfax{Fax}% |
| 3564 |
\def\TAALbtw##1{VAT nr. ##1} |
| 3565 |
\def\TAALpostbus{P.O.\@ Box}% |
| 3566 |
\def\TAALaesnaam{Student Association \aesnaam{}}% |
| 3567 |
% TODO: Should "Student Association" be "Study Association"? |
| 3568 |
\def\TAALontournaam{\aesnaam{} On Tour Foundation}% |
| 3569 |
\def\TAALfinancien##1##2{C.o.C.~Utrecht\,~##1\\##2}% |
| 3570 |
\def\TAALverenigingfooter{% |
| 3571 |
Student association for \mbox{Physics and Astronomy}, |
| 3572 |
\mbox{Mathematics}, \mbox{Information} and |
| 3573 |
\mbox{Computing Sciences} at Utrecht University}% |
| 3574 |
% TODO: these are wrong nowadays |
| 3575 |
% |
| 3576 |
%naam bank, rekeningnummer, optioneel IBAN-spul, t.n.v., o.v.v. |
| 3577 |
\def\TAALbetaalinstructie##1##2##3##4##5##6{% |
| 3578 |
We ask you to deposit the total amount within ##1 days\\ |
| 3579 |
with our ##2 account ##3\ifthenelse{\equal{##4}{}}{}{ (##4)},\\ |
| 3580 |
account holder \emph{`##5'}.% |
| 3581 |
\ifthenelse{\equal{##6}{}}{}{ |
| 3582 |
Please mention \emph{`##6'}.}% |
| 3583 |
}% |
| 3584 |
\def\TAALterugkrijginstructie{% |
| 3585 |
The negative amount indicates this is an invoice in |
| 3586 |
\emph{your favour}. The mentioned amount has been transferred to |
| 3587 |
your bank account.% |
| 3588 |
}% |
| 3589 |
\def\TAALfactuur{Invoice}% |
| 3590 |
\def\TAALherinnering{Invoice}% |
| 3591 |
\def\TAALaanmaning{Urgent Request}% |
| 3592 |
\def\TAALteruggave{Credit memo}% |
| 3593 |
\def\TAALomschrijving{Description}% |
| 3594 |
\def\TAALbedrag{Amount}% |
| 3595 |
\def\TAALtotaal{Total amount}% |
| 3596 |
\def\TAALexbtw{excluding VAT}% |
| 3597 |
\def\TAALinclbtw{including VAT}% |
| 3598 |
\def\TAALbtw{VAT nr.}% |
| 3599 |
\def\TAALover{of} |
| 3600 |
\def\TAALsubtotaal{Subtotal}% |
| 3601 |
\def\TAALduizendsym{,}% |
| 3602 |
\def\TAALdecimaalsym{.}% |
| 3603 |
\def\TAALbtwverlegd{VAT due by recipient.\\ |
| 3604 |
Reverse charge mechanism applicable, based on article 44 |
| 3605 |
and 196 EU VAT directive.}% |
| 3606 |
\def\TAALpaginaGaatVerder{-- Continues on the next page. --}% |
| 3607 |
\def\TAALtoelichting{Explanation: }% |
| 3608 |
\def\TAALovereenkomst{Contract}% |
| 3609 |
\def\TAALpaginavan##1##2{page ##1 of ##2}% |
| 3610 |
\def\TAALaesland{\\ |
| 3611 |
Netherlands}% |
| 3612 |
\def\TAALhiernatenoemen{Hereinafter called }% |
| 3613 |
\def\TAALpartijen{Parties}% |
| 3614 |
\def\TAALakkoord##1##2##3{% |
| 3615 |
##1 and ##2 declare to have taken note of and agreed to the |
| 3616 |
following agreement, counting % |
| 3617 |
\ifthenelse{\equal{##3}{1}}{one page.}{\@cijfertekst{##3} pages.}}% |
| 3618 |
\def\TAALexclbtw{% |
| 3619 |
All prices include VAT, unless specified otherwise.} |
| 3620 |
\def\TAALannulering{% |
| 3621 |
On this part of the contract the cancellation policy applies.}% |
| 3622 |
\def\TAALondert{Signing}% |
| 3623 |
\renewcommand{\@cijfertekst}[1]{% |
| 3624 |
\@ifequal{##1}{1}{one}{}\@ifequal{##1}{2}{two}{}% |
| 3625 |
\@ifequal{##1}{3}{three}{}\@ifequal{##1}{4}{four}{}% |
| 3626 |
\@ifequal{##1}{5}{five}{}\@ifequal{##1}{6}{six}{}% |
| 3627 |
\@ifequal{##1}{7}{seven}{}\@ifequal{##1}{8}{eight}{}% |
| 3628 |
\@ifequal{##1}{9}{nine}{}\@ifequal{##1}{10}{ten}{}% |
| 3629 |
\@ifequal{##1}{11}{eleven}{}\@ifequal{##1}{12}{twelve}{}% |
| 3630 |
\@ifequal{##1}{13}{thirteen}{}\@ifequal{##1}{14}{fourteen}{}% |
| 3631 |
\@ifequal{##1}{15}{fifteen}{}\@ifequal{##1}{16}{sixteen}{}% |
| 3632 |
\@ifequal{##1}{17}{seventeen}{}\@ifequal{##1}{18}{eighteen}{}% |
| 3633 |
\@ifequal{##1}{19}{nineteen}{}\@ifequal{##1}{20}{twenty}{}% |
| 3634 |
\@ifequal{##1}{30}{thirty}{}\@ifequal{##1}{40}{forty}{}% |
| 3635 |
\@ifequal{##1}{50}{fifty}{}\@ifequal{##1}{60}{sixty}{}% |
| 3636 |
\@ifequal{##1}{70}{seventy}{}\@ifequal{##1}{80}{eighty}{}% |
| 3637 |
\@ifequal{##1}{90}{ninety}{}% |
| 3638 |
} |
| 3639 |
\renewcommand{\@tientaltekst}[2]{% |
| 3640 |
\kladd=\the##1% |
| 3641 |
\multiply\kladd by 10% |
| 3642 |
\ifthenelse{\the##1>1}{% tekst genereren, iets > 20 |
| 3643 |
\@ifundefined{resttekst}{% |
| 3644 |
\newcommand{\resttekst}{\@cijfertekst{\the\rest}}% |
| 3645 |
}{% |
| 3646 |
\renewcommand{\resttekst}{\@cijfertekst{\the\rest}}% |
| 3647 |
}% |
| 3648 |
\ifthenelse{\the\rest=0}{% |
| 3649 |
\renewcommand{##2}{\@cijfertekst{\the\kladd}}% |
| 3650 |
}{% |
| 3651 |
\renewcommand{##2}{\@cijfertekst{\the\kladd}-\resttekst}% |
| 3652 |
}% |
| 3653 |
}{ % tiental < 2, tekst uit @cijfertekst halen |
| 3654 |
\advance\kladd by \the\rest% |
| 3655 |
\renewcommand{##2}{\@cijfertekst{\the\kladd}}% |
| 3656 |
}% |
| 3657 |
}% |
| 3658 |
\def\TAALgetalspatie{ }% |
| 3659 |
\def\TAALopgemaakt{Prepared in }% |
| 3660 |
\def\TAALnaam{Name}% |
| 3661 |
\def\TAALhandtekening{Signature}% |
| 3662 |
\def\TAALduizend{thousand}% |
| 3663 |
\def\TAALhonderd{hundred}% |
| 3664 |
\def\TAALvakidad{Advertisement Vakidioot}% |
| 3665 |
\def\TAALvakidadtext##1##2##3##4##5##6##7##8{% |
| 3666 |
\aes offers ##1 during the academic year ##2 a ##3 full |
| 3667 |
(portrait) page (width: \mbox{18.3 cm}, height: \mbox{25.8 cm}) |
| 3668 |
for a full-color ##4 of ##5 in the \emph{De Vakidioot}, the |
| 3669 |
periodical of \aes. These ##6 ##7 appear in ##8}% |
| 3670 |
% %%% |
| 3671 |
% %%% TODO: plaatsings en maanden dingen vertalen |
| 3672 |
% %%% |
| 3673 |
\def\TAALvacature{vacancy}% |
| 3674 |
\def\TAALvacatures{vancancies}% |
| 3675 |
\def\TAALthis{this}% |
| 3676 |
\def\TAALthese{these}% |
| 3677 |
\def\TAALvacbank{Online Vacancy Board}% |
| 3678 |
\def\TAALvacbanktxt##1##2##3##4##5##6##7{% |
| 3679 |
\aes offers ##1 for a period of ##2 the opportunity to |
| 3680 |
place ##3 ##4 on the vacancy board of \aes, ##5 has the |
| 3681 |
opportunity to change ##6 ##7 once every month.}% |
| 3682 |
\def\TAALstagemail{Internship and job mailing}% |
| 3683 |
\def\TAALstagemailtxt##1##2{% |
| 3684 |
\aes offers ##1 the opportunity to exclusively advertise |
| 3685 |
via the internship and job mailing of ##2 . This can be |
| 3686 |
used to offer internships, graduation projects and jobs.}% |
| 3687 |
\def\TAALbedragsteun##1##2##3{% |
| 3688 |
In exchange ##1 will support ##2 with the sum of ##3 euro.}% |
| 3689 |
\def\TAALbetalingsvoorwaarden{Payment policy}% |
| 3690 |
\def\TAALtotaalgeenkorting##1{% |
| 3691 |
The parts of this contract form an amount of ##1 euro |
| 3692 |
(in words: \@zegge{##1} euro).}% |
| 3693 |
\def\TAALtotaalgeenkortingbtw##1##2{% |
| 3694 |
The parts of this contract form an amount of ##1 euro |
| 3695 |
(in words: \@zegge{##1} euros) excluding VAT and ##2 |
| 3696 |
including VAT.}% |
| 3697 |
\def\TAALtotaalwelkorting##1##2##3##4##5##6{% |
| 3698 |
The parts of this contract form an amount of ##1 euro. |
| 3699 |
##2 offers ##3 a discount of ##4 euro (##5\%), bringing |
| 3700 |
the total amount of this agreement to ##6 euro |
| 3701 |
(in words:\@zegge{##6} euro).}% |
| 3702 |
\def\TAALtotaalwelkortingbtw##1##2##3##4##5##6##7{% |
| 3703 |
The parts of this contract form an amount of ##1 euro. |
| 3704 |
##2 offers ##3 a discount of ##4 euro (##5\%), |
| 3705 |
bringing the total amount of this agreement to ##6 euro |
| 3706 |
(in words: \@zegge{##6} euro) excluding VAT and ##7 |
| 3707 |
including VAT.}% |
| 3708 |
\def\TAALbetalingsvoorwaardentext##1##2##3{% |
| 3709 |
The contract will be charged as a whole, payment will be |
| 3710 |
completed by ##1 within ##2 days after receiving the |
| 3711 |
invoice. If an order number (PO number) should be provided |
| 3712 |
before invoicing can take place, ##1 will provide ##3 o |
| 3713 |
such a number within two weeks after signing this contract.}% |
| 3714 |
\def\TAALannuleringsvoorwaardentext##1##2{% |
| 3715 |
If ##1 has indicated less than 15, 8 or 2 days before the |
| 3716 |
agreed date that they can not fulfill the obligations, |
| 3717 |
\partijkort will charge respectively 50\%, 75\% or 100\% |
| 3718 |
of the total charges at ##1 and then ##2 has fulfilled its |
| 3719 |
obligations. The date is specified in this contract. If |
| 3720 |
this is not the case, this contract will define how this |
| 3721 |
is being determined.}% |
| 3722 |
\def\TAALannuleringsvoorwaarden{Cancelation policy}% |
| 3723 |
\def\TAALparaaf{Paraph for approval}% |
| 3724 |
\def\TAALen{and} |
| 3725 |
\def\TAALeuros{euros} |
| 3726 |
\def\TAALcents{cents} |
| 3727 |
\def\TAALzegge{in words} |
| 3728 |
} |
| 3729 |
% \end{macrocode} |
| 3730 |
% \end{macro} |
| 3731 |
% We now define some other English babel languages |
| 3732 |
% to just invoke the regular English words (we're |
| 3733 |
% not that picky). In a future version, some macros |
| 3734 |
% may be defined differently for UK and US English. |
| 3735 |
% \begin{macrocode} |
| 3736 |
\let\aeskwadraattaal@USenglish\aeskwadraattaal@english |
| 3737 |
\let\aeskwadraattaal@american\aeskwadraattaal@english |
| 3738 |
|
| 3739 |
\let\aeskwadraattaal@UKenglish\aeskwadraattaal@english |
| 3740 |
\let\aeskwadraattaal@british\aeskwadraattaal@english |
| 3741 |
% \end{macrocode} |
| 3742 |
% \begin{macrocode} |
| 3743 |
%</taal> |
| 3744 |
% \end{macrocode} |
| 3745 |
% \Finale |