代码:
\documentclass[12pt]{beamer}
\usepackage{amsmath}
\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[a4paper,landscape]
%\pgfpagesuselayout{2 on 1}[a4paper]
%\usetheme{Singapore}
\usetheme{Boadilla}
\usepackage{siunitx}
%\usefonttheme[?options?]{structuresmallcapsserif}
%\definecolor{beamer@blendedblue}{RGB}{203,140,55} % changed this
\definecolor{beamer@blendedblue}{RGB}{0,102,102} % changed this
%\definecolor{beamer@blendedblue}{RGB}{0,153,153} % changed this
\usefonttheme{professionalfonts} %To get the accents aligned correctly, albeit in Computer Modern Roman
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]
\begin{document}
%-----------------------------------------------------------------New slide ----------------------------------------------------%
\begin{frame}{Robust Control}
Known parameters:
\begin{equation}
m = \SI[parse-numbers = false, per-mode = symbol]{2}{\kilo\gram},\quad \ell = \SI[parse-numbers = false, per-mode = symbol]{4}{\meter},\quad g = \SI[parse-numbers = false, per-mode = symbol]{9.81}{\meter\per\second^2},\quad b = 1.
\end{equation}
For both control techniques, $\mathbf{x}_0 = \begin{bmatrix}\ang{90} & 0\end{bmatrix}^{\textrm{T}}$
\end{frame}
\end{document}
输出:
现在,数字是san-serif
,尽管我有\usefonttheme{professionalfonts}
。我想将它们更改为计算机现代(罗马) ,就像数学环境中的其他数字一样。如何做到这一点(如果有办法更改 CM(R) 中的单位和度数符号就好了)?