我正在寻找一种在方程式后面立即添加变量描述的好方法。在纯文本中,它可能看起来像这样:
r_p = a(1-e)
在哪里A是半长轴
(空间)埃是偏心率(也许埃与A)
此外,我有兴趣将此等式和描述放在列表中:
\begin{itemize}
\item Periapse
\begin{itemize}
\item The point of closest approach to the foci
\[r_p = a(1-e)\]
(variable descriptions)
\end{itemize}
\item Apoapse
\begin{...
...
\end{itemize}
答案1
像这样?
% arara: pdflatex
\documentclass{article}
\usepackage{array}
\newcommand{\where}[1]{where~\begin{tabular}[t]{@{}>{$}c<{$}@{ }l@{}}#1\end{tabular}}
\begin{document}
\begin{itemize}
\item Periapse
\begin{itemize}
\item The point of closest approach to the foci
\[r_p = a(1-e)\]
\where{a & is semi-major axis \\e & is eccentricity}
\end{itemize}
\item Apoapse
\end{itemize}
\end{document}