
如果標題不清楚:我需要一些文字和一個方程式(對於其他情況,在提供的圖片中我有其他文字)位於同一行,同時讓文字與左側對齊頁面和方程式與中心對齊。
我能想到的最佳解決方案如下,但它們並沒有達到預期的結果(下圖):
解決方案一:
\noindent
\begin{minipage}{0.5\textwidth}
\textit{Behauptung.}
\end{minipage}%
\begin{minipage}{1.5\textwidth}
$f$ ist irreduzibel über $K$.
\end{minipage}
解決方案2:
\begin{center}
\begin{raggedright}
\textit{Behauptung.}
\begin{equation}
f \text{ ist irreduzibel über } K. \nonumber
\end{equation}
\end{raggedright}
\end{center}
非常感謝任何人提前提供幫助:O)!
答案1
我不想對不需要的結果(例如文字重疊)負責,但這是一種方法:
\textit{Behauptung.}\\[-2\baselineskip] $$f \text{ ist irreduzibel über } K.$$
但這不是理想的格式,您也可以查看此處的討論,特別建議在環境\shortintertext
中使用gather
:右邊編號、左邊文字的方程