]> mj.ucw.cz Git - ucwmac.git/commitdiff
\smashedhbox and \smashedvbox are \long
authorMartin Mares <mj@ucw.cz>
Sun, 1 Jun 2014 12:23:58 +0000 (14:23 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 1 Jun 2014 12:23:58 +0000 (14:23 +0200)
ucwmac.tex

index 642291e7b197e2882b20cc28cc9b5b46842d191d..2fb1c3ce40d395fe4eaa90a75685dd77e8c3fff7 100644 (file)
@@ -87,8 +87,8 @@
 
 % Set all dimensions of a given box register to zero
 \def\smashbox#1{\ht#1=0pt \dp#1=0pt \wd#1=0pt}
-\def\smashedhbox#1{{\setbox0=\hbox{#1}\smashbox0\box0}}
-\def\smashedvbox#1{{\setbox0=\vbox{#1}\smashbox0\box0}}
+\long\def\smashedhbox#1{{\setbox0=\hbox{#1}\smashbox0\box0}}
+\long\def\smashedvbox#1{{\setbox0=\vbox{#1}\smashbox0\box0}}
 
 % Variants of \llap and \rlap working equally on both sides and/or vertically
 \def\hlap#1{\hbox to 0pt{\hss #1\hss}}