Reorder and complete the list of transformations.
[matthijs/master-project/report.git] / Utils / Formats.tex
index 63a58dfce4ad938b5c6f673c7ce6e92019001d8d..aae99ed81a528fa3a3a335da9148c168d2a860aa 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,7 @@ 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}}}