对齐浮动到中心的方程式

对齐浮动到中心的方程式

我有这个代码(基于回答):

\[
\SI{0.2}{\micro\second} =
  (1 - FR) * \SI{0.1}{\micro\second} + 
  (\num{0.3} * FR) * \SI{8}{\milli\second} + 
  (\num{0.7} * FR) * \SI{20}{\milli\second}
\]
\[
\SI{0.2}{\micro\second} =
  \SI{0.1}{\micro\second} - 
  FR * \SI{0.1}{\micro\second} + 
  FR * \SI{2.4}{\milli\second} + 
  FR * \SI{14}{\milli\second}
\]
\[
\SI{0.1}{\micro\second} =
  -FR * \SI{0.1}{\micro\second} + 
  FR * \SI{2400}{\micro\second} + 
  FR * \SI{14000}{\micro\second}
\]
\[
\SI{0.1}{\micro\second} =
  -FR * \SI{16399.9}{\micro\second}
\]
\[
FR = 0.000006
\]

输出:

在此处输入图片描述

我希望每一行都在同一列,而不是居中对齐。

答案1

也许您想将它们全部对齐到标志处=

\documentclass{article}  %% preamble from egreg at http://tex.stackexchange.com/a/223438/11232
\usepackage{amsmath}
\usepackage{siunitx}
\usepackage{textgreek}
\sisetup{text-micro=\textmu,math-micro=\text{\textmu}}

\begin{document}
\begin{align*}
\SI{0.2}{\micro\second} &=
  (1 - FR) * \SI{0.1}{\micro\second} +
  (\num{0.3} * FR) * \SI{8}{\milli\second} +
  (\num{0.7} * FR) * \SI{20}{\milli\second}\\
\SI{0.2}{\micro\second} &=
  \SI{0.1}{\micro\second} -
  FR * \SI{0.1}{\micro\second} +
  FR * \SI{2.4}{\milli\second} +
  FR * \SI{14}{\milli\second}\\
\SI{0.1}{\micro\second} &=
  -FR * \SI{0.1}{\micro\second} +
  FR * \SI{2400}{\micro\second} +
  FR * \SI{14000}{\micro\second}\\
\SI{0.1}{\micro\second} &=
  -FR * \SI{16399.9}{\micro\second}\\
FR &= \num{0.000006}
\end{align*}

\end{document}

在此处输入图片描述

在当今时代,阅读amsmath手册大有裨益。texdoc amsldoc要从命令提示符/终端运行它。

相关内容