\documentclass{article}
\begin{document}
\textsc{Hello 123}
\end{document}
'Hello' is typeset in small caps, but '123' is in roman. I would like
to get '123' in small caps, too. I could not find any info in Kopka
and Daly or the LaTeX Companion.
Thanks.
\textsc{Hello}~\oldstylenums{123}
or, if you like Palatino:
\usepackage[osf]{mathpazo}
Bob T.
Um, "old style" numbers are lower case: lining numbers are upper case.
--
Joseph Wright
> How do I get small caps numbers in a \textsc environment? That is, in
> the snippet
>
> \documentclass{article}
> \begin{document}
> \textsc{Hello 123}
> \end{document}
>
> 'Hello' is typeset in small caps, but '123' is in roman. I would like
> to get '123' in small caps, too.
The numbers are from the same font as the characters, so they are
"in small caps". If you want smaller numbers, use a smaller
fontsize:
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\textsc{Hello 123
Hello{\small 123}
Hello{\footnotesize 123}
Hello{\fontsize{7.5}{8.5}\selectfont 123}
Hello\scalebox{0.75}{123}}
\end{document}
--
Ulrike Fischer
That was my interpretation of what the OP wanted. Often old style
numbers are in the same font as small caps.
Bob T.