每个方程式都应直接位于其列表旁边,即 a) 的右侧,而不是其下方,只是想知道如何修复它,以及我的标记是否可以提高效率。它目前的样子:
\documentclass[fleqn]{article}
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}
\item \begin{equation*} \text{Factorise the following} \end{equation*}
\begin{multicols}{2}
\begin{enumerate}[(a)]
\item \begin{equation*} \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x). \end{equation*}
\item \begin{equation*} \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x). \end{equation*}
\item \begin{equation*} \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x). \end{equation*}
\item \begin{equation*} \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x). \end{equation*}
\item \begin{equation*} \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x). \end{equation*}
\item \begin{equation*} \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x). \end{equation*}
\end{enumerate}
\end{multicols}
\end{enumerate}
答案1
可以使用内联数学来代替枚举编号下方的显示方程环境。\displaystyle
选择显示方程的设置。
\documentclass[fleqn]{article}
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{enumerate}
\begin{document}
\begin{enumerate}
\item Factorise the following:
\begin{multicols}{2}
\begin{enumerate}[(a)]
\item $\displaystyle \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x)$.
\item $\displaystyle \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x)$.
\item $\displaystyle \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x)$.
\item $\displaystyle \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x)$.
\item $\displaystyle \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x)$.
\item $\displaystyle \frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x)$.
\end{enumerate}
\end{multicols}
\end{enumerate}
\end{document}
结果:
编辑:添加了沃纳的中心方程的想法。
\documentclass[fleqn]{article}
\usepackage{amsmath}
\usepackage{multicol}
\usepackage{enumerate}
\newenvironment{cmath}{%
\leavevmode
\hfill
$\displaystyle
}{%
$\hfill\null
}
\begin{document}
\begin{enumerate}
\item Factorise the following:
\begin{multicols}{2}
\begin{enumerate}[(a)]
\item \begin{cmath}\frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x).\end{cmath}
\item \begin{cmath}\frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x).\end{cmath}
\item \begin{cmath}\frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x).\end{cmath}
\item \begin{cmath}\frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x).\end{cmath}
\item \begin{cmath}\frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x).\end{cmath}
\item \begin{cmath}\frac{d}{dx}\left( \int_{0}^{x},du\right)=f(x).\end{cmath}
\end{enumerate}
\end{multicols}
\end{enumerate}
\end{document}
结果: