commit 0bd1e47fcc23ee18875c27c83893e33bcbfd77f2
parent 4e9c030821471342b69c47ac2b24307614a7a41d
Author: robert <robertrussell.72001@gmail.com>
Date: Sun, 23 Jan 2022 20:58:27 -0800
Rename for symmetry
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/text.tex b/text.tex
@@ -71,6 +71,7 @@
\def\bigskip{\vskip\bigskipamount}
% Horizontal spaces
+% TODO: should these force hmode?
\def\negthinspace{\kern-.16667em }
\def\thinspace{\kern.16667em }
\def\enspace{\kern.5em }
@@ -94,16 +95,16 @@
\def\llap{\@ltrue\@rfalse\@lapchoice}
\def\rlap{\@lfalse\@rtrue\@lapchoice}
\def\hlap{\@ltrue\@rtrue\@lapchoice}
-\def\@lapchoice{\modechoice{\@lap}{\@lap}{\mathpalette\@mathlap}}
-\def\@lap#1{\hbox to0pt{\if@l\hss\fi{#1}\if@r\hss\fi}}
+\def\@lapchoice{\modechoice{\@textlap}{\@textlap}{\mathpalette\@mathlap}}
+\def\@textlap#1{\hbox to0pt{\if@l\hss\fi{#1}\if@r\hss\fi}}
\def\@mathlap#1#2{\hbox to0pt{\if@l\hss\fi$\m@th\sty#1{#2}$\if@r\hss\fi}}
% Vertical overlaps
\def\ulap#1{\vbox to0pt{\boxmaxdepth=0pt \vss#1}}
\def\dlap#1{\vbox to0pt{\boxmaxdepth=0pt #1\vss}}
\def\vlap#1{\vbox to0pt{\boxmaxdepth=0pt \vss#1\vss}}
-\def\smash{\modechoice{\@smash}{\@smash}{\mathpalette\@mathsmash}}
-\def\@smash#1{\setbox0=\hbox{#1}\@finsmash}
+\def\smash{\modechoice{\@textsmash}{\@textsmash}{\mathpalette\@mathsmash}}
+\def\@textsmash#1{\setbox0=\hbox{#1}\@finsmash}
\def\@mathsmash#1#2{\setbox0=\hbox{$\m@th\sty#1{#2}$}\@finsmash}
\def\@finsmash{\ht0=0pt \dp0=0pt \box0 }