我试图将方程标记与方程本身对齐,但似乎不起作用
另外,是否可以将所有数学环境中的所有数学设置为粗体?
我的MWE
\documentclass[aspectratio=169, xcolor={x11names}, t, handout]{beamer}
\usepackage[export]{adjustbox}
\newcommand{\adjustboxMath}[1]{\adjustbox{cframe=black 0.141mm 1.06mm 0mm}{$#1$}}
\usepackage{empheq}
\newcommand{\basmahspace}{\mspace{0.61\thinmuskip}}
\begin{document}
\begin{frame}
\begin{itemize}
\item The state-space representation of a system dynamics is given as
\begin{empheq}[box=\adjustboxMath]{alignat=2}
\dot{\mathbf{x}} &= \mathbf{A} \basmahspace \mathbf{x} + \mathbf{B} \basmahspace \mathbf{u}
\medspace \empheqrbrace \text{State equations} {\vrule width0mm height6.9mm}
\\
\dot{\mathbf{y}} &= \mathbf{C} \basmahspace \mathbf{x} + \mathbf{D} \basmahspace \mathbf{u}
\medspace \empheqrbrace \text{Output equation}
\end{empheq}
\end{itemize}
\end{frame}
\end{document}
答案1
据我所知,问题在于\vrule
。你不需要它。
\documentclass[aspectratio=169, xcolor={x11names}, t, handout]{beamer}
\usepackage[export]{adjustbox}
\newcommand{\adjustboxMath}[1]{\adjustbox{cframe=black 0.141mm 1.06mm 0mm}{$#1$}}
\usepackage{empheq}
\begin{document}
\begin{frame}
\begin{empheq}[box=\adjustboxMath]{align}
\dot{\mathbf{x}} &=
\mathbf{A}\mathbf{x} + \mathbf{B}\mathbf{u}\;\Bigg\rbrace \text{State equations}
\\
\dot{\mathbf{y}} &=
\mathbf{C}\mathbf{x} + \mathbf{D}\mathbf{u}\;\Bigg\rbrace \text{Output equation}
\end{empheq}
\end{frame}
\end{document}