]> rtime.felk.cvut.cz Git - modosist/iidtitlepage.git/blobdiff - iidtitlepage.sty
Added ACM template
[modosist/iidtitlepage.git] / iidtitlepage.sty
index 3bc27c3f2ac4df0420a2a7909714adfcdc6a4398..f9019c42316306597ee2d05e11b013657cea741c 100644 (file)
@@ -1,6 +1,8 @@
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{iidtitlepage}
 
+\RequirePackage[utf8]{inputenc}
+\RequirePackage[czech]{babel}
 \RequirePackage{etoolbox}
 \RequirePackage{geometry}
 \RequirePackage{graphicx}
 \RequirePackage{mdframed}
 \RequirePackage{fancyhdr}
 
+\bibliographystyle{abbrv}
+
 \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{\IidTitlePageAuthors}[1]{
-    \newcommand{\@IidTitlePageAuthors}{#1}
-}
-
 \newcommand{\IidTitlePageYear}[1]{
     \newcommand{\@IidTitlePageYear}{#1}
 }
 
+\newcommand{\IidPublishedIn}[1]{
+    \newcommand{\@IidPublishedIn}{#1}
+}
+
 \newcommand{\IidTitlePageDoi}[1]{
     \newcommand{\@IidTitlePageDoi}{#1}
 }
          \iftoggle{iidelsevier}{
              \copyright~\@IidTitlePageYear. This manuscript version is made available under the CC-BY-NC-ND 4.0 license, see \url{http://creativecommons.org/licenses/by-nc-nd/4.0/}
          }{}
+         \iftoggle{iidspringer}{
+             \copyright~\@IidTitlePageYear. This manuscript version is made available under the CC-BY-NC-ND 4.0 license, see \url{http://creativecommons.org/licenses/by-nc-nd/4.0/}
+         }{}
          \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}
+         }{}
        }
     }
 
@@ -69,7 +83,7 @@
 
         \vspace{0.3cm}
 
-        \noindent\nohyphens{{\large \@IidTitlePageAuthors}}
+        \noindent\nohyphens{{\large \@author}}
 
 
         \vfill
     \end{titlepage}
     \makeatother
     \restoregeometry{}
+    \nobibliography{bibfile}
 }
 
-\endinput
\ No newline at end of file
+\endinput