AIO

This is a all-in-one latex template for ACM/USENIX/IEEE.

Category

Other

License

Free to use (MIT)

File

main.tex

main.texRead-only preview
% ======================================================================
% 1. TARGET CONFERENCE SELECTION
% ======================================================================
\newif\ifIEEE
\newif\ifACM
\newif\ifUSENIX

% ----------------------------------------------------------------------
\ifdefined\ForceACM
    \ACMtrue
\else\ifdefined\ForceUSENIX
    \USENIXtrue
\else\ifdefined\ForceIEEE
    \IEEEtrue
\else
    \ACMtrue % Default to ACM if no specific conference is forced
\fi\fi\fi
% ----------------------------------------------------------------------

% ======================================================================
% 2. DOCUMENT CLASS & SPECIFIC PACKAGES
% ======================================================================
\ifIEEE
    \documentclass[conference, 10pt]{IEEEtran}
    \IEEEoverridecommandlockouts
    \usepackage{cite}
    \usepackage{amsmath,amssymb,amsfonts}
    \usepackage{algorithmic}
\fi

\ifACM
    \documentclass[sigconf,anonymous,10pt]{acmart}
    \renewcommand\footnotetextcopyrightpermission[1]{} % remove copyright stuff
    \settopmatter{printfolios=true,printacmref=false}  % page num
\fi

\ifUSENIX
    \documentclass[letterpaper,twocolumn,10pt]{article}
    \usepackage{usenix-2020-09}
    \usepackage{amsmath}
\fi

% ======================================================================
% 3. COMMON PACKAGES
% ======================================================================
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\graphicspath{{./figures/}}
\usepackage{tikz}
\usepackage{xcolor}

\begin{document}

\input{utils/my_commands.tex}

% ======================================================================
% 4. TITLE & AUTHORS
% ======================================================================
\title{The Name of the Title Is Hope}

\ifIEEE
    \author{
        \IEEEauthorblockN{Jin Heo}
        \IEEEauthorblockA{
            \textit{Georgia Institute of Technology}\\
            Atlanta, Georgia, USA \\
            jheo33@gatech.edu
        }
    }
\fi

\ifACM
    \author{Jin Heo}
    \affiliation{%
      \institution{Georgia Institute of Technology}
      \city{Atlanta}
      \state{Georgia}
      \country{USA}
    }
    \email{jheo33@gatech.edu}
\fi

\ifUSENIX
    \date{} % don't want date printed
    \author{
      {\rm Jin Heo}\\
      Georgia Institute of Technology\\
      jheo33@gatech.edu
    }
\fi

% ======================================================================
% 5. ABSTRACT & MAKETITLE ORDERING
% ======================================================================
\ifACM
    % ACM requires abstract BEFORE maketitle
    \input{sections/abstract.tex}
    \maketitle
    \pagenumbering{arabic}
    \pagestyle{plain} % to remove upper notes
\else
    % IEEE and USENIX require maketitle BEFORE abstract
    \maketitle
    \input{sections/abstract.tex}
\fi

% ======================================================================
% 6. MAIN BODY
% ======================================================================
\input{sections/section1.tex}
% \input{sections/section2.tex} % Add more sections as needed

\input{sections/acknowledgement.tex}

% ======================================================================
% 7. BIBLIOGRAPHY
% ======================================================================
\ifIEEE
    \bibliographystyle{IEEEtran}
\fi

\ifACM
    \bibliographystyle{ACM-Reference-Format}
\fi

\ifUSENIX
    \bibliographystyle{plain}
\fi

\bibliography{ref}

\end{document}
Preview
AIO preview
AIO LaTeX Template | Bibby | Bibby AI