Archived
1
Fork 0
This repository has been archived on 2025-04-09. You can view files and clone it, but cannot push or open issues or pull requests.
phd-thesis/environment.tex

60 lines
1.7 KiB
TeX

\startenvironment environment
% Bug in context? Zonder de ../ kunnen componenten de files niet vinden
\usepath[{environment,../environment}]
\environment bib
\environment font
\environment notation
\environment paper
\environment pdf
\mainlanguage[en]
\setuppagenumbering[alternative=doublesided]
\setupindenting[yes, medium]
\setupwhitespace[medium]
\defineenumeration[definition][text=Definition]
\defineenumeration[example][text=Example]
\defineenumeration[lemma][text=Lemma]
\defineenumeration[fact][text=Fact?] % niet nodig?
\setupenumeration[definition,example,lemma,fact][alternative=serried,width=fit,right=.]
\definefloat[algorithm][algorithms]
\setupcombinedlist[content][list={chapter,section}]
\definestartstop[abstract]
[before={\midaligned{\bf Abstract}\startnarrower[2*middle]},
after={\stopnarrower\blank[big]}]
\definedescription[description]
[headstyle=bold, alternative=serried, width=fit]
\definedescription[step]
[headstyle=bold, alternative=serried, width=fit, text={Step }]
% The black dot is missing from Euler?
\setupitemize[2,joinedup,nowhite,after]
% Standaard \colon had niet veel ruimte
\define\colon{{\,{:}\,\,}}
\define[1]\defn{\emph{#1}}
\define[1]\todo{\color[red]{\ss \bf #1}}
\usemodule[tikz]
\usetikzlibrary[automata, arrows, positioning, matrix, fit, decorations.pathreplacing]
\usemodule[algorithmic]
\setupalgorithmic[align=middle,numbercolor=darkgray] % center line numbers
\setupalgorithmic[before={\startframedtext[width=0.85\textwidth,offset=none,frame=off]},after={\stopframedtext}] % To enable linenumbers in a float
% Debugging
%\enabletrackers[references.references, visualizers.justification]
%\showmakeup
%\showlayout
%\showboxes
%\showframe
\stopenvironment