projects
/
matthijs
/
master-project
/
report.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update a bunch more transformations.
[matthijs/master-project/report.git]
/
Utils
/
Formats.tex
diff --git
a/Utils/Formats.tex
b/Utils/Formats.tex
index 993a9883a901bb16f35e440e19d7f50bccf73cea..aae99ed81a528fa3a3a335da9148c168d2a860aa 100644
(file)
--- a/
Utils/Formats.tex
+++ b/
Utils/Formats.tex
@@
-25,3
+25,7
@@
background=,
frame=off]
+\def\setwidthof#1\to#2%
+{\bgroup
+\setbox\scratchbox\hbox{#1}%
+\expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}}