18 Apr
2007
18 Apr
'07
6:31 p.m.
Inspired by Alexander Perlis' macros in http://www.tug.org/TUGboat/Articles/tb22-4/tb72perlS.pdf can we have the math equivalent of llap etc. in ConTeXt. Ideally, \llap etc. should be modified so that they work in math mode also (just like \smash and \phantom). If not, we can have the following simple definitions: \def\mathclap{\mathpalette\domathclap} \def\domathclap#1#2{\clap{$\m@th#1#2$}} \def\mathllap{\mathpalette\domathllap} \def\domathllap#1#2{\llap{$\m@th#1#2$}} \def\mathrlap{\mathpalette\domathrlap} \def\domathrlap#1#2{\rlap{$\m@th#1#2$}} Usage: \startformula A = \sum_{\mathclap{1 \le i \le N}} a_i \stopformula Aditya
6358
Age (days ago)
6358
Last active (days ago)
0 comments
1 participants
participants (1)
-
Aditya Mahajan