diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-06 21:30:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-06 21:30:56 +0000 |
commit | 22b1546e4e62d89b1361ec2c9f26221e22d9a428 (patch) | |
tree | 06a7d142cb7312810a256b59f429797b8c38695c /Master/texmf-dist/source | |
parent | b17c2558bca9c4b79e1b9352a7cee8c940542e1b (diff) |
acmart (6sep16)
git-svn-id: svn://tug.org/texlive/trunk@42001 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/acmart/acmart.dtx | 108 |
1 files changed, 107 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/acmart/acmart.dtx b/Master/texmf-dist/source/latex/acmart/acmart.dtx index 9765b874f2d..d00f22bdcb2 100644 --- a/Master/texmf-dist/source/latex/acmart/acmart.dtx +++ b/Master/texmf-dist/source/latex/acmart/acmart.dtx @@ -1119,7 +1119,90 @@ % If you use |natbib|, then commands like \cs{citep} and % \cs{citeauthor} are automatically supported. % +% There are several customized \BibTeX\ entries and fields in ACM +% style \path{ACM-Reference-Format.bst} you may want to be aware of. % +% The style supports fields \path{doi} and \path{url}, for example, +% \begin{verbatim} +% doi = "10.1145/1188913.1188915", +% url = "http://ccrma.stanford.edu/~jos/bayes/bayes.pdf", +% \end{verbatim} +% +% The style supports arXiv recommended fields \path{eprint} and +% (optionally) \path{primaryclass}, for example, +% \begin{verbatim} +% eprint = "960935712", +% primaryclass = "cs", +% \end{verbatim} +% See the examples at \url{http://arxiv.org/hypertex/bibstyles/}. +% +% There are special entries \path{online} and +% \path{game} for Web pages and games, for example, +% \begin{verbatim} +% @online{Thornburg01, +% author = "Harry Thornburg", +% year = "2001", +% title = "Introduction to Bayesian Statistics", +% url = "http://ccrma.stanford.edu/~jos/bayes/bayes.html", +% month = mar, +% lastaccessed = "March 2, 2005", +% } +% \end{verbatim} +% For these entries you can use the \path{lastaccessed} field to add +% the access date to the URL. +% +% There are two ways to enter video and audio sources in the +% bibliograpy corresponding to two different possibilies. For +% standalone sources available on WWW you can use an \path{online} +% entry, setting there \path{howpublished} field, for example, +% \begin{verbatim} +% @online{Obama08, +% author = "Barack Obama", +% year = "2008", +% title = "A more perfect union", +% howpublished = "Video", +% day = "5", +% url = "http://video.google.com/videoplay?docid=6528042696351994555", +% month = mar, +% lastaccessed = "March 21, 2008", +% } +% \end{verbatim} +% +% For the sources available as attachments to conference proceedings +% and similar documents, you can use the usual \path{inproceedings} +% entry, again setting the \path{howpublished} field: +% \begin{verbatim} +% @Inproceedings{Novak03, +% author = "Dave Novak", +% title = "Solder man", +% booktitle = {ACM SIGGRAPH 2003 Video Review on Animation theater +% Program}, +% year = "2003", +% publisher = "ACM Press", +% address = "New York, NY", +% pages = "4", +% month = "March 21, 2008", +% doi = "99.9999/woot07-S422", +% howpublished = "Video" +% } +% \end{verbatim} +% +% Sometimes you need to cite a complete issue of a journal. The entry +% \path{periodical} is intended for this: +% \begin{verbatim} +% @periodical{JCohen96, +% key = "Cohen", +% editor = "Jacques Cohen", +% title = "Special issue: Digital Libraries", +% journal = CACM, +% volume = "39", +% number = "11", +% month = nov, +% year = "1996", +% } +% +% \end{verbatim} +% % %\subsection{Colors} %\label{sec:ug_colors} @@ -1187,7 +1270,7 @@ \ProvidesFile{acmart.dtx} %</gobble> %<class>\ProvidesClass{acmart} -[2016/08/06 v1.20 Typesetting articles for Association of +[2016/09/04 v1.21 Typesetting articles for Association of Computing Machinery] % \end{macrocode} % @@ -4909,6 +4992,29 @@ Computing Machinery] \fi % \end{macrocode} % +% +%\subsection{Additional bibliography commands} +%\label{sec:bibliography} +% +% \begin{macro}{\showeprint} +% \changes{v1.21}{2016/09/04}{Added macro} +% The command \cs{showeprint} has two arguments: the (optional) prefix +% and the eprint number. Right now the only prefix we understand is +% the (lowercase) word `arxiv' (see +% \url{http://arxiv.org/hypertex/bibstyles/}. +% \begin{macrocode} +\newcommand\showeprint[2][arxiv]{% + \def\@tempa{#1}% + \ifx\@tempa\@empty\def\@tempa{arxiv}\fi + \def\@tempb{arxiv}% + \ifx\@tempa\@tempb + arXiv:\href{http://arxiv.org/abs/#2}{#2}\else arXiv:#2% + \fi} +% \end{macrocode} +% +% +% \end{macro} +% %\subsection{End of Class} %\label{end} % |