# [texhax] Puzzling (La)TeX output

Mon May 8 14:13:43 CEST 2006

Martin Schröder :

> On 2006-05-08 13:10:58 +0200, Martin Schröder wrote:
>> If you had used \textrm, this problem would've appeared.
>
> Grmpf. s/would've/would not have/
>
> Actually usrguide has a section on migrating 2.09 documents.
>
>

well not really, both is wrong.

simply using {\textrm dx} will make the 'd' in upright text font which is
not right either. But it is expected that \dx should be using in math mode
where the math fonts should be used. In that case

\newcommand\dx{\mathrm{dx}}

would have been a beter choice.

\mbox is wrong in any case, since it cannot determine the correct fontsize
in supscripts.

/daleif

You cannot help men permanently by doing for them
what they could and should do for themselves. ''
-- Abraham Lincoln