<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Jan 21, 2011 at 8:30 AM, jfbu <span dir="ltr"><<a href="mailto:jfbu@free.fr">jfbu@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sorry for posting twice, but I do not see my posts on the mailing list,<br>
and did not receive them (although I checked that my profile does<br>
say to include me in the list of the recipients of my own messages)<br>
<br>
motivated by Philipp's code, I can propose a further method<div><div></div><div class="h5"><br>
(of course OT1 can be T1, etc..)<br>
<br>
\documentclass{minimal}<br>
\DeclareSymbolFont{fontfordigits}{OT1}{cmtt}{m}{n}<br>
<br>
\newcommand\hackit{%<br>
\edef\tmp{0\the\symfontfordigits}%<br>
\mathcode`\0=\expandafter"\tmp30\relax%<br>
\mathcode`\1=\expandafter"\tmp31\relax%<br>
\mathcode`\2=\expandafter"\tmp32\relax%<br>
\mathcode`\3=\expandafter"\tmp33\relax%<br>
\mathcode`\4=\expandafter"\tmp34\relax%<br>
\mathcode`\5=\expandafter"\tmp35\relax%<br>
\mathcode`\6=\expandafter"\tmp36\relax%<br>
\mathcode`\7=\expandafter"\tmp37\relax%<br>
\mathcode`\8=\expandafter"\tmp38\relax%<br>
\mathcode`\9=\expandafter"\tmp39\relax}<br>
<br>
\let\oldmathbf\mathbf<br>
\renewcommand\mathbf[1]{{\oldmathbf{\hackit\relax#1}}}<br>
<br>
\begin{document}<br>
<br>
\[\mathbf{0s12{s3xyz098}76\alpha01234xyz}\quad 0s12{s3xyz098}76\alpha01234xyz\]<br>
<br>
\end{document}<br>
<br>
Regards,<br>
<br>
Jean-Francois Burnol<br>
<br>
<br>
<br></div></div></blockquote><div><br><br>Thanks a lot. <br></div></div><br></div>