Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@wgroeneveld
Created February 14, 2021 11:22
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save wgroeneveld/b6e2751c6da2a7bac73f668ddff5c3d0 to your computer and use it in GitHub Desktop.
Save wgroeneveld/b6e2751c6da2a7bac73f668ddff5c3d0 to your computer and use it in GitHub Desktop.
\documentclass[sigconf,anonymous=$anonymous$]{acmart}
\usepackage{booktabs}
\usepackage{caption} % http://mirror.easyname.at/ctan/macros/latex/contrib/caption/caption-eng.pdf
\usepackage{balance} % balancing bibstyles as per request in accepted submission
\usepackage{graphicx}
% We will generate all images so they have a width \maxwidth. This means
% that they will get their normal width if they fit onto the page, but
% are scaled down if they would overflow the margins.
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth
\else\Gin@nat@width\fi}
\makeatother
\let\Oldincludegraphics\includegraphics
\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
%% These commands are for a PROCEEDINGS abstract or paper.
$for(acm)$
\copyrightyear{$acm.copyrightyear$}
\acmYear{$acm.copyrightyear$}
\setcopyright{$acm.copyright$}
\acmConference[$acm.conference$]{$acm.conferencetitle$}{$acm.date$}{$acm.location$}
\acmBooktitle{$acm.booktitle$}
\acmPrice{$acm.price$}
\acmISBN{$acm.bookisbn$}
\acmDOI{$acm.doi$}
$endfor$
$for(header-includes)$
$header-includes$
$endfor$
$for(author)$
\author{$author.name$}
$if(author.orcid)$
\orcid{$author.orcid$}
$endif$
\affiliation{
$if(author.institution)$
\institution{$author.institution$}
$endif$
$if(author.department)$
\institution{$author.department$}
$endif$
$if(author.city)$
\city{$author.city$}
$endif$
$if(author.country)$
\country{$author.country$}
$endif$
}
\email{$author.email$}
$endfor$
$if(final)$
$if(poster)$
\settopmatter{printacmref=false, printfolios=false}
$else$
\settopmatter{printacmref=true}
$endif$
$endif$
\begin{document}
$if(final)$
\fancyhead{}
$endif$
$if(title)$
\title{$title$}
$endif$
$if(subtitle)$
\subtitle{$subtitle$}
$endif$
$if(abstract)$
\begin{abstract}
$abstract$
\end{abstract}
$endif$
\renewcommand{\shortauthors}{$shortauthors$}
\maketitle
\bibliographystyle{ACM-Reference-Format}
$body$
$if(bibliography)$
\balance
\bibliography{$bibliography$}
$endif$
\end{document}
\endinput
%%
%% End of file `sample-authordraft.tex'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment