Allow passing a once option to scons.
[matthijs/master-project/report.git] / Utils / Formats.tex
index 63a58dfce4ad938b5c6f673c7ce6e92019001d8d..93e9d67bff859a0376ad0920b2f38cf55f1f8c51 100644 (file)
@@ -17,7 +17,7 @@
 }
 
 % Define a \strikethrough command. For some reason, this does blue
-strikethrough, sometime that still needs fixing.
+strikethrough, sometime that still needs fixing.
 \definetextbackground
   [strikethrough]
   [location=text,
@@ -25,3 +25,15 @@ strikethrough, sometime that still needs fixing.
    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]
+
+% vim: set sw=2 sts=2 expandtab: