Introduced option acmart for new ACM class and re-introduced existing setup for sig-alternate.

This commit is contained in:
Achim D. Brucker 2018-03-03 21:20:20 +00:00
parent 404e714adb
commit 44e88520a3
2 changed files with 19 additions and 1 deletions

View File

@ -51,6 +51,7 @@
\DeclareStringOption[UNKNOWN PUBLICATION]{publication}[]
\DeclareBoolOption{ACM}
\DeclareBoolOption{acmart}
\DeclareBoolOption{ENTCS}
\DeclareBoolOption{IEEE}
\DeclareBoolOption{LNCS}
@ -99,11 +100,28 @@
\setcounter{page}{\AA@startpage}
%%%% sig-alternate.cls
\ifAA@ACM%
\setkeys{AA}{publisher=ACM}
\global\boilerplate={}
\global\copyrightetc={}
\renewcommand{\conferenceinfo}[2]{}
\renewcommand{\authorcrfont}{\scriptsize}
\setlength\AA@x{1in+\hoffset+\oddsidemargin}
\setlength\AA@y{-\textheight+\topmargin+\headheight} % -\voffset-\topmargin-\headheight-\footskip}
\renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},\LenToUnit{\AA@y}){#1}}
\setlength{\AA@width}{\columnwidth}
\fi
%
%%%% acmart.cls
\ifAA@acmart%
\setkeys{AA}{publisher=ACM}
\renewcommand{\authorat}[1]{\AtPageUpperLeft{\put(\LenToUnit{\AA@x},\LenToUnit{-\paperheight}){#1}}}
\setlength{\AA@width}{\textwidth}
\fi
%
%%%% LNCS
\ifAA@LNCS%
\setkeys{AA}{publisher=Springer-Verlag}

View File

@ -8,7 +8,7 @@
\acmDOI{10.1145/000000.000000}
\acmISBN{000-0-0000-0000-0/00/00}
\usepackage[
\usepackage[acmart,
key=brucker-authorarchive-2016,
year=2016,
publication={Anonymous et al. (eds). Proceedings of the International