0

I would like to write 4 equations in a nice professional way in my paper without taking up too much space. Here is a screenshot of what my equations currently look like and you will find the code below for the 4 equations. How can I make these equations nicer? Also, I am receiving a lot of latex errors for what I wrote.

enter image description here

\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


None^{Callers} \Or None^{Callees}$=$0\\
Low^{Callers} \Or Low^{Callees}$=$1\\
1$<${Medium^{Callers} \Or Medium^{Callees}}$<=$5\\
5$<${High^{Callers} \Or High^{Callees}}






\end{document}
7

Please notice that the M in MWE means minimal.

Does the following suits you?

\documentclass[a4paper,12pt]{article}
\usepackage{mathtools}

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


\newcommand{\Callers}{\mathrm{Callers}}
\newcommand{\Callees}{\mathrm{Callees}}
\newcommand{\None}{\mathrm{None}}
\newcommand{\Low}{\mathrm{Low}}
\newcommand{\Medium}{\mathrm{Medium}}
\newcommand{\High}{\mathrm{High}}
\begin{document}
\begin{align*}
\None^{\Callers} &\Or \None^{\Callees}=0\\
\Low^{\Callers} &\Or \Low^{\Callees}=1\\
1< \Medium^{\Callers} &\Or \Medium^{\Callees} \leq 5\\
5 < \High^{\Callers}  &\Or \High^{\Callees}
\end{align*}
\end{document} 

enter image description here

| improve this answer | |
5

I would use a single gather* environment.

enter image description here

\documentclass{article}
\usepackage{amsmath}
\newcommand\Or{\mathbin{\Vert}}
\newcommand\vn[1]{\mathit{#1}}
\begin{document}
\begin{gather*}
\vn{None}^{\vn{Callers}} \Or \vn{None}^{\vn{Callees}}=0\\
\vn{Low}^{\vn{Callers}} \Or \vn{Low}^{\vn{Callees}}=1\\
1<{\vn{Medium}^{\vn{Callers}} \Or \vn{Medium}^{Callees}}\le5\\
5<{\vn{High}^{\vn{Callers}} \Or \vn{High}^{Callees}}
\end{gather*}
\end{document}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.