如何將兩列紙拆分成一個大公式

如何將兩列紙拆分成一個大公式

A 有一篇 2 欄論文,我有一個大公式,例如:

\documentclass[twocolumn,article,a4paper]{memoir}
\usepackage{amsmath}
\begin{document}

Therefore, triplets of the sensory score for aroma of that sample was calculated as:
\begin{equation}
\label{eq:eq1}
\text{S598A} = \dfrac{\text{0(0 0 25)+ 2(25 25 25)+ 3(50 25 25) + 14(75 25 25) + 6(100 25 0)}}{0+2+3+14+6} 
\end{equation}

\end{document}

因為我不知道如何在那個確切的空間中分割兩列。我嘗試了所有能找到的技巧,但沒有任何作用。

預先感謝大家

答案1

您可以使方程式適合該列,也可以將其放入兩列浮點數中。

我避免\text使用文字間距和不一致的間距,+我認為這是不需要的。我還避免使用數字鍵\label

在此輸入影像描述

\documentclass[twocolumn,article,a4paper]{memoir}
\usepackage{amsmath}
\begin{document}
\begin{figure*}
\begin{equation}
\label{eq:triplets-a}
\mathrm{S598A} = \frac{
0(0\ 0\ 25)+ 2(25\ 25\ 25)+
 3(50\ 25\ 25)\\
 + 14(75\ 25\ 25) +
 6(100\ 25\ 0)
}
{0+2+3+14+6} 
\end{equation}
\end{figure*}

blah 
\newpage
blah 
\newpage
Therefore, triplets of the sensory score for aroma of that sample was calculated as:
\begin{equation}
\label{eq:triplets-b}
\mathrm{S598A} = \frac{
\begin{gathered}
0(0\ 0\ 25)+ 2(25\ 25\ 25)+
 3(50\ 25\ 25)\\
 + 14(75\ 25\ 25) +
 6(100\ 25\ 0)
\end{gathered}}
{0+2+3+14+6} 
\end{equation}
Therefore, triplets of the sensory score for aroma of that sample was calculated as shown in \ref{eq:triplets-a}


\newpage
blah blah blah
\end{document}

相關內容