공간을 너무 많이 차지하지 않고 방정식이 너무 길고 방정식을 왼쪽 정렬해야 하는 경우 강제로 줄 바꿈을 하지 않고 라텍스로 방정식을 작성합니다.

공간을 너무 많이 차지하지 않고 방정식이 너무 길고 방정식을 왼쪽 정렬해야 하는 경우 강제로 줄 바꿈을 하지 않고 라텍스로 방정식을 작성합니다.

나는 라텍스 논문에 다음 방정식을 쓰고 있습니다. 문제는 이러한 방정식이 내 논문에서 너무 많은 공간을 차지하고 있다는 것입니다. 이는 공간 제한이 있기 때문에 문제입니다. 또한 실제로 편리하지 않은 줄 바꿈을 강요하고 있습니다. 줄 바꿈이 자동으로 이루어지면 더 좋습니다. 또한 모든 방정식을 왼쪽으로 정렬하고 싶습니다.

    \documentclass[sigconf]{acmart}

\usepackage{booktabs} % For formal tables
\usepackage{algorithmic}
\usepackage{fixltx2e}
\usepackage{algorithm}
\usepackage{enumitem}
\usepackage{multirow}
\usepackage{hhline}
\usepackage{amsmath}
\usepackage{lmodern}
\usepackage[T1]{fontenc}

