Add another reference.
[matthijs/master-project/report.git] / Utils / Formats.tex
index 993a9883a901bb16f35e440e19d7f50bccf73cea..eb30bc72f341b1163e654a5e784a9c08aeef80c7 100644 (file)
    background=,
    frame=off]
 
+\def\setwidthof#1\to#2%
+{\bgroup
+\setbox\scratchbox\hbox{#1}%
+\expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}}
+
+% Allow \emph{foo} (and {\emph foo}, but that's not really needed).
+\definealternativestyle[emph][\em][]                                                                                                                         
+
+% Put a bit of space betwen paragraphs, to make them easier to distinguish.
+\setupwhitespace[small]
+
+% Use the c alternative for the toc, which uses dots between the section
+% name and the page number.
+\setupcombinedlist      [content][alternative=c]
+
+% vim: set sw=2 sts=2 expandtab: