latest "sigplanconf.cls"

original commit: fa40be83d652f9f6f96b94adbfb93478f3f2f74f
This commit is contained in:
Matthew Flatt 2013-08-02 08:25:38 -06:00
parent 4644c7373d
commit 5e16b991ff

View File

@ -27,7 +27,7 @@
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{sigplanconf}[2011/11/08 v2.5 ACM SIGPLAN Proceedings]
\ProvidesClass{sigplanconf}[2013/07/02 v2.8 ACM SIGPLAN Proceedings]
% The following few pages contain LaTeX programming extensions adapted
% from the ZzTeX macro package.
@ -524,7 +524,8 @@
\if \@authoryear
\typeout{Using natbib package with 'authoryear' citation style.}
\usepackage[authoryear,square]{natbib}
\bibpunct{[}{]}{;}{a}{}{,} % Change citation separator to semicolon,
\bibpunct{(}{)}{;}{a}{}{,} % Change fences to parentheses;
% citation separator to semicolon;
% eliminate comma between author and year.
\let \cite = \citep
\else
@ -574,7 +575,7 @@
\def \@copyrightspace {%
\@float{copyrightbox}[b]%
\vbox to 1in{%
\vbox to 1.2in{%
\vfill
\parbox[b]{20pc}{%
\scriptsize
@ -592,91 +593,115 @@
\fi}}%
\end@float}
\newcommand{\reprintprice}[1]{%
\gdef \@reprintprice {#1}}
\reprintprice{\$15.00}
\long\def \toappear #1{%
\def \@toappear {#1}}
\toappear{%
\noindent \@permission \par
\vspace{2pt}
\noindent \textsl{\@conferencename}\quad \@conferenceinfo \par
\noindent \textsl{\@conferencename}, \quad \@conferenceinfo. \par
\noindent Copyright \copyright\ \@copyrightyear\ ACM \@copyrightdata
\dots \@reprintprice\par}
\dots \@reprintprice.\par
\noindent http://dx.doi.org/10.1145/\@doi }
\newcommand{\permission}[1]{%
\gdef \@permission {#1}}
\permission{%
Permission to make digital or hard copies of all or
part of this work for personal or classroom use is granted without
fee provided that copies are not made or distributed for profit or
commercial advantage and that copies bear this notice and the full
citation on the first page. To copy otherwise, to republish, to
Permission to make digital or hard copies of all or part of this work for
personal or classroom use is granted without fee provided that copies are
not made or distributed for profit or commercial advantage and that copies
bear this notice and the full citation on the first page. Copyrights for
components of this work owned by others than ACM must be honored.
Abstracting with credit is permitted. To copy otherwise, or republish, to
post on servers or to redistribute to lists, requires prior specific
permission and/or a fee.}
permission and/or a fee. Request permissions from permissions@acm.org.}
% Here we have some alternate permission statements and copyright lines:
% These are two new rights management and bibstrip text blocks.
\newcommand{\exclusivelicense}{%
\permission{%
Permission to make digital or hard copies of all or part of this work for
personal or classroom use is granted without fee provided that copies are
not made or distributed for profit or commercial advantage and that copies
bear this notice and the full citation on the first page. Copyrights for
components of this work owned by others than the author(s) must be honored.
Abstracting with credit is permitted. To copy otherwise, or republish, to
post on servers or to redistribute to lists, requires prior specific
permission and/or a fee. Request permissions from permissions@acm.org.}
\toappear{%
\noindent \@permission \par
\vspace{2pt}
\noindent \textsl{\@conferencename}, \quad \@conferenceinfo. \par
\noindent Copyright is held by the owner/author(s). Publication rights licensed to ACM. \par
\noindent ACM \@copyrightdata \dots \@reprintprice.\par
\noindent http://dx.doi.org/10.1145/\@doi}}
\newcommand{\permissiontopublish}{%
\permission{%
Permission to make digital or hard copies of part or all of this work for
personal or classroom use is granted without fee provided that copies are
not made or distributed for profit or commercial advantage and that copies
bear this notice and the full citation on the first page. Copyrights for
third-party components of this work must be honored.
For all other uses, contact the owner/author(s).}%
\toappear{%
\noindent \@permission \par
\vspace{2pt}
\noindent \textsl{\@conferencename}, \quad \@conferenceinfo. \par
\noindent Copyright is held by the owner/author(s). \par
\noindent ACM \@copyrightdata.\par
\noindent http://dx.doi.org/10.1145/\@doi}}
% The following permission notices are
% for the traditional copyright transfer agreement option.
% Exclusive license and permission-to-publish
% give more complicated permission notices.
% These are not covered here.
\newcommand{\ACMCanadapermission}{%
\permission{%
Copyright \@copyrightyear\ Association for Computing Machinery.
ACM acknowledges that
this contribution was authored or co-authored by an affiliate of the
National Research Council of Canada (NRC).
As such, the Crown in Right of
Canada retains an equal interest in the copyright, however granting
nonexclusive, royalty-free right to publish or reproduce this article,
or to allow others to do so, provided that clear attribution
is also given to the authors and the NRC.}}
ACM acknowledges that this contribution was authored or
co-authored by an affiliate of the Canadian National
Government. As such, the Crown in Right of Canada retains an equal
interest in the copyright. Reprint requests should be forwarded to
ACM.}}
\newcommand{\ACMUSpermission}{%
\permission{%
Copyright \@copyrightyear\ Association for
Computing Machinery. ACM acknowledges that
this contribution was authored or co-authored
by a contractor or affiliate
of the U.S. Government. As such, the Government retains a nonexclusive,
royalty-free right to publish or reproduce this article,
or to allow others to do so, for Government purposes only.}}
\newcommand{\authorpermission}{%
\permission{%
Copyright is held by the author/owner(s).}
\toappear{%
\noindent \@permission \par
\vspace{2pt}
\noindent \textsl{\@conferencename}\quad \@conferenceinfo \par
ACM \@copyrightdata.}}
\newcommand{\Sunpermission}{%
\permission{%
Copyright is held by Sun Microsystems, Inc.}%
\toappear{%
\noindent \@permission \par
\vspace{2pt}
\noindent \textsl{\@conferencename}\quad \@conferenceinfo \par
ACM \@copyrightdata.}}
ACM acknowledges that this contribution was authored or
co-authored by a contractor or affiliate of the United States
Government. As such, the United States Government retains a
nonexclusive, royalty-free right to publish or reproduce this
article, or to allow others to do so, for Government purposes
only.}}
\newcommand{\USpublicpermission}{%
\permission{%
This paper is authored by an employee(s) of the United States
Government and is in the public domain.}%
Government and is in the public domain. Non-exclusive copying or
redistribution is allowed, provided that the article citation is
given and the authors and the agency are clearly identified as its
source.}%
\toappear{%
\noindent \@permission \par
\vspace{2pt}
\noindent \textsl{\@conferencename}\quad \@conferenceinfo \par
ACM \@copyrightdata.}}
\newcommand{\reprintprice}[1]{%
\gdef \@reprintprice {#1}}
\reprintprice{\$10.00}
\noindent \textsl{\@conferencename}, \quad \@conferenceinfo. \par
\noindent ACM \@copyrightdata.\par
\noindent http://dx.doi.org/10.1145/\@doi}}
\newcommand{\authorversion}[4]{%
\permission{%
Copyright \copyright\ ACM, #1. This is the author's version of the work.
It is posted here by permission of ACM for your personal use.
Not for redistribution. The definitive version was published in
#2, #3, http://doi.acm.org/10.1145/#4.}}
#2, #3, http://dx.doi.org/10.1145/#4.}}
% Enunciations
% ------------
@ -828,6 +853,9 @@
\let \crdata = \copyrightdata
\newcommand{\doi}[1]{%
\gdef \@doi {#1}}
\newcommand{\proceedings}[1]{%
\gdef \@proceedings {#1}}
@ -1182,7 +1210,7 @@
% Date Person Ver. Change
% ---- ------ ---- ------
% 2004.09.12 PCA 0.1--5 Preliminary development.
% 2004.09.12 PCA 0.1--4 Preliminary development.
% 2004.11.18 PCA 0.5 Start beta testing.
@ -1264,9 +1292,20 @@
% 2009.09.30 PCA 2.3 Remove \softraggedright from thebibliography.
% Just include in the template.
% 2010.05.24 PCA 2.4 Obfuscate author's email address.
% 2010.05.24 PCA 2.4 Obfuscate class author's email address.
% 2011.11.08 PCA 2.5 Add copyright notice to this file.
% Remove 'sort' option from natbib when using
% 'authoryear' style.
% Add the \authorversion command.
% 2013.02.22 PCA 2.6 Change natbib fences to parentheses when
% using 'authoryear' style.
% 2013.05.17 PCA 2.7 Change standard and author copyright text.
% 2013.07.02 TU 2.8 More changes to permission/copyright notes.
% Replaced ambiguous \authorpermission with
% \exclusivelicense and \permissiontopublish