diff options
author | Karl Berry <karl@freefriends.org> | 2013-08-19 22:50:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-08-19 22:50:51 +0000 |
commit | 159c0f9b4397fce4ebb181dd2877849155199127 (patch) | |
tree | 03f28691985508a3114dc9ccca96b614eb3bb9e0 /Master | |
parent | 1bc8d960b33b7c52f207689addc2380b5eedda58 (diff) |
resphilosophica (19aug13)
git-svn-id: svn://tug.org/texlive/trunk@31475 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/resphilosophica/README | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf | bin | 387153 -> 396939 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf | bin | 98500 -> 106125 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex | 9 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx | 155 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls | 88 |
6 files changed, 219 insertions, 36 deletions
diff --git a/Master/texmf-dist/doc/latex/resphilosophica/README b/Master/texmf-dist/doc/latex/resphilosophica/README index 8e498212472..7251204636e 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/README +++ b/Master/texmf-dist/doc/latex/resphilosophica/README @@ -7,6 +7,9 @@ This work was commissioned by the Saint Louis University. Changes + version 1:13: New command: \titlenote + New options: preprint and forthcoming + version 1.12: Bibliography changes version 1.11: Automatic doi generation diff --git a/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf b/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf Binary files differindex 0326b4e79c9..e86f92d7c78 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf +++ b/Master/texmf-dist/doc/latex/resphilosophica/resphilosophica.pdf diff --git a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf Binary files differindex 6ba5489660d..a60356c2939 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf +++ b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.pdf diff --git a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex index c7302ce5d2f..70ab2ff730b 100644 --- a/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex +++ b/Master/texmf-dist/doc/latex/resphilosophica/rpsample.tex @@ -1,14 +1,19 @@ %\documentclass[screen]{resphilosophica} %\documentclass[manuscript]{resphilosophica} +%\documentclass[preprint]{resphilosophica} +%\documentclass[forthcoming]{resphilosophica} \documentclass{resphilosophica} \usepackage{kantlipsum} \title[A Sample Paper: A Template]{A Sample Paper:\\ A - Template\protect\footnote{This is a footnote}} + Template} +\titlenote{This is the first titlenote} +\titlenote{This is the second titlenote} \volumenumber{90} \issuenumber{1--2} -\publicationyear{2013} +\publicationyear{2012} \publicationmonth{January--February} \papernumber{2} +%\doinumber{} \author{Boris Veytsman} \address{Computational Materials Science Center, MS 6A2\\ George Mason University\\ diff --git a/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx b/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx index 4337ddab6f1..460da4d9735 100644 --- a/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx +++ b/Master/texmf-dist/source/latex/resphilosophica/resphilosophica.dtx @@ -1,6 +1,6 @@ % \iffalse %<*gobble> -% $Id: resphilosophica.dtx,v 1.27 2013-07-21 17:53:47 boris Exp $ +% $Id: resphilosophica.dtx,v 1.35 2013-08-19 03:48:56 boris Exp $ % % Copyright 2012-2013, Boris Veytsman <boris@varphi.com> % This work may be distributed and/or modified under the @@ -20,7 +20,7 @@ % derived file resphilosophica.cls % % \fi -% \CheckSum{1080} +% \CheckSum{1238} % % %% \CharacterTable @@ -53,7 +53,7 @@ \ProvidesFile{resphilosophica.dtx} %</gobble> %<class>\ProvidesClass{resphilosophica} -[2013/07/21 v1.12 Typesetting articles for Res Philosophica] +[2013/08/18 v1.13 Typesetting articles for Res Philosophica] %<*gobble> % \end{macrocode} % @@ -71,6 +71,8 @@ % \changes{v1.10}{2012/09/19}{Bibliography changes} % \changes{v1.11}{2013/01/08}{Bibliography changes} % \changes{v1.12}{2013/07/13}{Bibliography changes} +% \changes{v1.13}{2013/08/14}{New options: preprint and forthcoming} +% \changes{v1.13}{2013/08/14}{New command: titlenote} % %\iffalse % \begin{macrocode} @@ -220,10 +222,24 @@ % produces mariginal commentaries in the manuscript % \end{enumerate} % +% \DescribeOption{preprint} +% The option |preprint| is for the final version of the manuscript. +% In this mode there are no editorial comments, but the numbering of +% lines is preserved +% +% +% % \DescribeOption{screen} % The option |screen| is intended for the screen reading. When this % option is selected, the links become highlighted. % +% +% \DescribeOption{forthcoming} +% The option |forthcoming| is like |screen|, but it is used when there +% is no information about the volume and or dates for publication. +% +% +% % \DescribeOption{natbib} % The preferred solution for bibliography is |natbib| % package~\cite{Daly07:Natbib}. The option |natbib=true| (default) @@ -289,7 +305,10 @@ % Note that the right vertical positioning of this footnote might % require an additional run of \LaTeX. % -% +% \DescribeMacro{\titlenote} +% The \cs{titlenote}\marg{note} command creates a specila footnote for +% the title. This command should be issued \emph{outside} the +% \cs{title} command. % % \DescribeMacro{\copyrightnote} % Normally each paper is copyrighted by the authors and by the @@ -596,6 +615,27 @@ % \end{macro} % % +% \begin{macro}{\ifRESP@preprint} +% \changes{v1.13}{2013/08/14}{Added option} +% Whether we are in the preprint mode +% \begin{macrocode} +\newif\ifRESP@preprint +\RESP@preprintfalse +\DeclareOptionX{preprint}{\RESP@preprinttrue} +% \end{macrocode} +% +% \end{macro} +% \begin{macro}{\ifRESP@forthcoming} +% \changes{v1.13}{2013/08/14}{Added option} +% Whether we are in the forthcoming mode +% \begin{macrocode} +\newif\ifRESP@forthcoming +\RESP@forthcomingfalse +\DeclareOptionX{forthcoming}{\RESP@forthcomingtrue} +% \end{macrocode} +% +% \end{macro} +% % All other options are passed to \progname{amsart}: % \begin{macrocode} \DeclareOptionX{*}{\PassOptionsToClass{\CurrentOption}{amsart}} @@ -628,7 +668,9 @@ \urlstyle{rm} \ifRESP@manuscript\hypersetup{colorlinks,allcolors=blue}\else \ifRESP@screen\hypersetup{colorlinks,allcolors=blue}\else - \hypersetup{hidelinks}\fi\fi + \ifRESP@preprint\hypersetup{colorlinks,allcolors=blue}\else + \ifRESP@forthcoming\hypersetup{colorlinks,allcolors=blue}\else + \hypersetup{hidelinks}\fi\fi\fi\fi % \end{macrocode} % % @@ -791,12 +833,25 @@ % % \end{macro} % +% \begin{macro}{\RESP@printlinecount} +% \changes{v1.13}{2013/08/14}{Added macro} +% Do we want to print line count? +% \begin{macrocode} +\newif\ifRESP@printlinecount +\RESP@printlinecountfalse +\ifRESP@manuscript\RESP@printlinecounttrue\fi +\ifRESP@preprint\RESP@printlinecounttrue\fi +% \end{macrocode} +% +% \end{macro} +% % \begin{macro}{\RESP@linecount} % \changes{v1.4}{2012/09/06}{Changed color} % \changes{v1.5}{2012/09/07}{Changed color} +% \changes{v1.3}{2013/08/14}{Changed check for linecount} % This is the box displayed in the manuscript mode % \begin{macrocode} -\ifRESP@manuscript +\ifRESP@printlinecount \newsavebox{\RESP@linecount} \savebox{\RESP@linecount}[4em][t]{\parbox[t]{4em}{% \@tempcnta\@ne\relax @@ -809,22 +864,28 @@ % % It is easy to set up headers with \progname{fancyhdr}: % \changes{v1.4}{2012/09/06}{Changed color of ``Author's proof' mark} -% \changes{v1.5}{2012/09/07}{Changed color} +% \changes{v1.5}{2012/09/07}{Changed color for headers and footers} % \changes{v1.7}{2012/09/11}{Changed formatting of doi} +% \changes{v1.13}{2013/08/14}{Changed check for line numbering mode} % \begin{macrocode} \pagestyle{fancy} \fancyhead{} \fancyfoot{} \fancyhead[LE]{\footnotesize\thepage\qquad\itshape\shortauthors} \fancyhead[RO]{\footnotesize\textit{\shorttitle}\qquad\thepage} -\ifRESP@manuscript +\ifRESP@printlinecount \fancyhead[LE]{\begin{picture}(0,0)% \put(-26,-22){\usebox{\RESP@linecount}}% \end{picture}\footnotesize\thepage\qquad\itshape\shortauthors} \fancyhead[LO]{\begin{picture}(0,0)% \put(-21,-22){\usebox{\RESP@linecount}}% \end{picture}} - \fancyfoot[C]{\scriptsize\color{red}Author's Proof} +\fi +\ifRESP@manuscript + \fancyfoot[C]{\scriptsize\color{red}Author's Proof}% +\fi +\ifRESP@preprint + \fancyfoot[C]{\scriptsize\color{red}Author's Pre-Print}% \fi % \end{macrocode} % @@ -834,18 +895,52 @@ % \begin{macrocode} \fancypagestyle{firstpage}{% \fancyhf{}% - \ifRESP@manuscript + \ifRESP@printlinecount \lhead{\begin{picture}(0,0)% \put(-26,-20){\usebox{\RESP@linecount}}% \end{picture}} \fi + \ifRESP@preprint \cfoot{\footnotesize{\fontfamily{\rpdefault}\selectfont Res Philosophica,} \itshape Vol.~\currentvolume, No.~\currentissue, - \currentmonth~\currentyear, pp.~\start@page--\end@page + \currentmonth~\currentyear + \ifx\@doinumber\@empty\else\\% + \doi{\@doinumber}\fi + \\ + \@copyrightnote}% + \chead{\scriptsize\color{red}Author's Pre-print. Forthcoming in + Res Philosophica. Pagination may change. Published version will + be available at \url{http://pdcnet.org/resphilosophica/}} + \else + \ifRESP@forthcoming + \cfoot{\footnotesize\itshape Res + Philosophica% + \ifx\currentvolume\@empty\else, % + Vol.~\currentvolume\fi + \ifx\currentissue\@empty\else, No.~\currentissue\fi + \ifx\currentmonth\@empty + \ifx\currentyear\@empty\else, \currentyear\fi + \else, + \currentmonth~\currentyear + \fi \ifx\@doinumber\@empty\else\\% \doi{\@doinumber}\fi \\ - \@copyrightnote}} + \@copyrightnote}% + \chead{\vspace*{-\bigskipamount}\footnotesize Forthcoming in \emph{Res + Philosophica}% + \ifx\currentvolume\@empty\else~\currentvolume + \ifx\currentissue\@empty\else:\currentissue\fi\fi + \ifx\currentyear\@empty\else~(\currentyear)\fi.} + \else + \cfoot{\footnotesize{\fontfamily{\rpdefault}\selectfont Res Philosophica,} + \itshape Vol.~\currentvolume, No.~\currentissue, + \currentmonth~\currentyear, pp.~\start@page--\end@page + \ifx\@doinumber\@empty\else\\% + \doi{\@doinumber}\fi + \\ + \@copyrightnote}% + \fi\fi} % \end{macrocode} % % @@ -860,31 +955,35 @@ % The next macros mimic the functionality of \progname{amsart} % |\issueinfo| command. Note that |\issueinfo| still works. % \begin{macro}{\volumenumber} +% \changes{v1.13}{2013/08/14}{The default is now empty} % This sets the volume of the paper % \begin{macrocode} \def\volumenumber#1{\def\currentvolume{#1}} -\volumenumber{00} +\volumenumber{} % \end{macrocode} % \end{macro} % \begin{macro}{\issuenumber} +% \changes{v1.13}{2013/08/14}{The default is now empty} % This sets the issue of the paper: % \begin{macrocode} \def\issuenumber#1{\def\currentissue{#1}} -\issuenumber{0--0} +\issuenumber{} % \end{macrocode} % \end{macro} % \begin{macro}{\publicationyear} +% \changes{v1.13}{2013/08/14}{The default is now empty} % This sets the year of the paper % \begin{macrocode} \def\publicationyear#1{\def\currentyear{#1}} -\publicationyear{2090} +\publicationyear{} % \end{macrocode} % \end{macro} % \begin{macro}{\publicationmonth} +% \changes{v1.13}{2013/08/14}{The default is now empty} % This sets the month of the paper % \begin{macrocode} \def\publicationmonth#1{\def\currentmonth{#1}} -\publicationmonth{January--February} +\publicationmonth{} % \end{macrocode} % \end{macro} % @@ -994,11 +1093,15 @@ % \end{macro} % % \begin{macro}{\copyrightyear} +% \changes{v1.3}{2013/08/14}{In the forthcoming mode the copyright +% year is the present year} % This is the copyright year in case it does not coincide with the % publication year: % \begin{macrocode} \def\copyrightyear#1{\def\@copyrightyear{#1}} -\copyrightyear{} +\ifRESP@forthcoming + \copyrightyear{\the\year}\else + \copyrightyear{}\fi % \end{macrocode} % % \end{macro} @@ -1016,6 +1119,7 @@ % \begin{macro}{\copyrightnote} % \changes{v1.2}{2012/09/02}{Used \cmd{\rpdefault} for RP font} % \changes{v1.9}{2012/09/13}{Made bullet disappear at break} +% \changes{v1.13}{2013/08/18}{Changed font family for forthcoming mode} % This is the copyrightnote. The default has some trickery with the % year and short authors. % @@ -1029,7 +1133,7 @@ \shortauthors\cleaders\hbox{\quad\textbullet\quad}\hskip\RESP@bulletboxwidth \textcopyright~% \ifx\@empty\@copyrightyear\currentyear\else\@copyrightyear\fi~% - {\normalfont\fontfamily{\rpdefault}\selectfont Res~Philosophica}} + {\ifRESP@forthcoming\else\normalfont\fontfamily{\rpdefault}\selectfont\fi Res~Philosophica}} % \end{macrocode} % \end{macro} % @@ -1062,6 +1166,17 @@ % % \end{macro} % +% \begin{macro}{\titlenote} +% \changes{v1.13}{2013/08/14}{Added command} +% This command adds an entry to the list of titlenotes +% \begin{macrocode} +\def\@titlenotes{}% +\def\titlenote#1{% + \ifx\@empty\@titlenotes\gdef\@titlenotes{\footnote{#1}}% + \else\g@addto@macro\@titlenotes{\footnote{#1}}\fi} +% \end{macrocode} +% +% \end{macro} % %\subsection{Typesetting Top Matter} %\label{sec:maketitle} @@ -1069,13 +1184,15 @@ % % \begin{macro}{\@settitle} % \changes{v1.3}{2012/09/05}{Deleted ifpdf} +% \changes{v1.13}{2013/08/14}{Added titlenotes} % We do not uppercase title. Also, we use this occasion to set PDF % information: % \begin{macrocode} \def\@settitle{\begin{center}% \baselineskip20\p@\relax \LARGE\scshape - \@title + \renewcommand\thefootnote{\@fnsymbol\c@footnote}% + \@title\@titlenotes \hypersetup{pdftitle=\@title}% \end{center}% } diff --git a/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls b/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls index d2d37b9677b..d3c92415e05 100644 --- a/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls +++ b/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{resphilosophica} -[2013/07/21 v1.12 Typesetting articles for Res Philosophica] +[2013/08/18 v1.13 Typesetting articles for Res Philosophica] \RequirePackage{xkeyval} \newif\ifRESP@fontauto \RESP@fontautotrue @@ -82,6 +82,12 @@ \newif\ifRESP@screen \RESP@screenfalse \DeclareOptionX{screen}{\RESP@screentrue} +\newif\ifRESP@preprint +\RESP@preprintfalse +\DeclareOptionX{preprint}{\RESP@preprinttrue} +\newif\ifRESP@forthcoming +\RESP@forthcomingfalse +\DeclareOptionX{forthcoming}{\RESP@forthcomingtrue} \DeclareOptionX{*}{\PassOptionsToClass{\CurrentOption}{amsart}} \ProcessOptionsX \LoadClass[noamsfonts]{amsart} @@ -91,7 +97,9 @@ \urlstyle{rm} \ifRESP@manuscript\hypersetup{colorlinks,allcolors=blue}\else \ifRESP@screen\hypersetup{colorlinks,allcolors=blue}\else - \hypersetup{hidelinks}\fi\fi + \ifRESP@preprint\hypersetup{colorlinks,allcolors=blue}\else + \ifRESP@forthcoming\hypersetup{colorlinks,allcolors=blue}\else + \hypersetup{hidelinks}\fi\fi\fi\fi \ifRESP@fontauto \IfFileExists{t1lsb.fd}{\RESP@lsabontrue}{\RESP@lsabonfalse}\fi \ifRESP@lsabon @@ -129,7 +137,11 @@ \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \setlength{\footskip}{20pt} -\ifRESP@manuscript +\newif\ifRESP@printlinecount +\RESP@printlinecountfalse +\ifRESP@manuscript\RESP@printlinecounttrue\fi +\ifRESP@preprint\RESP@printlinecounttrue\fi +\ifRESP@printlinecount \newsavebox{\RESP@linecount} \savebox{\RESP@linecount}[4em][t]{\parbox[t]{4em}{% \@tempcnta\@ne\relax @@ -141,37 +153,76 @@ \fancyfoot{} \fancyhead[LE]{\footnotesize\thepage\qquad\itshape\shortauthors} \fancyhead[RO]{\footnotesize\textit{\shorttitle}\qquad\thepage} -\ifRESP@manuscript +\ifRESP@printlinecount \fancyhead[LE]{\begin{picture}(0,0)% \put(-26,-22){\usebox{\RESP@linecount}}% \end{picture}\footnotesize\thepage\qquad\itshape\shortauthors} \fancyhead[LO]{\begin{picture}(0,0)% \put(-21,-22){\usebox{\RESP@linecount}}% \end{picture}} - \fancyfoot[C]{\scriptsize\color{red}Author's Proof} +\fi +\ifRESP@manuscript + \fancyfoot[C]{\scriptsize\color{red}Author's Proof}% +\fi +\ifRESP@preprint + \fancyfoot[C]{\scriptsize\color{red}Author's Pre-Print}% \fi \fancypagestyle{firstpage}{% \fancyhf{}% - \ifRESP@manuscript + \ifRESP@printlinecount \lhead{\begin{picture}(0,0)% \put(-26,-20){\usebox{\RESP@linecount}}% \end{picture}} \fi + \ifRESP@preprint \cfoot{\footnotesize{\fontfamily{\rpdefault}\selectfont Res Philosophica,} \itshape Vol.~\currentvolume, No.~\currentissue, - \currentmonth~\currentyear, pp.~\start@page--\end@page + \currentmonth~\currentyear + \ifx\@doinumber\@empty\else\\% + \doi{\@doinumber}\fi + \\ + \@copyrightnote}% + \chead{\scriptsize\color{red}Author's Pre-print. Forthcoming in + Res Philosophica. Pagination may change. Published version will + be available at \url{http://pdcnet.org/resphilosophica/}} + \else + \ifRESP@forthcoming + \cfoot{\footnotesize\itshape Res + Philosophica% + \ifx\currentvolume\@empty\else, % + Vol.~\currentvolume\fi + \ifx\currentissue\@empty\else, No.~\currentissue\fi + \ifx\currentmonth\@empty + \ifx\currentyear\@empty\else, \currentyear\fi + \else, + \currentmonth~\currentyear + \fi \ifx\@doinumber\@empty\else\\% \doi{\@doinumber}\fi \\ - \@copyrightnote}} + \@copyrightnote}% + \chead{\vspace*{-\bigskipamount}\footnotesize Forthcoming in \emph{Res + Philosophica}% + \ifx\currentvolume\@empty\else~\currentvolume + \ifx\currentissue\@empty\else:\currentissue\fi\fi + \ifx\currentyear\@empty\else~(\currentyear)\fi.} + \else + \cfoot{\footnotesize{\fontfamily{\rpdefault}\selectfont Res Philosophica,} + \itshape Vol.~\currentvolume, No.~\currentissue, + \currentmonth~\currentyear, pp.~\start@page--\end@page + \ifx\@doinumber\@empty\else\\% + \doi{\@doinumber}\fi + \\ + \@copyrightnote}% + \fi\fi} \def\volumenumber#1{\def\currentvolume{#1}} -\volumenumber{00} +\volumenumber{} \def\issuenumber#1{\def\currentissue{#1}} -\issuenumber{0--0} +\issuenumber{} \def\publicationyear#1{\def\currentyear{#1}} -\publicationyear{2090} +\publicationyear{} \def\publicationmonth#1{\def\currentmonth{#1}} -\publicationmonth{January--February} +\publicationmonth{} \def\papernumber#1{\def\currentpaper{#1}} \papernumber{0000} \def\doinumber#1{\gdef\@doinumber{#1}} @@ -215,7 +266,9 @@ \ifx\@setabstract\relax\@setabstracta\fi% } \def\copyrightyear#1{\def\@copyrightyear{#1}} -\copyrightyear{} +\ifRESP@forthcoming + \copyrightyear{\the\year}\else + \copyrightyear{}\fi \newlength\RESP@bulletboxwidth \settowidth\RESP@bulletboxwidth{\quad\textbullet\quad} \def\copyrightnote#1{\def\@copyrightnote{#1}} @@ -224,7 +277,7 @@ \shortauthors\cleaders\hbox{\quad\textbullet\quad}\hskip\RESP@bulletboxwidth \textcopyright~% \ifx\@empty\@copyrightyear\currentyear\else\@copyrightyear\fi~% - {\normalfont\fontfamily{\rpdefault}\selectfont Res~Philosophica}} + {\ifRESP@forthcoming\else\normalfont\fontfamily{\rpdefault}\selectfont\fi Res~Philosophica}} \renewcommand{\author}[2][]{% \ifx\@empty\addresses \gdef\addresses{\author{#2}}% @@ -246,10 +299,15 @@ } \edef\author{\@nx\@dblarg \@xp\@nx\csname\string\author\endcsname} +\def\@titlenotes{}% +\def\titlenote#1{% + \ifx\@empty\@titlenotes\gdef\@titlenotes{\footnote{#1}}% + \else\g@addto@macro\@titlenotes{\footnote{#1}}\fi} \def\@settitle{\begin{center}% \baselineskip20\p@\relax \LARGE\scshape - \@title + \renewcommand\thefootnote{\@fnsymbol\c@footnote}% + \@title\@titlenotes \hypersetup{pdftitle=\@title}% \end{center}% } |