Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!hp4nl!fwi.uva.nl!smagt From: smagt@fwi.uva.nl (Patrick van der Smagt) Newsgroups: comp.text.tex Subject: Re: bold-italics-math in all type sizes? Message-ID: <1234@carol.fwi.uva.nl> Date: 6 Sep 90 16:39:31 GMT References: <1230@carol.fwi.uva.nl> Sender: news@fwi.uva.nl Reply-To: smagt@fwi.uva.nl (Patrick van der Smagt) Organization: FWI, University of Amsterdam Lines: 29 In article <1230@carol.fwi.uva.nl> smagt@fwi.uva.nl (Patrick van der Smagt) writes: >Some time ago I requested solutions for the problem that \boldmath >doesn't work in footnotes or sup/subscripts. The solution I am using >now is: > >\def\bm#1{ > \setbox1=\hbox{$#1$} > \copy1\kern-\wd1\kern0.05ex\copy1\kern-\wd1\kern0.05ex\box1 >} > Ok, this is dumb, an improved version would be \def\bm#1{% \mathchoice% {\setbox1=\hbox{$#1$}\dobm} {\setbox1=\hbox{$#1$}\dobm} {\setbox1=\hbox{\scriptsize$#1$}\dobm} {\setbox1=\hbox{\tiny$#1$}\dobm} } \def\dobm{ \copy1\kern-\wd1\kern0.05ex\copy1\kern-\wd1\kern0.05ex\box1 } or something to the same extent (thanks to Raymond Chen (raymond@math.berkeley.edu) who pointed out this blooper. Never publish anything untested.) Patrick van der Smagt