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
Define \epmh{foo} for easy emphasis.
[matthijs/master-project/report.git]
/
Utils
/
Formats.tex
diff --git
a/Utils/Formats.tex
b/Utils/Formats.tex
index 63a58dfce4ad938b5c6f673c7ce6e92019001d8d..d42a496126d87afcc12bdf55d3c162435637472d 100644
(file)
--- a/
Utils/Formats.tex
+++ b/
Utils/Formats.tex
@@
-17,7
+17,7
@@
}
% Define a \strikethrough command. For some reason, this does blue
}
% 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,
\definetextbackground
[strikethrough]
[location=text,
@@
-25,3
+25,10
@@
strikethrough, sometime that still needs fixing.
background=,
frame=off]
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][]