Latex 中的变量 "where" 声明
Variable "where" declarations in Latex
在 Latex 中,我正在尝试进行变量声明。换句话说,我正在尝试做类似的事情:
x=a+c
其中 a = 我吃的洋葱圈数。
我的尝试是这样的:
\begin{equation}
d\phi= aE_{s}cos(\theta_{s}) +eM)cos(\alpha)A_{c}/(r^2\pi)
\intertext{where $E_{s}$ is the sun's intensity}
\end{equation}
但代码无法编译并出现以下错误:"Undefined control sequence"
错误指向"intertext"行
我做错了什么?
\intertext
命令在 align*
环境中运行,没有编号 (reference):
\begin{align*}
d\phi= aE_{s}\cos(\theta_{s}) +eM)\cos(\alpha)A_{c}/(r^2\pi)
\intertext{where $E_{s}$ is the sun's intensity}
\end{align*}
虽然我不确定它在 equation
里面。您可能还想尝试:
\begin{equation}
d\phi= aE_s\cos(\theta_s) +eM)\cos(\alpha)A_c/(r^2\pi)\text{ %
where $E_s$ is the sun's intensity}
\end{equation}
产生不同的输出。
在 Latex 中,我正在尝试进行变量声明。换句话说,我正在尝试做类似的事情:
x=a+c 其中 a = 我吃的洋葱圈数。
我的尝试是这样的:
\begin{equation}
d\phi= aE_{s}cos(\theta_{s}) +eM)cos(\alpha)A_{c}/(r^2\pi)
\intertext{where $E_{s}$ is the sun's intensity}
\end{equation}
但代码无法编译并出现以下错误:"Undefined control sequence"
错误指向"intertext"行
我做错了什么?
\intertext
命令在 align*
环境中运行,没有编号 (reference):
\begin{align*}
d\phi= aE_{s}\cos(\theta_{s}) +eM)\cos(\alpha)A_{c}/(r^2\pi)
\intertext{where $E_{s}$ is the sun's intensity}
\end{align*}
虽然我不确定它在 equation
里面。您可能还想尝试:
\begin{equation}
d\phi= aE_s\cos(\theta_s) +eM)\cos(\alpha)A_c/(r^2\pi)\text{ %
where $E_s$ is the sun's intensity}
\end{equation}
产生不同的输出。