问题:
我有一段很长的文本,在枚举列表中被分成两句话。我希望文本与项目垂直居中对齐。
最小工作示例(MWE):
\documentclass{article}
\usepackage{enumitem}
\usepackage{amsmath}
\begin{document}
\noindent
\begin{enumerate}[label=\textbf{\arabic*}), itemsep=3ex]
\item $\dfrac{3x + 1}{x - 1} \geq \dfrac{6x - 2}{x + 2} \Leftrightarrow \dfrac{3x + 1}{x - 1} - \dfrac{6x - 2}{x + 2} \geq 0 \Leftrightarrow (MGN = (x - 1)(x + 2))$
\item[] $\Leftrightarrow \dfrac{(3x + 1)(x + 2)}{(x - 1)(x + 2)}-\dfrac{(6x - 2)(x - 1)}{(x + 2)(x - 1)} \geq 0 \Leftrightarrow$ (This is a short sentence.)
\item[] $\Leftrightarrow \dfrac{(3x + 1)(x + 2) - (6x - 2)(x - 1)}{(x - 1)(x + 2)} \geq 0 \Leftrightarrow$ (This is a long sentence that needs be beneath itself.)
\item[] $\Leftrightarrow \dfrac{3x^{2} + 7x + 2 - \left(6x^{2} - 8x + 2\right)}{(x - 1)(x + 2)} \geq 0 \Leftrightarrow R(x) = \dfrac{-3x^{2} + 15x}{(x - 1)(x + 2)} \geq 0$
\end{enumerate}
\end{document}
电流输出:
期望输出:
文本This is a long sentence that needs be beneath itself.
应位于其自身下方,在双箭头的右侧垂直居中对齐。
答案1
\documentclass{article}
\usepackage{enumitem}
\usepackage{amsmath}
\begin{document}
%? \noindent
\begin{enumerate}[label=\textbf{\arabic*}), itemsep=3ex]
\item $\dfrac{3x + 1}{x - 1} \geq \dfrac{6x - 2}{x + 2} \Leftrightarrow \dfrac{3x + 1}{x - 1} - \dfrac{6x - 2}{x + 2} \geq 0 \Leftrightarrow (MGN = (x - 1)(x + 2))$
\item[] $\Leftrightarrow \dfrac{(3x + 1)(x + 2)}{(x - 1)(x + 2)}-\dfrac{(6x - 2)(x - 1)}{(x + 2)(x - 1)} \geq 0 \Leftrightarrow$ (This is a short sentence.)
\item[] $\Leftrightarrow \dfrac{(3x + 1)(x + 2) - (6x - 2)(x - 1)}{(x - 1)(x + 2)} \geq 0 \Leftrightarrow$ \parbox{4cm}{\centering (This is a long sentence that needs be beneath itself.)}
\item[] $\Leftrightarrow \dfrac{3x^{2} + 7x + 2 - \left(6x^{2} - 8x + 2\right)}{(x - 1)(x + 2)} \geq 0 \Leftrightarrow R(x) = \dfrac{-3x^{2} + 15x}{(x - 1)(x + 2)} \geq 0$
\end{enumerate}
\end{document}