On Tue, 29 Oct 2002, Andre Poenitz wrote:
> So maybe
>
> \DeclareRobustCommand*\textsubscript[1]{%
> \@textsubscript{\selectfont#1}}
> \def\@textsubscript#1{%
> {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}}
>
> in the preamble would help?
No, it gives a lot of errors:
This is TeX, Version 3.14159 (Web2C 7.3.7)
(./teste.tex
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german,
ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo)) (./teste.aux)
! Undefined control sequence.
\@textsubscript#1->{\m
@th\ensuremath {_{\mbox {\fontsize \sf @size\z
@#1}}}}
l.10 A\textsubscript{b}
?
! Missing number, treated as zero.
<to be read again>
\protect
l.10 A\textsubscript{b}
?
! Illegal unit of measure (pt inserted).
<to be read again>
\protect
l.10 A\textsubscript{b}
?
! Missing number, treated as zero.
<to be read again>
@
l.10 A\textsubscript{b}
?
! Illegal unit of measure (pt inserted).
<to be read again>
@
l.10 A\textsubscript{b}
?
! Undefined control sequence.
<argument> \fontsize \sf @size\z
@\selectfont b
l.10 A\textsubscript{b}
?
LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <0> not available
(Font) size <5> substituted on input line 10.
[1] (./teste.aux)
LaTeX Font Warning: Size substitutions with differences
(Font) up to 5.0pt have occurred.
)
Output written on teste.dvi (1 page, 272 bytes).
Transcript written on teste.log.