
我希望顯示像這樣的斜體
,這些斜體在文章文件中使用,但在具有
default
用途和字體主題的投影機文件中。
答案1
我不確定你的真正需求,但這似乎是這樣:
\documentclass{beamer}
\newcommand{\italnum}[1]{\begingroup\fontfamily{cmr}\itshape#1\endgroup}
\begin{document}
\begin{frame}
\frametitle{This is \italnum{1}}
A number $2$ and also italic \italnum{2}
\end{frame}
\end{document}
如果您需要它在數學模式下工作,請告訴我。