\newcommand\vn[1]{\mathit{#1}} % or: \mathrm{#1}
\newcommand\Or{\mathrel{\big\Vert}}
% Copyright
%\setcopyright{none}
\setcopyright{acmcopyright}
%\setcopyright{acmlicensed}
%\setcopyright{rightsretained}
%\setcopyright{usgov}
%\setcopyright{usgovmixed}
%\setcopyright{cagov}
%\setcopyright{cagovmixed}

% DOI
\acmDOI{xx.xxx/xxx_x}

% ISBN
\acmISBN{978-1-4503-8104-8/21/03}

%Conference
\acmConference[SAC'21]{ACM SAC Conference}{March 22-March 26, 2021}{Gwangju, South Korea}
\acmYear{2021}
\copyrightyear{2021}

%\thispagestyle{plain} 

\acmArticle{4}
\acmPrice{15.00}


\pagestyle{plain}
\settopmatter{printfolios=true}
\begin{document}

\title{test}

\author{Anonymous Author(s)}





\begin{abstract}
abstract

\end{abstract}

%
% The code below should be generated by the tool at
% http://dl.acm.org/ccs.cfm
% Please copy and paste the code instead of the example below. 
%
\begin{CCSXML}
<ccs2012>
 <concept>
  <concept_id>10010520.10010553.10010562</concept_id>
  <concept_desc>Computer systems organization~Embedded systems</concept_desc>
  <concept_significance>500</concept_significance>
 </concept>
 <concept>
  <concept_id>10010520.10010575.10010755</concept_id>
  <concept_desc>Computer systems organization~Redundancy</concept_desc>
  <concept_significance>300</concept_significance>
 </concept>
 <concept>
  <concept_id>10010520.10010553.10010554</concept_id>
  <concept_desc>Computer systems organization~Robotics</concept_desc>
  <concept_significance>100</concept_significance>
 </concept>
 <concept>
  <concept_id>10003033.10003083.10003095</concept_id>
  <concept_desc>Networks~Network reliability</concept_desc>
  <concept_significance>100</concept_significance>
 </concept>
</ccs2012>  
\end{CCSXML}

\ccsdesc[500]{Computer systems organization~Embedded systems}
\ccsdesc[300]{Computer systems organization~Redundancy}
\ccsdesc{Computer systems organization~Robotics}
\ccsdesc[100]{Networks~Network reliability}


\keywords{ACM proceedings, \LaTeX, text tagging}


\maketitle

\begin{gather*}
\vn{NoCallersU} + \vn{NoCalleesU}=\vn{None}^{\vn{Callers}} 
  \And \vn{None}^{\vn{Callees}} \\[1ex]
\begin{aligned}
\vn{LowCombination}
&=\bigl(\vn{Low}^{\vn{Callers}} \And (\vn{Low}^{\vn{Callees}} 
  \Or \vn{None}^{\vn{Callees}})\bigr) \\
&\qquad \Or\bigl( \vn{None}^{\vn{Callers}} \And \vn{Low}^{\vn{Callees}} \bigr) \\[1ex]
\vn{MediumCombination}
&=\bigl(\vn{Medium}^{\vn{Callers}}\And(\vn{Medium}^{\vn{Callees}} \Or \\ 
&\qquad \vn{Low}^{\vn{Callees}}  \Or \vn{None}^{\vn{Callees}}) \bigr) \Or \\
&\qquad \bigl(( \vn{None}^{\vn{Callers}} \Or \vn{Low}^{\vn{Callers}} ) 
 \And \vn{Medium}^{\vn{Callees}}\bigr)\\[1ex]
 \vn{HighCombination}
&=\bigl(\vn{High}^{\vn{Callers}}\And(\vn{High}^{\vn{Callees}} \Or\vn{Medium}^{\vn{Callees}} \Or \\ 
&\qquad \vn{Low}^{\vn{Callees}}  \Or \vn{None}^{\vn{Callees}}) \bigr) \Or \\
&\qquad \bigl(\vn{High}^{\vn{Callers}}\And(\vn{Medium}^{\vn{Callees}} \Or \\ 
&\qquad \vn{Low}^{\vn{Callees}}  \Or \vn{None}^{\vn{Callees}}) \bigr)\\[1ex]
\end{aligned}
\end{gather*}



\end{document}

다음은 논문에 쓰여진 방정식의 스크린샷입니다. 여기에 이미지 설명을 입력하세요

답변1

방정식을 좁은 열 안에 맞추는 한 가지 방법은 (a) 바로 뒤에 새로운 줄 바꿈을 유도하고 ( \vn{HighCombination}b ) 후속 행에 대한 정렬 지점을 더 왼쪽에 배치하는 것입니다.\vn{HighCombination}\vn{HighCombination}

덧붙여서, 나는~ 아니다문서 클래스 의 옵션이 대체 수학 및 텍스트 글꼴을 지정하므로 lmodern패키지를 로드합니다. 이는 로드로 재정의되어서는 안 됩니다 . 그리고 난 분명히 그럴 거야sigconfacmartlmodern~ 아니다내 TeX 배포판이 적어도 5년 이상 된 것이 아니라면 패키지를 로드하십시오 fixltx2e(고맙게도 그렇지 않습니다).

여기에 이미지 설명을 입력하세요

\documentclass[sigconf]{acmart}

\usepackage{booktabs} % For formal tables
\usepackage{algorithmic}
%%\usepackage{fixltx2e}
\usepackage{algorithm}
\usepackage{enumitem}
\usepackage{multirow}
\usepackage{hhline}
\usepackage{amsmath}
%\usepackage{lmodern}
\usepackage[T1]{fontenc}

\newcommand\vn[1]{\mathit{#1}} % or: \mathrm{#1}
\newcommand\Or{\mathrel{\big\Vert}}


% Copyright
%\setcopyright{none}
\setcopyright{acmcopyright}
%\setcopyright{acmlicensed}
%\setcopyright{rightsretained}
%\setcopyright{usgov}
%\setcopyright{usgovmixed}
%\setcopyright{cagov}
%\setcopyright{cagovmixed}

% DOI
\acmDOI{xx.xxx/xxx_x}

% ISBN
\acmISBN{978-1-4503-8104-8/21/03}

%Conference
\acmConference[SAC'21]{ACM SAC Conference}{March 22--March 26, 2021}{Gwangju, South Korea}
\acmYear{2021}
\copyrightyear{2021}

%\thispagestyle{plain} 

\acmArticle{4}
\acmPrice{15.00}


\pagestyle{plain}
\settopmatter{printfolios=true}

\begin{document}
\title{test}
\author{Anonymous Author(s)}

\begin{abstract}
abstract   
\end{abstract}

%
% The code below should be generated by the tool at
% http://dl.acm.org/ccs.cfm
% Please copy and paste the code instead of the example below. 
%
\begin{CCSXML}
<ccs2012>
 <concept>
  <concept_id>10010520.10010553.10010562</concept_id>
  <concept_desc>Computer systems organization~Embedded systems</concept_desc>
  <concept_significance>500</concept_significance>
 </concept>
 <concept>
  <concept_id>10010520.10010575.10010755</concept_id>
  <concept_desc>Computer systems organization~Redundancy</concept_desc>
  <concept_significance>300</concept_significance>
 </concept>
 <concept>
  <concept_id>10010520.10010553.10010554</concept_id>
  <concept_desc>Computer systems organization~Robotics</concept_desc>
  <concept_significance>100</concept_significance>
 </concept>
 <concept>
  <concept_id>10003033.10003083.10003095</concept_id>
  <concept_desc>Networks~Network reliability</concept_desc>
  <concept_significance>100</concept_significance>
 </concept>
</ccs2012>  
\end{CCSXML}

\ccsdesc[500]{Computer systems organization~Embedded systems}
\ccsdesc[300]{Computer systems organization~Redundancy}
\ccsdesc{Computer systems organization~Robotics}
\ccsdesc[100]{Networks~Network reliability}


\keywords{ACM proceedings, \LaTeX, text tagging}


\maketitle

% \allowdisplaybreaks  % optional, to allow page breaks
\begin{gather*}
\vn{NoCallersU} + \vn{NoCalleesU}
=\vn{None}^{\vn{Callers}} 
  \And \vn{None}^{\vn{Callees}} \\[1ex]
\begin{aligned}
\vn{Low}&\vn{Combination} \\
&=\bigl(\vn{Low}^{\vn{Callers}} \And (\vn{Low}^{\vn{Callees}} 
  \Or \vn{None}^{\vn{Callees}})\bigr) \\
&\quad \Or\bigl( \vn{None}^{\vn{Callers}} \And \vn{Low}^{\vn{Callees}} \bigr) \\[1ex]
\vn{Medium}&\vn{Combination}\\
&=\bigl(\vn{Medium}^{\vn{Callers}}\And(\vn{Medium}^{\vn{Callees}} \\ 
&\quad \Or \vn{Low}^{\vn{Callees}}  \Or \vn{None}^{\vn{Callees}}) \bigr) \\
&\quad \Or \bigl(( \vn{None}^{\vn{Callers}} \Or \vn{Low}^{\vn{Callers}} ) 
 \And \vn{Medium}^{\vn{Callees}}\bigr)\\[1ex]
\vn{High}&\vn{Combination}\\
&=\bigl(\vn{High}^{\vn{Callers}}\And(\vn{High}^{\vn{Callees}} \Or\vn{Medium}^{\vn{Callees}} \\ 
&\quad \Or \vn{Low}^{\vn{Callees}}  \Or \vn{None}^{\vn{Callees}}) \bigr) \\
&\quad\Or \bigl(\vn{High}^{\vn{Callers}}\And(\vn{Medium}^{\vn{Callees}} \\ 
&\quad \Or \vn{Low}^{\vn{Callees}}  \Or \vn{None}^{\vn{Callees}}) \bigr)
\end{aligned}
\end{gather*}

\end{document}

관련 정보