X-Git-Url: http://rtime.felk.cvut.cz/gitweb/modosist/iidtitlepage.git/blobdiff_plain/86cfe9dc88a98ae6ac6f9c4d3d5e3bf603138415..0c52243b0c5f4cb04a010bc16f61cc5f0713a4ca:/iidtitlepage.sty diff --git a/iidtitlepage.sty b/iidtitlepage.sty index 8a9e354..f9019c4 100644 --- a/iidtitlepage.sty +++ b/iidtitlepage.sty @@ -19,16 +19,22 @@ \newtoggle{iidieee} \newtoggle{iidelsevier} \newtoggle{iidspringer} +\newtoggle{iidacm} \DeclareOption{ieee}{ \toggletrue{iidieee} } \DeclareOption{elsevier}{ \toggletrue{iidelsevier} } \DeclareOption{springer}{ \toggletrue{iidspringer} } +\DeclareOption{acm}{ \toggletrue{iidacm} } \ProcessOptions{} \newcommand{\IidTitlePageYear}[1]{ \newcommand{\@IidTitlePageYear}{#1} } +\newcommand{\IidPublishedIn}[1]{ + \newcommand{\@IidPublishedIn}{#1} +} + \newcommand{\IidTitlePageDoi}[1]{ \newcommand{\@IidTitlePageDoi}{#1} } @@ -59,6 +65,9 @@ \iftoggle{iidieee}{ \copyright~\@IidTitlePageYear\ IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works. }{} + \iftoggle{iidacm}{ + \copyright~ACM~\@IidTitlePageYear. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in \@IidPublishedIn, \url{\@IidTitlePageDoi} + }{} } } @@ -100,4 +109,4 @@ \nobibliography{bibfile} } -\endinput \ No newline at end of file +\endinput