I would like to use Palatino with small caps and old-style figures for text and Euler with euler-digits for math.
If I use \usepackage[sc,osf]{mathpazo} without eulervm I get
old-style figures in text mode and lining figures in math mode, which
is what I want.
If I add \usepackage[euler-digits]{eulervm} I get old-style figures
in text mode, euler digits for \mathnormal and \mathbold but also
pazo old-style figures for \mathrm , \mathit , and \mathbf , which
I do NOT want.
It seems eulervm 'switch back' to text font (with old-style figures)
for \mathrm , \mathit , and \mathbf . I'd like it to 'switch back'
to lining figures font.
How could I get
- pazo's old-style figures in text mode,
- euler-digits in math mode for
\mathnormal, - pazo's lining figures in mathmode for
\mathrm,\mathit, and\mathbf?
I really do not want old-style figures in math mode.
%%%% ECM mathpazo osf and eulervm
\documentclass{minimal}
\usepackage[utf8]{inputenc}
% mathpazo osf alone gives old-style figures in text mode
% and lining figures in math mode :-)
\usepackage[sc]{mathpazo}
% eulervm 'switch back' to pazo's old-style figres :-(
\usepackage[euler-digits]{eulervm}
\usepackage[T1]{fontenc}
\usepackage{mathtools}
\begin{document}
Mathpazo text: 1234567890 old-style figures OK.
Euler math with euler-digits:
\begin{align*}
1234567890 \qquad &\text{mathnormal: euler-digits OK} \\
\mathrm{1234567890} \qquad &\text{mathrm: pazo old-style figures KO} \\
\mathit{1234567890} \qquad &\text{mathit: pazo old-style figures italic KO} \\
\mathbf{1234567890} \qquad &\text{mathbf: pazo old-style figures bold KO} \\
\mathbold{1234567890} \qquad &\text{mathbold: euler-digits OK}
\end{align*}
\end{document}
%%%% End of ECM

[...]particle. Please note that I wasn't advocating the use of lining numerals for equation numbers in a paper that uses oldstyle numerals. It's just a topic that comes up frequently on TeX.SE, and I thought it might be good to have the master, i.e., @egreg, explain to us how one might achieve such an effect. – Mico Apr 24 '12 at 10:26fontencpackage is loaded aftermathpazoandeulervmin this piece of code? – Nicola Gigante Mar 02 '16 at 10:20