
이 문제와 관련된 질문이 있다는 것을 알고 있지만 이 경우 모든 작업을 수행할 수는 없습니다.
암호:
\documentclass{llncs}
\begin{document}
\begin{multicols}{2}
\noindent
\begin{equation}
Precision = \frac{TP}{TP + FP} \label{evaluation1}
\end{equation} \break
\begin{equation}
Recall = \frac{TP}{TP + FN} \label{evaluation2}
\end{equation} \break
\begin{equation}
F_1 = 2 \cdot \frac{precision \cdot recall}{ precision + recall} \label{evaluation3}
\end{equation}
\end{multicols}
\end{document}
산출:
편집하다
첫 번째 행에 방정식 1과 2를 설정하고 싶습니다. 그런 다음 두 번째 행의 방정식 3은 다음과 같습니다.
equation 1 equation 2
equation 3
답변1
를 사용 \columbreak
하여 오른쪽 열로 전환하고 구성을 두 개로 분리할 수 있습니다 multicols
.
\documentclass{llncs}
\usepackage{lipsum}
\begin{document}
\lipsum[1-3]
\begin{multicols}{2}
\noindent
\begin{equation}
\mathrm{precision} = \frac{TP}{TP + FP}
\end{equation} \columnbreak
\begin{equation}
\mathrm{recall} = \frac{TP}{TP + FN}
\end{equation}
\end{multicols}
\vspace{\dimexpr-\abovedisplayskip-\belowdisplayskip}% Adjust as needed
\begin{multicols}{2}
\begin{equation}
F_1 = 2 \cdot \frac{\mathrm{precision} \cdot \mathrm{recall}}{ \mathrm{precision} + \mathrm{recall} }
\end{equation}
\end{multicols}
\lipsum[4-6]
\end{document}
방정식 내용에 따라 사이의 간격을 조정할 수 있습니다 multicols
.
답변2
내가 사용하고 있는 것을 누구에게도 말하지 마세요 $$
. 글쎄, 거기~이다편리한 경우.
\documentclass{llncs}
\newenvironment{doubleequations}{%
$$
\setlength{\tabcolsep}{0pt}%
\setlength{\abovedisplayskip}{0pt}%
\setlength{\belowdisplayskip}{0pt}%
\setlength{\abovedisplayshortskip}{0pt}%
\setlength{\belowdisplayshortskip}{0pt}%
\begin{tabular}{p{0.5\textwidth}p{0.5\textwidth}}%
}{\end{tabular}$$}
\begin{document}
text before the equation
text before the equation
text before the equation
text before the equation
\begin{doubleequations}
\begin{equation}\label{evaluation1}
\mathrm{Precision} = \frac{\mathrm{TP}}{\mathrm{TP} + \mathrm{FP}}
\end{equation}
&
\begin{equation}\label{evaluation2}
\mathrm{Recall} = \frac{\mathrm{TP}}{\mathrm{TP} + \mathrm{FN}}
\end{equation}
\\[-2ex]
\begin{equation}\label{evaluation3}
F_1 = 2\cdot \frac{\mathrm{Precision} \cdot \mathrm{Recall}}
{\mathrm{Precision} + \mathrm{Recall}}
\end{equation}
\end{doubleequations}
text after the equation
text after the equation
text after the equation
text after the equation
\end{document}
\mathrm
(또는 \mathit
원할 경우) 로 분리하지 않고 수학 모드에서 "단어"를 쓰지 마세요 .
[-2ex]
자신에게 맞게 간격을 조정하세요 .
왜요 ?$$
multicols
표시되기 전에 페이지 나누기가 허용되지 않기 때문입니다.