我想在我的对齐环境中将文本左对齐。基本上,我想得到这种效果:
这是我的代码:
\documentclass{article}
\usepackage{amsmath,amsfonts,amssymb,amsthm, bm}
\begin{document}
\begin{flalign}
\mbox{For the \emph{steady-state filter system}} \quad\quad \bm{\Phi}_{f} & = (\mathbf{I}-\mathbf{\bar{K}h'})\bm{\Phi}&\\
\mbox{For the \emph{steady-state predictor system}} \quad\quad \bm{\Phi}_{p} & = (\mathbf{I}-\mathbf{\bar{K}h'})\bm{\Phi}&
\end{flalign}
\end{document}
答案1
您忘记了一些&
:
\documentclass{article}
\usepackage{showframe}% just for the example
\usepackage{amsmath,amsfonts,amssymb,amsthm, bm}
\begin{document}
\begin{flalign}
&\text{For the \emph{steady-state filter system}} &
\bm{\Phi}_{f} & = (\mathbf{I}-\bar{\mathbf{K}}\mathbf{h}')\bm{\Phi} &&\\
&\text{For the \emph{steady-state predictor system}} &
\bm{\Phi}_{p} & = (\mathbf{I}-\bar{\mathbf{K}}\mathbf{h}')\bm{\Phi} &&
\end{flalign}
\end{document}
我修复了语法:\mathbf{\bar{K}h'}
在概念上是错误的。即使更长,也要使用逻辑标记:
\bar{\mathbf{K}} \mathbf{h}'
是正确的输入。