
Estoy escribiendo las siguientes ecuaciones en mi papel de látex. El problema es que estas ecuaciones ocupan demasiado espacio en mi artículo, lo cual es un problema ya que tengo límites de espacio. Además, estoy forzando saltos de línea, lo cual no es realmente conveniente. Preferiría que los saltos de línea se hicieran automáticamente. También me gustaría que todas mis ecuaciones estuvieran alineadas a la izquierda.
\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}
Aquí hay una captura de pantalla de las ecuaciones escritas en el papel:
Respuesta1
Una forma de hacer que las ecuaciones encajen dentro de la columna estrecha es (a) inducir nuevos saltos de línea inmediatamente después \vn{HighCombination}
y \vn{HighCombination}
( \vn{HighCombination}
b) colocar los puntos de alineación para las filas siguientes más a la izquierda.
Por cierto, yo lo haríanocargue el lmodern
paquete ya que la sigconf
opción de la acmart
clase de documento especifica una fuente matemática y de texto alternativa, que probablemente no debería anularse al cargar lmodern
. Y definitivamente lo haríanocargue el fixltx2e
paquete a menos que mi distribución TeX tenga al menos cinco años (lo cual, afortunadamente, no es el caso).
\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}