diff options
author | Karl Berry <karl@freefriends.org> | 2013-12-13 22:07:13 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-12-13 22:07:13 +0000 |
commit | bb69c6ad45c96b1cf0b5fa79318c64e26b1c9bcd (patch) | |
tree | ee517eb9ecacfeda7ef5a8accc66c219393a3318 /Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls | |
parent | 1965df58ffe4e19a18e219430bc2d4e9ac345f4f (diff) |
resphilosophica (13dec13)
git-svn-id: svn://tug.org/texlive/trunk@32404 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls b/Master/texmf-dist/tex/latex/resphilosophica/resphilosophica.cls index d738a5de6eb..d02edca4c72 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/09/12 v1.15 Typesetting articles for Res Philosophica] +[2013/12/07 v1.18 Typesetting articles for Res Philosophica] \RequirePackage{xkeyval} \newif\ifRESP@fontauto \RESP@fontautotrue @@ -30,8 +30,6 @@ \RESP@rpfontautotrue \newif\ifRESP@lsabon \RESP@lsabonfalse -\newif\ifRESP@mtshadow -\RESP@mtshadowfalse \define@choicekey*+{resphilosophica.cls}{bodyfont}[\val\nr]{auto, sabon, lsabon, cm}[auto]{% \ifcase\nr\relax @@ -48,22 +46,6 @@ \fi}{% \PackageWarning{resphilosophica}{The option bodyfont must be auto, sabon or cm. Using auto}\RESP@fontautotrue} -\define@choicekey*+{resphilosophica.cls}{rpfont}[\val\nr]{auto, - imprint, imprintshadow, cm}[auto]{% - \ifcase\nr\relax - \RESP@rpfontautotrue - \or - \RESP@rpfontautofalse - \RESP@mtshadowtrue - \or - \RESP@rpfontautofalse - \RESP@mtshadowtrue - \or - \RESP@rpfontautofalse - \RESP@mtshadowfalse - \fi}{% - \PackageWarning{resphilosophica}{The option rpfont must be auto, - imprintshadow or cm. Using auto}\RESP@rpfontautotrue} \define@boolkey+{resphilosophica.cls}[RESP@]{natbib}[tue]{}{% \PackageWarning{resphilosophica}{The option natbib must be yes or no. Using yes}} @@ -91,7 +73,7 @@ \DeclareOptionX{*}{\PassOptionsToClass{\CurrentOption}{amsart}} \ProcessOptionsX \LoadClass[noamsfonts]{amsart} -\RequirePackage{microtype, fancyhdr, xcolor, lastpage} +\RequirePackage{microtype, fancyhdr, xcolor, lastpage, collect} \RequirePackage[bottom,multiple]{footmisc} \RequirePackage[hyperfootnotes=false]{hyperref} \urlstyle{rm} @@ -106,12 +88,8 @@ \RequirePackage[mdugm]{mathdesign} \RequirePackage[rmdefault]{lsabon} \renewcommand\scdefault{sc} + \renewcommand{\bfdefault}{b} \fi -\ifRESP@rpfontauto - \IfFileExists{t1miih.fd}{\RESP@mtshadowtrue}{\RESP@mtshadowfalse}\fi -\ifRESP@mtshadow - \def\rpdefault{miih}\else - \def\rpdefault{\rmdefault}\fi \def\AddtoEndMatter#1{\g@addto@macro\enddoc@text{#1}} \ifRESP@natbib \RequirePackage[round]{natbib} @@ -175,8 +153,8 @@ \end{picture}} \fi \ifRESP@preprint - \cfoot{\footnotesize{\fontfamily{\rpdefault}\selectfont Res Philosophica,} - \itshape Vol.~\currentvolume, No.~\currentissue, + \cfoot{\footnotesize Res Philosophica, \itshape + Vol.~\currentvolume, No.~\currentissue, \currentmonth~\currentyear \ifx\@doinumber\@empty\else\\% \doi{\@doinumber}\fi @@ -187,8 +165,8 @@ be available at \url{http://pdcnet.org/resphilosophica/}} \else \ifRESP@forthcoming - \cfoot{\footnotesize\itshape Res - Philosophica% + \cfoot{\footnotesize Res + Philosophica\itshape \ifx\currentvolume\@empty\else, % Vol.~\currentvolume\fi \ifx\currentissue\@empty\else, No.~\currentissue\fi @@ -201,13 +179,9 @@ \doi{\@doinumber}\fi \\ \@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.} + \lhead{\raisebox{1.5\bigskipamount}[\z@][\z@]{\parbox{\textwidth}{\raggedright\footnotesize Published Online First: \@onlinedate}}} \else - \cfoot{\footnotesize{\fontfamily{\rpdefault}\selectfont Res Philosophica,} + \cfoot{\footnotesize Res Philosophica, \itshape \itshape Vol.~\currentvolume, No.~\currentissue, \currentmonth~\currentyear, pp.~\start@page--\end@page \ifx\@doinumber\@empty\else\\% @@ -221,7 +195,9 @@ \issuenumber{} \def\publicationyear#1{\def\currentyear{#1}} \publicationyear{} -\def\publicationmonth#1{\def\currentmonth{#1}} +\newcommand\publicationmonth[2][]{\gdef\currentmonth{#2}% + \gdef\abbrevcurrentmonth{#1}% + \ifx\abbrevcurrentmonth\@empty\gdef\abbrevcurrentmonth{#2}\fi} \publicationmonth{} \def\papernumber#1{\def\currentpaper{#1}} \papernumber{0000} @@ -269,6 +245,8 @@ \ifRESP@forthcoming \copyrightyear{\the\year}\else \copyrightyear{}\fi +\def\onlinedate#1{\gdef\@onlinedate{#1}} +\onlinedate{\hspace*{5em}} \newlength\RESP@bulletboxwidth \settowidth\RESP@bulletboxwidth{\quad\textbullet\quad} \def\copyrightnote#1{\def\@copyrightnote{#1}} @@ -277,7 +255,7 @@ \shortauthors\cleaders\hbox{\quad\textbullet\quad}\hskip\RESP@bulletboxwidth \textcopyright~% \ifx\@empty\@copyrightyear\currentyear\else\@copyrightyear\fi~% - {\ifRESP@forthcoming\else\normalfont\fontfamily{\rpdefault}\selectfont\fi Res~Philosophica}} + {\upshape Res~Philosophica}}% \renewcommand{\author}[2][]{% \ifx\@empty\addresses \gdef\addresses{\author{#2}}% @@ -346,7 +324,7 @@ \@tempa \endgroup \c@footnote\z@ - \@cleartopmattertags + \everypar{\setbox\z@\lastbox\everypar{}}% } \def\@maketitle{% \normalfont\normalsize @@ -417,6 +395,14 @@ \do\keywords \do\@keywords \do\subjclass \do\@subjclass \def\sf@size{7}% } +\definecollection{notes} +\newenvironment{notes}[1]{% + \@nameuse{collect}{notes}{}{}% + \makeatletter + \par\addpenalty\@secpenalty\addvspace{\bigskipamount}% + \noindent \Small #1:\par\nobreak\vskip\medskipamount\@afterheading + \makeatother +}{\@nameuse{endcollect}\AddtoEndMatter{\includecollection{notes}}} \newif\if@enddoc \@enddocfalse \def\enddoc@text{% @@ -492,9 +478,23 @@ {-1em}% {\normalfont\normalsize\bfseries}} \@mparswitchfalse -\def\EditorialComment#1{\ifRESP@manuscript\bgroup +\newcommand\EditorialComment[2][0]{% + \expandafter\ifx\csname EditorialComment@#1\endcsname\relax + \else\bgroup \marginparwidth=200pt\marginpar{\color{red}% - \raggedright#1}\egroup\fi} + \raggedright#2}\egroup\fi} +\def\ECSelect#1{\ifRESP@manuscript + \@for\EC@level:=#1\do{% + \expandafter\gdef\csname + EditorialComment@\EC@level\endcsname{\EditorialComment}}% + \fi} +\newcommand\TC[2][0]{% + \expandafter\ifx\csname TC@highlight@#1\endcsname\relax#2\else + \csname TC@highlight@#1\endcsname{#2}\fi} +\newcommand\TCSelect[2][magenta]{\ifRESP@manuscript + \@for\TC@level:=#2\do{\expandafter + \gdef\csname TC@highlight@\TC@level\endcsname{\textcolor{#1}}}% + \fi} \def\doi#1{\url{http://dx.doi.org/#1}} \def\@makefntext{\noindent\@makefnmark \if@enddoc\else @@ -511,7 +511,7 @@ \protected@edef\@currentlabel{% \csname p@footnote\endcsname\@thefnmark}% \@makefntext{% - \rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}} + \,\rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}} \raggedbottom\normalsize\normalfont \endinput %% |