我有一个命令用于为方程式环境设置表格图形。我希望内联数学运算使用相同的表格图形,最好允许我继续使用 $$。
\documentclass{report}
\usepackage{etoolbox}
\usepackage[mathlf]{MinionPro}
\AtBeginEnvironment{equation}{%
\figureversion{lf, tab}
}
\begin{document}
\begin{equation}
E = m{c^2} %here I have tabular figures
\end{equation}
In this formula, $c^2$ is the speed of the light squared. %here I have lining proportional figures
\end{document}