diff options
author | Karl Berry <karl@freefriends.org> | 2012-08-19 22:18:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-08-19 22:18:34 +0000 |
commit | f5cea8308088d502f2e2760a784b372c4ebe711f (patch) | |
tree | 69d41bcc7f50769034406354ee24ac4fe66a9b74 /Master/texmf-dist/source | |
parent | 6aa32e191916797cc9fc7593bca87b6af250aeea (diff) |
aomart (19aug12)
git-svn-id: svn://tug.org/texlive/trunk@27459 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/aomart/aomart.dtx | 138 |
1 files changed, 113 insertions, 25 deletions
diff --git a/Master/texmf-dist/source/latex/aomart/aomart.dtx b/Master/texmf-dist/source/latex/aomart/aomart.dtx index 155d99aa3f5..acf42d2b551 100644 --- a/Master/texmf-dist/source/latex/aomart/aomart.dtx +++ b/Master/texmf-dist/source/latex/aomart/aomart.dtx @@ -1,5 +1,5 @@ % \iffalse -% $Id: aomart.dtx,v 1.54 2011-06-21 21:34:22 boris Exp $ +% $Id: aomart.dtx,v 1.59 2012-08-16 22:58:28 boris Exp $ % % Copyright 2010-2011, Princeton University (Mathematics Department) % This work may be distributed and/or modified under the @@ -23,7 +23,7 @@ % public domain. % % \fi -% \CheckSum{1089} +% \CheckSum{1136} % % %% \CharacterTable @@ -98,6 +98,12 @@ % \changes{v1.5}{2011/02/26}{Added sortyear to the styles} % \changes{v1.6}{2011/03/06}{Bibliography change: aomalpha now % respects key field in the bib file} +% \changes{v1.11}{2012/07/23}{Added new commands for copyright +% statement} +% \changes{v1.11}{2012/07/24}{Bibliography change: titlenote, deleted bysame} +% \changes{v1.11}{2012/08/16}{Added \textbackslash fulladdress} +% \changes{v1.11}{2012/08/16}{Deleted \textbackslash repeatedauthors{} from +% the documentation} % % \clearpage % @@ -310,6 +316,12 @@ % |\surname| are used to indicate how to split the name into the % parts. % +% \DescribeMacro{\fulladdress} +% Another command which does not affect the typesetting is +% \cmd{\fulladdress}. It is used to store the full mailing address of +% the author for the online version of the journal and various +% databases. +% % \DescribeMacro{\shortauthors} % In some cases the authors list may be too long for the running head, % even if the abbreviated forms are used for each author. In this @@ -328,6 +340,26 @@ % |\title| and |\author|. % % +% \DescribeMacro{\copyrightnote} +% Normally each paper is copyrighted by Department of Mathematics, +% Princeton University. This is reflected in the footnote on the +% first page of the article. However, by arrangement with the +% editors, certain papers may have different copyright. The command +% \cmd{\copyrightnote}\marg{copyright statement}, if issued, changes +% the footnote to the corresponding text, for example: +% \begin{verbatim} +% \copyrightnote{\textcopyright~2012 by the authors. This paper may +% be reproduced, in its entirety, for noncommercial purposes.} +% \end{verbatim} +% Note that if you issue this command, you should explicitly include +% both the copyright sign and the year unless the paper does not have +% a copyright, for example: +% \begin{verbatim} +% \copyrightnote{This paper is in the public domain} +% \end{verbatim} +% +% +% % \DescribeEnv{abstract} % The abstract of the paper must be put between |\begin{abstract}| and % |\end{abstract}|. Unlike the situation in \progname{amsart} @@ -422,6 +454,17 @@ % Note that if the argument of |\endpage| is empty, \LaTeX{} tries to % calculate the last page number as best as it can. % +% \DescribeMacro{\copyrightyear} +% In the standard copyright statement the copyright year is assumed to +% be the same as the |\publicationyear|. However, for special cases +% one can set the copyright year explicitly, for example, +% \begin{verbatim} +% \publicationyear{2012} +% \copyrightyear{2011} +% \end{verbatim} +% Note that if you use your own copyright statement instead of the +% canned one (with the command \cmd{\copyrightnote}), you need to put +% there the copyright year explicitly instead of using this command. % % \DescribeMacro{\doinumber} % \DescribeMacro{\mrnumber} @@ -623,27 +666,23 @@ % the same author, some with a year, and some without, you may want % to put them in a certain order. The field |sortyear| overrides % |year| for the sorting purposes. -% \end{description} -% -% -% \DescribeMacro{\repeatedauthors} -% If you do not use Bib\TeX{} and produce your bibliography manually, -% you may want to have repeated authors to -% be suppressed in the bibliography list, like it is done in the -% example. The command |\repeatedauthors| should be used in this -% case, for example: +% \item[titlenote:] this field is like \texttt{note}, but is typeset +% immediately after a title. It should be used for additional +% information, for example, % \begin{verbatim} -% \bibitem{fre:cichon} -% D.~H. Fremlin, \emph{Cichon's diagram}, presented at the -% S{\'e}minaire Initiation {\`a} l'Analyse, G. Choquet, M. Rogalski, -% J. Saint Raymond, at the Universit{\'e} Pierre et Marie Curie, -% Paris, 23e ann{\'e}e., 1983/194. -% -% \bibitem{fre:riesz} -% \repeatedauthors{D.~H. Fremlin}, \emph{Topological {R}iesz spaces -% and measure theory}, Cambridge University Press, 2008. +% @Book{Knuth94:TheTeXbook, +% author = {Knuth, Donald Ervin}, +% title = {The \TeX book}, +% publisher = {Addison-Wesley Publishing Company}, +% year = 1994, +% series = {Computers \& Typesetting A}, +% address = {Reading, MA}, +% titlenote = {with illustrations by Duane Bibby} +% } % \end{verbatim} % +% \end{description} +% % % \DescribeMacro{\doi} % \DescribeMacro{\mr} @@ -684,7 +723,7 @@ \ProvidesFile{aomart.dtx} %</gobble> %<class>\ProvidesClass{aomart} -[2011/06/21 v1.10 Typesetting articles for the Annals of Mathematics] +[2012/08/16 v1.11 Typesetting articles for the Annals of Mathematics] % \end{macrocode} % % @@ -1109,6 +1148,7 @@ \@onlypreamble{\curraddr} \@onlypreamble{\urladdr} \@onlypreamble{\givenname} +\@onlypreamble{\fulladdress} \@onlypreamble{\surname} \@onlypreamble{\thanks} \@onlypreamble{\keyword} @@ -1126,6 +1166,8 @@ \@onlypreamble{\volumenumber} \@onlypreamble{\issuenumber} \@onlypreamble{\publicationyear} +\@onlypreamble{\copyrightnote} +\@onlypreamble{\copyrighyear} \@onlypreamble{\papernumber} \@onlypreamble{\startpage} \@onlypreamble{\endpage} @@ -1138,6 +1180,8 @@ % Most top matter macros are defined in \progname{amsart}. Here we % just add some new macros and redefine some. % +% \begin{macro}{\fulladdress} +% \changes{v1.11}{2012/08/16}{Added macro} % \begin{macro}{\givenname} % \begin{macro}{\surname} % These commands at present do nothing: they are for machine @@ -1145,10 +1189,13 @@ % \begin{macrocode} \let\givenname=\@gobble \let\surname=\@gobble +\let\fulladdress=\@gobble % \end{macrocode} % \end{macro} % \end{macro} -% +% \end{macro} +% +% % \begin{macro}{\keyword} % Actually \progname{amsart} has |\kewords| macro. It redefines % |\@keywords|. Our macro adds to the stack instead. @@ -1356,6 +1403,30 @@ % \end{macro} % \end{macro} % +% \begin{macro}{\copyrightyear} +% \changes{v1.11}{2012/07/23}{Added macro} +% This is the copyright year in case it does not coincide with the +% publication year: +% \begin{macrocode} +\def\copyrightyear#1{\def\@copyrightyear{#1}} +\copyrightyear{} +% \end{macrocode} +% +% \end{macro} +% +% \begin{macro}{\copyrightnote} +% \changes{v1.11}{2012/07/23}{Added macro} +% This is the copyrightnote. The default has some trickery with the +% year: +% \begin{macrocode} +\def\copyrightnote#1{\def\@copyrightnote{#1}} +\copyrightnote{\textcopyright~% + \ifx\@empty\@copyrightyear\currentyear\else\@copyrightyear\fi~% + Department of Mathematics, Princeton University} +% \end{macrocode} +% +% \end{macro} +% %\subsection{Typesetting Top Matter} %\label{sec:maketitle} % @@ -1420,6 +1491,7 @@ % \end{macro} % % \begin{macro}{\@adminfootnotes} +% \changes{v1.11}{2012/07/23}{Added copyright statement} % We do not typeset keywords, so we change the definition: % \begin{macrocode} \def\@adminfootnotes{% @@ -1431,6 +1503,9 @@ \ifx\@empty\thankses\else \@footnotetext{% \def\par{\let\par\@par}\@setthanks}% \fi + \ifx\@empty\@copyrightnote\else \@footnotetext{% + \def\par{\let\par\@par}\@copyrightnote\@addpunct.}% + \fi } % \end{macrocode} % @@ -1522,6 +1597,7 @@ % \changes{v0.5}{2010/10/24}{E-mail is now in Roman font} % \changes{v0.9}{2010/12/04}{Deleted spurious space in urladdress} % \changes{v1.2}{2011/01/05}{Changed font for current address} +% \changes{v1.11}{2012/07/23}{Changed email handling} % The difference between our definition and the one in % \progname{amsart} is that we want the e-mail and URL to be clickable % \begin{macrocode} @@ -1542,7 +1618,7 @@ \def\email##1##2{\begingroup \@ifnotempty{##2}{\nobreak\indent\emailaddrname \@ifnotempty{##1}{, \ignorespaces##1\unskip}\hskip0.2em:\space - \href{mailto:##2}{\rmfamily##2}\par}\endgroup}% + \href{mailto:##2}{\nolinkurl{##2}}\par}\endgroup}% \def\urladdr##1##2{\begingroup \@ifnotempty{##2}{\nobreak\indent \@ifnotempty{##1}{, \ignorespaces##1\unskip}% @@ -1726,12 +1802,24 @@ %\label{sec:bibl} % % \begin{macro}{\repeatedauthors} -% When the authors are repeated, we change them to |\bysame|: +% \changes{v1.11}{2012/08/16}{Now this command is obsolete} +% When the authors are repeated, we used change them to |\bysame|; +% we no more do this: % \begin{macrocode} -\def\repeatedauthors#1{\bysame} +\def\repeatedauthors#1{\ClassWarning{aomart}{The command is obsolte}#1} % \end{macrocode} % \end{macro} % +% \begin{macro}{\bysame} +% \changes{v1.11}{2012/08/16}{Made the macro obsolete} +% We no longer use \cmd{\bysame} +% \begin{macrocode} +\let\bysame@@orig=\bysame +\def\bysame{\ClassWarning{aomart}{We no longer omit + repeated authors}\bysame@@orig} +% \end{macrocode} +% +% \end{macro} % % \begin{macro}{\doi} % \changes{v1.2}{2011/01/05}{Now we properly treat numbers with underscores} |