smash expansion (mkiv)
![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
Hi, I use \smash[]{..} quite often and noticed some expansion problems with it. Can \smash be defined as [supp-box.mkiv] \unexpanded\def\smash {\futurelet\nexttoken\dosmash} ??? Regards, Peter
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 29-8-2011 17:45, Peter Rolf wrote:
Hi,
I use \smash[]{..} quite often and noticed some expansion problems with it. Can \smash be defined as
[supp-box.mkiv] \unexpanded\def\smash {\futurelet\nexttoken\dosmash}
???
sure, but also other box related helpers should become unexpandables ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Peter Rolf