| 1 |
% \iffalse |
| 2 |
%<*gobble> |
| 3 |
% |
| 4 |
% Copyright 2012-2025, Boris Veytsman <[email protected]> |
| 5 |
% This work may be distributed and/or modified under the |
| 6 |
% conditions of the LaTeX Project Public License, either |
| 7 |
% version 1.3 of this license or (at your option) any |
| 8 |
% later version. |
| 9 |
% The latest version of the license is in |
| 10 |
% http://www.latex-project.org/lppl.txt |
| 11 |
% and version 1.3 or later is part of all distributions of |
| 12 |
% LaTeX version 2005/12/01 or later. |
| 13 |
% |
| 14 |
% This work has the LPPL maintenance status `maintained'. |
| 15 |
% |
| 16 |
% The Current Maintainer of this work is Boris Veytsman |
| 17 |
% |
| 18 |
% This work consists of the file resphilosophica.dtx and the |
| 19 |
% derived file resphilosophica.cls |
| 20 |
% |
| 21 |
% \fi |
| 22 |
% \CheckSum{1411} |
| 23 |
% |
| 24 |
% |
| 25 |
%% \CharacterTable |
| 26 |
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 27 |
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 28 |
%% Digits \0\1\2\3\4\5\6\7\8\9 |
| 29 |
%% Exclamation \! Double quote \" Hash (number) \# |
| 30 |
%% Dollar \$ Percent \% Ampersand \& |
| 31 |
%% Acute accent \' Left paren \( Right paren \) |
| 32 |
%% Asterisk \* Plus \+ Comma \, |
| 33 |
%% Minus \- Point \. Solidus \/ |
| 34 |
%% Colon \: Semicolon \; Less than \< |
| 35 |
%% Equals \= Greater than \> Question mark \? |
| 36 |
%% Commercial at \@ Left bracket \[ Backslash \\ |
| 37 |
%% Right bracket \] Circumflex \^ Underscore \_ |
| 38 |
%% Grave accent \` Left brace \{ Vertical bar \| |
| 39 |
%% Right brace \} Tilde \~} |
| 40 |
% |
| 41 |
% \iffalse |
| 42 |
% |
| 43 |
% |
| 44 |
%\section{Identification} |
| 45 |
%\label{sec:ident} |
| 46 |
% |
| 47 |
% We start with the declaration who we are |
| 48 |
% \begin{macrocode} |
| 49 |
%</gobble> |
| 50 |
%<class>\NeedsTeXFormat{LaTeX2e} |
| 51 |
%<*gobble> |
| 52 |
\ProvidesFile{resphilosophica.dtx} |
| 53 |
%</gobble> |
| 54 |
%<class>\ProvidesClass{resphilosophica} |
| 55 |
[2025/09/30 v1.39 Typesetting articles for Res Philosophica] |
| 56 |
%<*gobble> |
| 57 |
% \end{macrocode} |
| 58 |
% |
| 59 |
% |
| 60 |
% \fi |
| 61 |
% |
| 62 |
% \changes{v1.1}{2012/09/01}{Added MT Shadow Imprint code} |
| 63 |
% \changes{v1.1}{2012/09/01}{Added DOI number} |
| 64 |
% \changes{v1.4}{2012/09/06}{Added screen option} |
| 65 |
% \changes{v1.5}{2012/09/07}{Color change for links} |
| 66 |
% \changes{v1.6}{2012/09/08}{Changed bib style} |
| 67 |
% \changes{v1.7}{2012/09/11}{Added new bibliography fields} |
| 68 |
% \changes{v1.8}{2012/09/12}{Added blank last page if the last page is |
| 69 |
% odd} |
| 70 |
% \changes{v1.10}{2012/09/19}{Bibliography changes} |
| 71 |
% \changes{v1.11}{2013/01/08}{Bibliography changes} |
| 72 |
% \changes{v1.12}{2013/07/13}{Bibliography changes} |
| 73 |
% \changes{v1.13}{2013/08/14}{New options: preprint and forthcoming} |
| 74 |
% \changes{v1.13}{2013/08/14}{New command: titlenote} |
| 75 |
% \changes{v1.15}{2013/09/13}{Added new bibliography command} |
| 76 |
% \changes{v1.16}{2013/11/26}{Deleted Imprinnt Shadow} |
| 77 |
% \changes{v1.16}{2013/11/26}{Added documentation about typesetter |
| 78 |
% changes highlighting} |
| 79 |
% \changes{v1.17}{2013/12/01}{Added documentation about new editorial |
| 80 |
% comments} |
| 81 |
% \changes{v1.17}{2013/12/01}{Bibliography changes: |
| 82 |
% `inloosecollection' entry} |
| 83 |
% \changes{v1.24}{2015/01/14}{New command: authornote} |
| 84 |
% \changes{v1.27}{2015/11/04}{New command: ensquote} |
| 85 |
% \changes{v1.28}{2015/11/14}{Now ensquote and enquote work correct in |
| 86 |
% the case of embedded quotations} |
| 87 |
% \changes{v1.33}{2018/12/23}{Bibliography change: avoid URLs that |
| 88 |
% duplicate dois} |
| 89 |
% \changes{v1.36}{2025/05/08}{New bib formatting} |
| 90 |
% \changes{v1.37}{2025/06/29}{More tweaks to bib formatting} |
| 91 |
% |
| 92 |
%\iffalse |
| 93 |
% \begin{macrocode} |
| 94 |
\documentclass{ltxdoc} |
| 95 |
\usepackage{array} |
| 96 |
\usepackage{url} |
| 97 |
% Taken from xkeyval.dtx |
| 98 |
\makeatletter |
| 99 |
\def\DescribeOption#1{\leavevmode\@bsphack |
| 100 |
\marginpar{\raggedleft\PrintDescribeOption{#1}}% |
| 101 |
\SpecialOptionIndex{#1}\@esphack\ignorespaces} |
| 102 |
\def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ } |
| 103 |
\def\SpecialOptionIndex#1{\@bsphack |
| 104 |
\index{#1\actualchar{\protect\ttfamily#1} |
| 105 |
(option)\encapchar usage}% |
| 106 |
\index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar |
| 107 |
usage}\@esphack} |
| 108 |
\def\DescribeOptions#1{\leavevmode\@bsphack |
| 109 |
\marginpar{\raggedleft\strut\emph{options}% |
| 110 |
\@for\@tempa:=#1\do{% |
| 111 |
\\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa |
| 112 |
}}\@esphack\ignorespaces} |
| 113 |
\makeatother |
| 114 |
\usepackage{hypdoc} |
| 115 |
\hypersetup{breaklinks,colorlinks,linkcolor=black,citecolor=black, |
| 116 |
pagecolor=black,urlcolor=black,hyperindex=false} |
| 117 |
\PageIndex |
| 118 |
\CodelineIndex |
| 119 |
\RecordChanges |
| 120 |
\EnableCrossrefs |
| 121 |
\begin{document} |
| 122 |
\DocInput{resphilosophica.dtx} |
| 123 |
\end{document} |
| 124 |
% \end{macrocode} |
| 125 |
%</gobble> |
| 126 |
%<*class> |
| 127 |
% \fi |
| 128 |
% \MakeShortVerb{|} |
| 129 |
% \GetFileInfo{resphilosophica.dtx} |
| 130 |
% \newcommand{\progname}[1]{\textsf{#1}} |
| 131 |
% \title{Typesetting Articles for \emph{Res |
| 132 |
% Philosophica}\thanks{\copyright 2012--2025, Boris Veytsman}~\thanks{This |
| 133 |
% work was commissioned by the Saint Lois University}} |
| 134 |
% \author{Boris Veytsman\thanks{% |
| 135 |
% \href{mailto:[email protected]}{\texttt{[email protected]}}, |
| 136 |
% \href{mailto:[email protected]}{\texttt{[email protected]}}}} |
| 137 |
% \date{\filedate, \fileversion} |
| 138 |
% \maketitle |
| 139 |
% \begin{abstract} |
| 140 |
% This package provides a class for typesetting articles for the |
| 141 |
% journal \emph{Res Philosophica}, |
| 142 |
% \url{http://www.resphilosophica.org}. |
| 143 |
% \end{abstract} |
| 144 |
% \tableofcontents |
| 145 |
% |
| 146 |
% \clearpage |
| 147 |
% |
| 148 |
%\section{Introduction} |
| 149 |
%\label{sec:intro} |
| 150 |
% |
| 151 |
% According to the statement at \url{http://www.resphilosophica.org/}, |
| 152 |
% \emph{Res Philosophica} is an international, quarterly journal of |
| 153 |
% philosophy that publishes research in all areas of philosophy, |
| 154 |
% historical and topical. Founded as \emph{The Modern Schoolman} by |
| 155 |
% Jesuit Scholastics in 1925, the journal is edited by members of the |
| 156 |
% Philosophy Department at Saint Louis University and supported |
| 157 |
% generously by the College of Arts and Sciences. |
| 158 |
% |
| 159 |
% This package is intended for the authors and editors of the journal |
| 160 |
% to typeset the articles in \LaTeX. Note that the journal is typeset |
| 161 |
% in \emph{Linotype Sabon,}. |
| 162 |
% The users may buy the fonts and install their free \LaTeX\ |
| 163 |
% support~\cite{Lsabon}, or use the options |
| 164 |
% |bodyfont=cm| and |rpfont=cm| to typeset the articles using Computer |
| 165 |
% Modern. Of course, the line and page breaks in the latter case are |
| 166 |
% different from those in the final version typeset with commercial |
| 167 |
% fonts. |
| 168 |
% |
| 169 |
%\section{User Interface} |
| 170 |
%\label{sec:interface} |
| 171 |
% |
| 172 |
% |
| 173 |
%\subsection{Commercial Fonts} |
| 174 |
%\label{sec:prereq} |
| 175 |
% |
| 176 |
% The package can be used with free Computer Modern fonts or with |
| 177 |
% commercial fonts to mimick the journal typesetting. The |
| 178 |
% installation of additional fonts is therefore fully optional. |
| 179 |
% |
| 180 |
% \emph{Res Philosophica} uses Linotype Sabon for the body text |
| 181 |
% and URW Garamond for |
| 182 |
% mathematics. Sabon is a commercial font. URW |
| 183 |
% Garamond is free, but due to license restrictions it is usually not |
| 184 |
% included with \TeX Live, Mik\TeX\ and other major distributives. If |
| 185 |
% you bought Linotype Sabon, you need to install the package |
| 186 |
% |lsabon|~\cite{Lsabon}. To use |
| 187 |
% URW Garamond, you need to download the |pfb| files from a CTAN |
| 188 |
% mirror (\url{http://mirror.ctan.org/fonts/urw/garamond/}), |
| 189 |
% install them in the directory \path{fonts/type1/urw/garamond} under |
| 190 |
% \path{$TEXMFLOCAL} and run |texhash|. |
| 191 |
% |
| 192 |
%\subsection{Invocation and Options} |
| 193 |
%\label{sec:options} |
| 194 |
% |
| 195 |
% To use the class put in the preamble of your document |
| 196 |
% \begin{flushleft} |
| 197 |
% |\documentclass[|\meta{options}|]{resphilosophica}| |
| 198 |
% \end{flushleft} |
| 199 |
% |
| 200 |
% The class \progname{resphilosophica} internally loads \progname{amsart}, |
| 201 |
% and therefore all |
| 202 |
% class options for \progname{amsart} are technically valid. However, most of |
| 203 |
% them are not especially meaningful for \progname{resphilosophica}. |
| 204 |
% There are several options specific for this class. They are |
| 205 |
% described below. Note that the class uses key-value interface for |
| 206 |
% some options, for example |
| 207 |
% \begin{verbatim} |
| 208 |
% \documentclass[bodyfont=sabon]{resphilosophica} |
| 209 |
% \end{verbatim} |
| 210 |
% |
| 211 |
% |
| 212 |
% \DescribeOption{bodyfont} |
| 213 |
% The option |bodyfont| can have three values: |sabon| for |
| 214 |
% Sabon/Garamond fonts, |cm| for Computer Modern and |auto| |
| 215 |
% (default). The later option switches to the use of Sabon if the |
| 216 |
% font metrics are present in your system, and to the use of |
| 217 |
% Computer Modern otherwise. |
| 218 |
% |
| 219 |
% |
| 220 |
% \DescribeOption{manuscript} |
| 221 |
% The option |manuscript| is intended to faciliate the communications |
| 222 |
% between the editor and the author. It enables two things: |
| 223 |
% \begin{enumerate} |
| 224 |
% \item The numbering of lines in the manuscript is switched off in the |
| 225 |
% normal mode, but is on in the manuscript mode. |
| 226 |
% \item The command |\EditorialComment| is no-op in normal mode, but |
| 227 |
% produces mariginal commentaries in the manuscript |
| 228 |
% \end{enumerate} |
| 229 |
% |
| 230 |
% \DescribeOption{preprint} |
| 231 |
% The option |preprint| is for the final version of the manuscript. |
| 232 |
% In this mode there are no editorial comments, but the numbering of |
| 233 |
% lines is preserved |
| 234 |
% |
| 235 |
% |
| 236 |
% |
| 237 |
% \DescribeOption{screen} |
| 238 |
% The option |screen| is intended for the screen reading. When this |
| 239 |
% option is selected, the links become highlighted. |
| 240 |
% |
| 241 |
% |
| 242 |
% \DescribeOption{forthcoming} |
| 243 |
% \DescribeMacro{\onlinedate} |
| 244 |
% The option |forthcoming| is like |screen|, but it is used when there |
| 245 |
% is no information about the volume. The macro |
| 246 |
% \cs{onlinedate}\marg{date} can be used to set the date of online |
| 247 |
% publication. |
| 248 |
% |
| 249 |
% |
| 250 |
% |
| 251 |
% \DescribeOption{natbib} |
| 252 |
% The preferred solution for bibliography is |natbib| |
| 253 |
% package~\cite{Daly07:Natbib}. The option |natbib=true| (default) |
| 254 |
% sets the package and the proper options, including bibliography |
| 255 |
% style. The option |natbib=false| switches this behavior off, and the |
| 256 |
% formatting of the bibliography becomes the full responsibility of |
| 257 |
% the author. The package includes the Bib\TeX\ bibliography style |
| 258 |
% |resphilosophica.bst|. |
| 259 |
% |
| 260 |
%\subsection{Topmatter} |
| 261 |
%\label{sec:topmatter} |
| 262 |
% |
| 263 |
% Topmatter is the part of the article with the informations about the |
| 264 |
% authors, their affiliations, the publication data, etc. |
| 265 |
% |
| 266 |
% There are two kinds of top matter commands: the ones used primarily |
| 267 |
% for authors and the ones used primarily for editors. We describe |
| 268 |
% them separately. |
| 269 |
% |
| 270 |
%\subsubsection{Commands for Authors} |
| 271 |
%\label{sec:authors_commands} |
| 272 |
% |
| 273 |
% |
| 274 |
% \DescribeMacro{\title} |
| 275 |
% The command |\title|, as in \progname{amsart} class, has two arguments: one |
| 276 |
% optional, and one mandatory: |
| 277 |
% \begin{flushleft} |
| 278 |
% |\title[|\meta{ShortTitle}|]{|\meta{FullTitle}|}| |
| 279 |
% \end{flushleft} |
| 280 |
% The mandatory argument is the full title of the article. The |
| 281 |
% optional argument, if present, defines the shorter version of the |
| 282 |
% title for running heads. If the optional argument is absent, the |
| 283 |
% full title is used instead. |
| 284 |
% |
| 285 |
% The title is typeset in small caps. The result of the command |
| 286 |
% \cs{emph} in title depends on whether commercial fonts and the |
| 287 |
% package \progname{lsabon} package is used: with a relatively recent |
| 288 |
% version of the package |lsabon| the emphasized text is typeset in |
| 289 |
% Small Caps Italics. |
| 290 |
% |
| 291 |
% \DescribeMacro{\author} |
| 292 |
% \DescribeMacro{\email} |
| 293 |
% \DescribeMacro{\address} |
| 294 |
% \DescribeMacro{\curraddr} |
| 295 |
% \DescribeMacro{\urladdr} |
| 296 |
% The interface for specifying the authors |
| 297 |
% and their affiliations is close the the one of |
| 298 |
% \progname{amsart}~\cite{instr-l} (and different from the standard \LaTeX). |
| 299 |
% For each author a separate command |\author| should be used, |
| 300 |
% followed by |\address| and (optionally) |\curraddr|, |\email| and |
| 301 |
% |\urladdr|. |
| 302 |
% |
| 303 |
% \DescribeMacro{\shortauthors} |
| 304 |
% In some cases the authors list may be too long for the running head, |
| 305 |
% even if the abbreviated forms are used for each author. In this |
| 306 |
% case it is possible to change the running head by a |
| 307 |
% \emph{redefinition} of the command |\shortauthors|. This |
| 308 |
% redefinition must be done after all |\author| commands, but before |
| 309 |
% |\maketitle|: |
| 310 |
% \begin{verbatim} |
| 311 |
% \renewcommand{\shortauthors}{A.~Smith et al} |
| 312 |
% \end{verbatim} |
| 313 |
% |
| 314 |
% \DescribeMacro{\thanks} |
| 315 |
% Like \progname{amsart} (and unlike standard \LaTeX{}), |
| 316 |
% \progname{resphilosophica} allows |\thanks| only \emph{outside} of |
| 317 |
% commands |\title| and |\author|. The text of |\thanks| is typeset |
| 318 |
% at the end of the paper as a footnote marked `Acknowledgments'. |
| 319 |
% Note that the right vertical positioning of this footnote might |
| 320 |
% require an additional run of \LaTeX. |
| 321 |
% |
| 322 |
% \DescribeMacro{\titlenote}% |
| 323 |
% The \cs{titlenote}\marg{note} command creates a special footnote for |
| 324 |
% the title. This command should be issued \emph{outside} the |
| 325 |
% \cs{title} command. |
| 326 |
% |
| 327 |
% \DescribeMacro{\authornote}% |
| 328 |
% The similar \cs{authornote}\marg{note} command creates a special |
| 329 |
% footnote for the author. This command should be issued |
| 330 |
% \emph{outside} the \cs{author} command. |
| 331 |
% |
| 332 |
% \DescribeMacro{\copyrightnote} |
| 333 |
% Normally each paper is copyrighted by the authors and by the |
| 334 |
% journal. This is reflected in the footnote on the |
| 335 |
% first page of the article. However, by arrangement with the |
| 336 |
% editors, certain papers may have different copyright. The command |
| 337 |
% \cmd{\copyrightnote}\marg{copyright statement}, if issued, changes |
| 338 |
% the footnote to the corresponding text, for example: |
| 339 |
% \begin{verbatim} |
| 340 |
% \copyrightnote{\textcopyright~2012 by the authors. This paper may |
| 341 |
% be reproduced, in its entirety, for noncommercial purposes.} |
| 342 |
% \end{verbatim} |
| 343 |
% Note that if you issue this command, you should explicitly include |
| 344 |
% both the copyright sign and the year unless the paper does not have |
| 345 |
% a copyright, for example: |
| 346 |
% \begin{verbatim} |
| 347 |
% \copyrightnote{This paper is in the public domain} |
| 348 |
% \end{verbatim} |
| 349 |
% |
| 350 |
% \DescribeMacro{\copyrightyear} |
| 351 |
% Normally the copyright statement includes the year of copyright, |
| 352 |
% which is assumed to be the publication year as specified by the |
| 353 |
% |\publicationyear| command (see below). If this assumption is |
| 354 |
% wrong, you may correct it, for example, |
| 355 |
% \begin{verbatim} |
| 356 |
% \copyrightyear{1998} |
| 357 |
% \end{verbatim} |
| 358 |
% |
| 359 |
% |
| 360 |
% \DescribeEnv{abstract} |
| 361 |
% The abstract of the paper must be put between |\begin{abstract}| and |
| 362 |
% |\end{abstract}|. Unlike the situation in \progname{amsart} |
| 363 |
% class, abstract may be put \emph{after} |\maketitle|. |
| 364 |
% |
| 365 |
% \DescribeMacro{\maketitle} |
| 366 |
% The macro |\maketitle| typesets the top matter. All top matter |
| 367 |
% information should be specified before this command. |
| 368 |
% |
| 369 |
%\subsubsection{Commands for Editors} |
| 370 |
%\label{sec:editors_commands} |
| 371 |
% |
| 372 |
% The commands described in this section should be used by the editors |
| 373 |
% to insert the information about the published paper. They must be |
| 374 |
% put before the |\maketitle| command. |
| 375 |
% |
| 376 |
% \DescribeMacro{\volumenumber} |
| 377 |
% \DescribeMacro{\issuenumber} |
| 378 |
% \DescribeMacro{\publicationyear} |
| 379 |
% \DescribeMacro{\publicationmonth} |
| 380 |
% \DescribeMacro{\papernumber} |
| 381 |
% \DescribeMacro{\startpage} |
| 382 |
% \DescribeMacro{\endpage} |
| 383 |
% The macros |\volumenumber|, |\issuenumber|, |\publicationyear|, |
| 384 |
% |\publicationmonth|, |\papernumber|, |\startpage|, |\endpage| set up the |
| 385 |
% corresponding |
| 386 |
% data for the paper, for example: |
| 387 |
% \begin{verbatim} |
| 388 |
% \volumenumber{88} |
| 389 |
% \issuenumber{1--2} |
| 390 |
% \publicationyear{2012} |
| 391 |
% \publicationmonth{January--February} |
| 392 |
% \papernumber{2} |
| 393 |
% \startpage{1} |
| 394 |
% \endpage{39} |
| 395 |
% \end{verbatim} |
| 396 |
% Note that if the argument of |\endpage| is empty, \LaTeX{} tries to |
| 397 |
% calculate the last page number as best as it can. |
| 398 |
% |
| 399 |
% Sometimes publication month for double issues is too long to fit on |
| 400 |
% the back cover. For this case \cs{publicationmonth} has the |
| 401 |
% optional argument, abbreviated month, for example |
| 402 |
% \begin{verbatim} |
| 403 |
% \publicationmonth[Jan--Feb]{January--February} |
| 404 |
% \end{verbatim} |
| 405 |
% |
| 406 |
% \DescribeMacro{\manuscriptid}% |
| 407 |
% The comman \cs{manuscriptid}\oarg{id} sets the number of the |
| 408 |
% manuscript assigned at submission. If it is set, it is used to |
| 409 |
% calculate the doi number (see below). |
| 410 |
% |
| 411 |
% \DescribeMacro{\doinumber}% |
| 412 |
% Normally you do not need to set the DOI of the paper: \TeX{} will |
| 413 |
% construct the number using the paper data. However, you \emph{may} |
| 414 |
% override its decision using the command |\doinumber| which sets the |
| 415 |
% DOI explicitly, for example, |
| 416 |
% |\doinumber|\marg{10.11612/resphilosophica.2013.01.01}. You |
| 417 |
% probably should not use this macro. |
| 418 |
% |
| 419 |
% \DescribeMacro{\prevpaper} |
| 420 |
% Instead of setting |\startpage|, one can use the the command |
| 421 |
% |\prevpaper|\marg{previous paper}, with the argument being the |
| 422 |
% location and file name of the previous paper in the journal, for example: |
| 423 |
% \begin{verbatim} |
| 424 |
% \prevpaper{../infinity/concept_of_infinity} |
| 425 |
% \end{verbatim} |
| 426 |
% Note that the |.tex| suffix should \emph{not} be used. The previous |
| 427 |
% paper must be processed by |latex| prior to the current one. In |
| 428 |
% this case |latex| will read the last page of the previous paper, and |
| 429 |
% start the current one from the proper page number. |
| 430 |
% |
| 431 |
% \DescribeMacro{\paperUrl} |
| 432 |
% When a paper is submitted to the Crossref service, which keeps the |
| 433 |
% database of Digital Object Identifiers, its URL is calculated by |
| 434 |
% the script used by editors. The command \cs{paperURL}\marg{url} |
| 435 |
% overrides this choice. |
| 436 |
% |
| 437 |
% |
| 438 |
% \DescribeMacro{\EditorialComment} |
| 439 |
% The macro |\EditorialComment|\oarg{level}\marg{comments} typesets |
| 440 |
% the comments |
| 441 |
% on the margins in the |manuscript| mode, for example, |
| 442 |
% \begin{verbatim} |
| 443 |
% Which is a well known fact.\EditorialComment{A citation is |
| 444 |
% needed}\EditorialComment[1]{Please make the citation more |
| 445 |
% explicit}. |
| 446 |
% \end{verbatim} |
| 447 |
% Editorial comments have \emph{levels.} A level can be numeric or |
| 448 |
% symbolic; symbolic levels can contain letters and numbers. The |
| 449 |
% default level is |0|, so |\EditorialComment{text}| is equivalent to |
| 450 |
% |\EditorialComment[0]{text}|. |
| 451 |
% |
| 452 |
% \DescribeMacro{\ECSelect} |
| 453 |
% The command \cs{ECSelect}\marg{level,level,...} selects the levels |
| 454 |
% of editorial comments to display in the manuscript mode. Note that |
| 455 |
% |0| corresponds to the default level, so the command |\ECSelet{0}| |
| 456 |
% should be used to show these comments. |
| 457 |
% |
| 458 |
% Sometimes it is useful to tell the author about typesetter's changes |
| 459 |
% in the manuscript. The dialog between the author and typesetter |
| 460 |
% might take several iterations, so the class provides a system for |
| 461 |
% this dialog. |
| 462 |
% |
| 463 |
% \DescribeMacro{\TC} |
| 464 |
% The macro \cs{TC}\oarg{level}\marg{text} makes \marg{text} |
| 465 |
% highlighted in the |manuscript| mode if the level \oarg{level} is |
| 466 |
% chosen. For example, |
| 467 |
% \begin{verbatim} |
| 468 |
% This proposition \TC[1]{(first discussed by the author in 2010)} can |
| 469 |
% be stated as the following. |
| 470 |
% \end{verbatim} |
| 471 |
% The level can be numerical, or logical, e.g. |\TC[new]{text}|. |
| 472 |
% Actually any combination of letters and numbers that does not |
| 473 |
% contain commas or spaces can be used for level. By default the |
| 474 |
% level is |0|, so |\TC|\marg{text} is equivalent to |
| 475 |
% |\TC[0]|\marg{text}. |
| 476 |
% |
| 477 |
% \DescribeMacro{\TCSelect} |
| 478 |
% The decision to highlight certain levels is done by the command |
| 479 |
% \cs{TCSelect}\oarg{color}\marg{level,level,level...} The first |
| 480 |
% optional argument is the color used for highlighting; by default |
| 481 |
% |magenta|. Actually any color expression understandable by |
| 482 |
% \progname{xcolor} can be used. The second argument is a |
| 483 |
% comma-separated list of levels that will be highlighted by the |
| 484 |
% selected color. The command \cs{TCSelect} can be repeated, for example, |
| 485 |
% \begin{verbatim} |
| 486 |
% \TCSelect{0,1,new} |
| 487 |
% \TCSelect[blue]{second-level} |
| 488 |
% \end{verbatim} |
| 489 |
% If a level does \emph{not} appear in any \cs{TCSelect} command, it is |
| 490 |
% not highlighted---that is why we do not need a separate \cs{TCOff} |
| 491 |
% command. |
| 492 |
% |
| 493 |
% |
| 494 |
% |
| 495 |
%\section{Special Notes} |
| 496 |
%\label{sec:guide_notes} |
| 497 |
% |
| 498 |
% \DescribeEnv{notes} |
| 499 |
% Some authors include special notes, for example, bibliography |
| 500 |
% description, that precede list of references, but follow the |
| 501 |
% signature block. The environment |notes| is intended for this |
| 502 |
% purpose. It has one mandatory argument, title, for example |
| 503 |
% \begin{verbatim} |
| 504 |
% \begin{notes}{Bibliography notes} |
| 505 |
% The best discussion of the problem can be found in... |
| 506 |
% \end{notes} |
| 507 |
% \end{verbatim} |
| 508 |
% |
| 509 |
% |
| 510 |
% |
| 511 |
%\subsection{Bibliography} |
| 512 |
%\label{sec:guide_bib} |
| 513 |
% |
| 514 |
% As mentioned above, |resphilosophica| by default uses |
| 515 |
% |natbib|~\cite{Daly07:Natbib}. You should use |natbib| commands |
| 516 |
% like |\citet|, |\citep| etc. |
| 517 |
% |
| 518 |
% Note that |\bibliographystyle| command should \emph{not} be issued |
| 519 |
% by the author: the package takes care of this. You just need to |
| 520 |
% type |
| 521 |
% \begin{verbatim} |
| 522 |
% \bibliography{DATABASE, DATABASE...} |
| 523 |
% \end{verbatim} |
| 524 |
% |
| 525 |
% The bibliography style used for the articles is |
| 526 |
% |resphilosophica.bst|. Compared to standard styles it has two |
| 527 |
% additional fields: |
| 528 |
% \begin{description} |
| 529 |
% \item[doi:] DOI number of the publication. Write there only the |
| 530 |
% number: the style will automatically add |https://doi.org| and |
| 531 |
% make the reference clickable. |
| 532 |
% \item[titlenote:] the note that should be put after the title rather |
| 533 |
% than at the end of the entry\footnote{This field was proposed by |
| 534 |
% Maureen Shupsky for the \emph{Annals of Mathematics} |
| 535 |
% bibliography style.}, for example, the information about |
| 536 |
% translators, editors of critical editions, etc: |
| 537 |
% \begin{verbatim} |
| 538 |
% @book{Knuth94:TheTeXbook, |
| 539 |
% address = {Reading, MA}, |
| 540 |
% author = {Knuth, Donald Ervin}, |
| 541 |
% titlenote = {Illustrations by Duane Bibby}, |
| 542 |
% publisher = {Addison-Wesley Publishing Company}, |
| 543 |
% series = {Computers \& Typesetting A}, |
| 544 |
% title = {The \TeX book}, |
| 545 |
% year = {1994}, |
| 546 |
% } |
| 547 |
% |
| 548 |
% \end{verbatim} |
| 549 |
% |
| 550 |
% \end{description} |
| 551 |
% |
| 552 |
% \DescribeMacro{\enquote}% |
| 553 |
% \DescribeMacro{\ensquote}% |
| 554 |
% The macros \cs{enquote} and \cs{ensquote} put their arguments in |
| 555 |
% double and single quotes correspondingly. They are used to suppress |
| 556 |
% unwanted commas and periods inside bibliography entries. |
| 557 |
% |
| 558 |
% \DescribeMacro{\suppresscomma} |
| 559 |
% Sometimes Bib\TeX\ inserts an unwanted comma into an entry, for |
| 560 |
% example, in the following one: |
| 561 |
% \begin{verbatim} |
| 562 |
% @incollection{ande97a, |
| 563 |
% Address = {Macon, GA}, |
| 564 |
% Author = {Anderson, Thomas C.}, |
| 565 |
% Booktitle = {Concluding Unscientific Postscript to |
| 566 |
% \enquote{Philosophical Fragments,}}, |
| 567 |
% Date-Modified = {2013-09-04 21:27:17 +0000}, |
| 568 |
% Editor = {Robert Perkins}, |
| 569 |
% Owner = {Andrew}, |
| 570 |
% Pages = {187--204}, |
| 571 |
% Publisher = {Mercer University Press}, |
| 572 |
% Series = {International Kierkegaard Commentary}, |
| 573 |
% Timestamp = {2013.09.04}, |
| 574 |
% Title = {Kierkegaard and Approximation Knowledge}, |
| 575 |
% Volume = {12}, |
| 576 |
% Year = {1997}} |
| 577 |
% \end{verbatim} |
| 578 |
% The command \cs{suppresscomma} suppresses the next comma: |
| 579 |
% \begin{verbatim} |
| 580 |
% Booktitle = {Concluding Unscientific Postscript to |
| 581 |
% \enquote{Philosophical Fragments,\suppresscomma}}, |
| 582 |
% \end{verbatim} |
| 583 |
% |
| 584 |
% |
| 585 |
% The bibliography style has a special entry type, |
| 586 |
% |inloosecollection|. It resembles the standard |incollection| |
| 587 |
% entry, but it refers to a collection of papers written by separate |
| 588 |
% authors that are quotable separately as an independent entity. This |
| 589 |
% entry is typeset slightly differently than the standart |
| 590 |
% |incollecttion| entry. |
| 591 |
% |
| 592 |
% |
| 593 |
% \DescribeMacro{\AddtoEndMatter} |
| 594 |
% If you decide to forgo |natbib|, you can use |natbib=false| option. |
| 595 |
% Then you should remember to put the bibliogrtaphy \emph{after} the |
| 596 |
% end matter (authors' addresses etc) using the command |\AddtoEndMatter|: |
| 597 |
% \begin{verbatim} |
| 598 |
% \AddtoEndMatter{MY BIBLIOGRAPHY COMMANDS} |
| 599 |
% \end{verbatim} |
| 600 |
% |
| 601 |
% \subsection*{Acknowledgments} |
| 602 |
% This package was commissioned by the journal \emph{Res Philosophica} |
| 603 |
% and funded by Saint Louis University. I am grateful to Jonathan |
| 604 |
% Jacobs for tireless testing of the package. |
| 605 |
% |
| 606 |
% \StopEventually{% |
| 607 |
% \bibliography{resphilosophica} |
| 608 |
% \bibliographystyle{unsrt}} |
| 609 |
% |
| 610 |
% \clearpage |
| 611 |
% |
| 612 |
% |
| 613 |
%\section{Implementation} |
| 614 |
%\label{sec:impl} |
| 615 |
% |
| 616 |
% |
| 617 |
%\subsection{Options} |
| 618 |
%\label{sec:opts} |
| 619 |
% |
| 620 |
% We need |xkeyval| since some of our options may have values: |
| 621 |
% \begin{macrocode} |
| 622 |
\RequirePackage{xkeyval} |
| 623 |
% \end{macrocode} |
| 624 |
% |
| 625 |
% \begin{macro}{\ifRESP@fontauto} |
| 626 |
% First, check whether the user have the body font explicitly |
| 627 |
% configured: |
| 628 |
% \begin{macrocode} |
| 629 |
\newif\ifRESP@fontauto |
| 630 |
\RESP@fontautotrue |
| 631 |
% \end{macrocode} |
| 632 |
% |
| 633 |
% \end{macro} |
| 634 |
% |
| 635 |
% |
| 636 |
% \begin{macro}{\ifRESP@rpfontauto} |
| 637 |
% \changes{v1.1}{2012/09/01}{Added macro} |
| 638 |
% Same for \emph{Res Philosophica} font |
| 639 |
% \begin{macrocode} |
| 640 |
\newif\ifRESP@rpfontauto |
| 641 |
\RESP@rpfontautotrue |
| 642 |
% \end{macrocode} |
| 643 |
% |
| 644 |
% \end{macro} |
| 645 |
% |
| 646 |
% \begin{macro}{\ifRESP@lsabon} |
| 647 |
% Are we using linotype sabon? |
| 648 |
% \begin{macrocode} |
| 649 |
\newif\ifRESP@lsabon |
| 650 |
\RESP@lsabonfalse |
| 651 |
% \end{macrocode} |
| 652 |
% |
| 653 |
% \end{macro} |
| 654 |
% |
| 655 |
% \begin{macro}{\ifRESP@mtshadow} |
| 656 |
% \changes{v1.1}{2012/09/01}{Added macro} |
| 657 |
% \changes{v1.16}{2012/12/26}{Deleted macro} |
| 658 |
% Are we using MT Imprint Shadow? |
| 659 |
% \begin{macrocode} |
| 660 |
%\newif\ifRESP@mtshadow |
| 661 |
%\RESP@mtshadowfalse |
| 662 |
% \end{macrocode} |
| 663 |
% |
| 664 |
% \end{macro} |
| 665 |
% |
| 666 |
% \begin{macro}{bodyfont} |
| 667 |
% And the option to check the user input: |
| 668 |
% \begin{macrocode} |
| 669 |
\define@choicekey*+{resphilosophica.cls}{bodyfont}[\val\nr]{auto, |
| 670 |
sabon, lsabon, cm}[auto]{% |
| 671 |
\ifcase\nr\relax |
| 672 |
\RESP@fontautotrue |
| 673 |
\or |
| 674 |
\RESP@fontautofalse |
| 675 |
\RESP@lsabontrue |
| 676 |
\or |
| 677 |
\RESP@fontautofalse |
| 678 |
\RESP@lsabontrue |
| 679 |
\or |
| 680 |
\RESP@fontautofalse |
| 681 |
\RESP@lsabonfalse |
| 682 |
\fi}{% |
| 683 |
\PackageWarning{resphilosophica}{The option bodyfont must be auto, |
| 684 |
sabon or cm. Using auto}\RESP@fontautotrue} |
| 685 |
% \end{macrocode} |
| 686 |
% |
| 687 |
% \end{macro} |
| 688 |
% |
| 689 |
% \begin{macro}{rpfont} |
| 690 |
% \changes{v1.1}{2012/09/01}{Added option} |
| 691 |
% \changes{v1.16}{2013/11/16}{Deleted option} |
| 692 |
% And the option to check the user input: |
| 693 |
% \begin{macrocode} |
| 694 |
% \define@choicekey*+{resphilosophica.cls}{rpfont}[\val\nr]{auto, |
| 695 |
% imprint, imprintshadow, cm}[auto]{% |
| 696 |
% \ifcase\nr\relax |
| 697 |
% \RESP@rpfontautotrue |
| 698 |
% \or |
| 699 |
% \RESP@rpfontautofalse |
| 700 |
% \RESP@mtshadowtrue |
| 701 |
% \or |
| 702 |
% \RESP@rpfontautofalse |
| 703 |
% \RESP@mtshadowtrue |
| 704 |
% \or |
| 705 |
% \RESP@rpfontautofalse |
| 706 |
% \RESP@mtshadowfalse |
| 707 |
% \fi}{% |
| 708 |
% \PackageWarning{resphilosophica}{The option rpfont must be auto, |
| 709 |
% imprintshadow or cm. Using auto}\RESP@rpfontautotrue} |
| 710 |
% \end{macrocode} |
| 711 |
% |
| 712 |
% \end{macro} |
| 713 |
% |
| 714 |
% |
| 715 |
% \begin{macro}{natbib} |
| 716 |
% Checking natbib option: |
| 717 |
% \begin{macrocode} |
| 718 |
\define@boolkey+{resphilosophica.cls}[RESP@]{natbib}[true]{}{% |
| 719 |
\PackageWarning{resphilosophica}{The option natbib must be |
| 720 |
yes or no. Using yes}} |
| 721 |
\RESP@natbibtrue |
| 722 |
% \end{macrocode} |
| 723 |
% |
| 724 |
% \end{macro} |
| 725 |
% |
| 726 |
% |
| 727 |
% The size-changing options produce a warning: |
| 728 |
% \begin{macrocode} |
| 729 |
\long\def\RESP@size@warning#1{% |
| 730 |
\ClassWarning{RESPart}{Size-changing option #1 will not be |
| 731 |
honored}}% |
| 732 |
\DeclareOptionX{8pt}{\RESP@size@warning{\CurrentOption}}% |
| 733 |
\DeclareOptionX{9pt}{\RESP@size@warning{\CurrentOption}}% |
| 734 |
\DeclareOptionX{10pt}{\RESP@size@warning{\CurrentOption}}% |
| 735 |
\DeclareOptionX{11pt}{\RESP@size@warning{\CurrentOption}}% |
| 736 |
\DeclareOptionX{12pt}{\RESP@size@warning{\CurrentOption}}% |
| 737 |
% \end{macrocode} |
| 738 |
% |
| 739 |
% \begin{macro}{\ifRESP@manuscript} |
| 740 |
% Manuscript mode: |
| 741 |
% \begin{macrocode} |
| 742 |
\newif\ifRESP@manuscript |
| 743 |
\RESP@manuscriptfalse |
| 744 |
\DeclareOptionX{manuscript}{\RESP@manuscripttrue} |
| 745 |
% \end{macrocode} |
| 746 |
% |
| 747 |
% \end{macro} |
| 748 |
% |
| 749 |
% \begin{macro}{\ifRESP@screen} |
| 750 |
% \changes{v1.4}{2012/09/06}{Added option} |
| 751 |
% Screen mode: |
| 752 |
% \begin{macrocode} |
| 753 |
\newif\ifRESP@screen |
| 754 |
\RESP@screenfalse |
| 755 |
\DeclareOptionX{screen}{\RESP@screentrue} |
| 756 |
% \end{macrocode} |
| 757 |
% |
| 758 |
% \end{macro} |
| 759 |
% |
| 760 |
% |
| 761 |
% \begin{macro}{\ifRESP@preprint} |
| 762 |
% \changes{v1.13}{2013/08/14}{Added option} |
| 763 |
% Whether we are in the preprint mode |
| 764 |
% \begin{macrocode} |
| 765 |
\newif\ifRESP@preprint |
| 766 |
\RESP@preprintfalse |
| 767 |
\DeclareOptionX{preprint}{\RESP@preprinttrue} |
| 768 |
% \end{macrocode} |
| 769 |
% |
| 770 |
% \end{macro} |
| 771 |
% \begin{macro}{\ifRESP@forthcoming} |
| 772 |
% \changes{v1.13}{2013/08/14}{Added option} |
| 773 |
% Whether we are in the forthcoming mode |
| 774 |
% \begin{macrocode} |
| 775 |
\newif\ifRESP@forthcoming |
| 776 |
\RESP@forthcomingfalse |
| 777 |
\DeclareOptionX{forthcoming}{\RESP@forthcomingtrue} |
| 778 |
% \end{macrocode} |
| 779 |
% |
| 780 |
% \end{macro} |
| 781 |
% |
| 782 |
% All other options are passed to \progname{amsart}: |
| 783 |
% \begin{macrocode} |
| 784 |
\DeclareOptionX{*}{\PassOptionsToClass{\CurrentOption}{amsart}} |
| 785 |
% \end{macrocode} |
| 786 |
% |
| 787 |
% And executing options: |
| 788 |
% \begin{macrocode} |
| 789 |
\ProcessOptionsX |
| 790 |
% \end{macrocode} |
| 791 |
% |
| 792 |
% |
| 793 |
% |
| 794 |
%\subsection{Loading Classes and Packages} |
| 795 |
%\label{sec:classes} |
| 796 |
% |
| 797 |
% \changes{v1.23}{2014/11/17}{Switched to twoside mode of amsart} |
| 798 |
% We use |amsart| since it has nice features for front matter: |
| 799 |
% \begin{macrocode} |
| 800 |
\LoadClass[noamsfonts,twoside]{amsart} |
| 801 |
% \end{macrocode} |
| 802 |
% |
| 803 |
% \changes{v1.3}{2012/09/05}{Ifpdf is no longer needed with modern engines} |
| 804 |
% \changes{v1.4}{2012/09/06}{Added footmisc package with `bottom' |
| 805 |
% option} |
| 806 |
% \changes{v1.5}{2012/09/07}{Hyperfootnotes are incompatible with |
| 807 |
% hyperref} |
| 808 |
% \changes{v1.17}{2013/12/02}{Added collect package} |
| 809 |
% \changes{v1.30}{2016/12/30}{Split URLs at hyphens} |
| 810 |
% \changes{v1.38}{2025/07/02}{No longer using lastpage package} |
| 811 |
% Some packages |
| 812 |
% \begin{macrocode} |
| 813 |
\RequirePackage{microtype, fancyhdr, xcolor, collect} |
| 814 |
\RequirePackage[bottom,multiple]{footmisc} |
| 815 |
\PassOptionsToPackage{hyphens}{url} |
| 816 |
\RequirePackage[hyperfootnotes=false]{hyperref} |
| 817 |
\urlstyle{rm} |
| 818 |
\ifRESP@manuscript\hypersetup{colorlinks,allcolors=blue}\else |
| 819 |
\ifRESP@screen\hypersetup{colorlinks,allcolors=blue}\else |
| 820 |
\ifRESP@preprint\hypersetup{colorlinks,allcolors=blue}\else |
| 821 |
\ifRESP@forthcoming\hypersetup{colorlinks,allcolors=blue}\else |
| 822 |
\hypersetup{hidelinks}\fi\fi\fi\fi |
| 823 |
% \end{macrocode} |
| 824 |
% |
| 825 |
% |
| 826 |
% The font to use depends on the options. Note that \LaTeX\ cannot |
| 827 |
% reliably determine whether a binary file like |SabonLTRom.pfb| |
| 828 |
% exists in the system, so we check for the |.fd| file instead (sigh): |
| 829 |
% \begin{macrocode} |
| 830 |
\ifRESP@fontauto |
| 831 |
\IfFileExists{t1lsb.fd}{\RESP@lsabontrue}{\RESP@lsabonfalse}\fi |
| 832 |
% \end{macrocode} |
| 833 |
% |
| 834 |
% If the user wants, we load Sabon and URW Garamond. Note that |
| 835 |
% mathdesign defines |sc| to be |fsc|, so we need to redefine it for |
| 836 |
% Sabon. Also, it defines |b| to |mb|. so we redefine it again. |
| 837 |
%\changes{v1.16}{2013/11/26}{Added \cmd{\bfdefault}} |
| 838 |
% \begin{macrocode} |
| 839 |
\ifRESP@lsabon |
| 840 |
\RequirePackage[mdugm]{mathdesign} |
| 841 |
\RequirePackage[rmdefault]{lsabon} |
| 842 |
\renewcommand\scdefault{sc} |
| 843 |
\renewcommand{\bfdefault}{b} |
| 844 |
\fi |
| 845 |
% \end{macrocode} |
| 846 |
% |
| 847 |
% Checking the existence of |miih| font metrics: |
| 848 |
% \begin{macrocode} |
| 849 |
%\ifRESP@rpfontauto |
| 850 |
% \IfFileExists{t1miih.fd}{\RESP@mtshadowtrue}{\RESP@mtshadowfalse}\fi |
| 851 |
% \end{macrocode} |
| 852 |
% |
| 853 |
% |
| 854 |
% \begin{macro}{\rpdefault} |
| 855 |
% \changes{v1.1}{2012/09/01}{Added macro} |
| 856 |
% \changes{v1.16}{2013/11/26}{Deleted macro} |
| 857 |
% This is the font for \emph{Res Philosophica:} |
| 858 |
% \begin{macrocode} |
| 859 |
%\ifRESP@mtshadow |
| 860 |
% \def\rpdefault{miih}\else |
| 861 |
% \def\rpdefault{\rmdefault}\fi |
| 862 |
% \end{macrocode} |
| 863 |
% |
| 864 |
% \end{macro} |
| 865 |
% |
| 866 |
% |
| 867 |
% |
| 868 |
% \begin{macro}{\AddtoEndMatter} |
| 869 |
% A syntax sugar to add something after signature: |
| 870 |
% \begin{macrocode} |
| 871 |
\def\AddtoEndMatter#1{\g@addto@macro\enddoc@text{#1}} |
| 872 |
% \end{macrocode} |
| 873 |
% |
| 874 |
% \end{macro} |
| 875 |
% |
| 876 |
% And loading natbib: |
| 877 |
% \changes{v1.2}{2012/09/04}{Changed font for bibliography} |
| 878 |
% \changes{v1.2}{2012/09/04}{Changed skip for bibliography} |
| 879 |
% \changes{v1.3}{2012/09/05}{Added penalties} |
| 880 |
% \changes{v1.4}{2012/09/06}{Changed bibsection font} |
| 881 |
% \begin{macrocode} |
| 882 |
\ifRESP@natbib |
| 883 |
\RequirePackage[round]{natbib} |
| 884 |
\AtEndDocument{\bibliographystyle{resphilosophica}} |
| 885 |
\let\RESP@bibliography=\bibliography |
| 886 |
\def\bibliography#1{\AddtoEndMatter{\RESP@bibliography{#1}}} |
| 887 |
\def\bibsection{\par\addpenalty\@secpenalty\addvspace{\bigskipamount}% |
| 888 |
\noindent \Small References:\par\nobreak\vskip\medskipamount\@afterheading} |
| 889 |
\def\bibfont{\Small} |
| 890 |
\fi |
| 891 |
% \end{macrocode} |
| 892 |
% |
| 893 |
% |
| 894 |
%\subsection{Page Dimensions and Paragraphing} |
| 895 |
%\label{sec:page} |
| 896 |
% |
| 897 |
% \begin{macro}{\pdfpaperwidth} |
| 898 |
% \begin{macro}{\pdfpaperheight} |
| 899 |
% \changes{v1.3}{2012/09/05}{Deleted ifpdf} |
| 900 |
% \changes{v1.4}{2012/09/06}{Changed paper in the manuscript mode} |
| 901 |
% \changes{v1.23}{2014/11/17}{Added to paper width to accomodate |
| 902 |
% larger thumb side margins} |
| 903 |
% \changes{v1.25}{2015/01/25}{Returned to old page width} |
| 904 |
% Paper: |
| 905 |
% \begin{macrocode} |
| 906 |
\ifRESP@manuscript\else |
| 907 |
\AtBeginDocument{\setlength{\pdfpagewidth}{432bp}% |
| 908 |
\setlength{\pdfpageheight}{648bp}} |
| 909 |
\fi |
| 910 |
% \end{macrocode} |
| 911 |
% \end{macro} |
| 912 |
% \end{macro} |
| 913 |
% |
| 914 |
% \begin{macro}{\textwidth} |
| 915 |
% \begin{macro}{\textheight} |
| 916 |
% The size of the type block: |
| 917 |
% \begin{macrocode} |
| 918 |
\setlength{\textwidth}{318pt} |
| 919 |
\setlength{\textheight}{540pt} |
| 920 |
% \end{macrocode} |
| 921 |
% |
| 922 |
% \end{macro} |
| 923 |
% \end{macro} |
| 924 |
% |
| 925 |
% \begin{macro}{\evensidemargin} |
| 926 |
% \begin{macro}{\oddsidemargin} |
| 927 |
% \changes{v1.23}{2014/11/17}{Made even- and odd- side margins |
| 928 |
% different, except in screen and forthcoming modes} |
| 929 |
% \changes{v1.25}{2015/01/25}{Changed margins} |
| 930 |
% \changes{v1.35}{2019/04/14}{Changed margins} |
| 931 |
% The margins: |
| 932 |
% \begin{macrocode} |
| 933 |
\setlength{\evensidemargin}{-0.125in} |
| 934 |
\setlength{\oddsidemargin}{-0.25in} |
| 935 |
\ifRESP@screen |
| 936 |
\setlength{\evensidemargin}{-0.1875in} |
| 937 |
\setlength{\oddsidemargin}{-0.1875in} |
| 938 |
\fi |
| 939 |
\ifRESP@forthcoming |
| 940 |
\setlength{\evensidemargin}{-0.1875in} |
| 941 |
\setlength{\oddsidemargin}{-0.1875in} |
| 942 |
\fi |
| 943 |
% \end{macrocode} |
| 944 |
% |
| 945 |
% \end{macro} |
| 946 |
% \end{macro} |
| 947 |
% |
| 948 |
% \begin{macro}{\topmargin} |
| 949 |
% Top margin |
| 950 |
% \begin{macrocode} |
| 951 |
\setlength{\topmargin}{-48pt} |
| 952 |
% \end{macrocode} |
| 953 |
% |
| 954 |
% \end{macro} |
| 955 |
% \begin{macro}{\listisep} |
| 956 |
% \changes{v1.2}{2012/09/04}{Redefined} |
| 957 |
% This is the space around lists. |amsart| defines it as |
| 958 |
% |\smallskipamount|. We slightly increase it: |
| 959 |
% \begin{macrocode} |
| 960 |
\listisep\medskipamount |
| 961 |
% \end{macrocode} |
| 962 |
% |
| 963 |
% \end{macro} |
| 964 |
% |
| 965 |
%\subsection{Headers} |
| 966 |
%\label{sec:headers} |
| 967 |
% |
| 968 |
% \begin{macro}{\headsep} |
| 969 |
% Separation between the header and the body |
| 970 |
% \begin{macrocode} |
| 971 |
\setlength{\headsep}{14pt} |
| 972 |
% \end{macrocode} |
| 973 |
% |
| 974 |
% |
| 975 |
% \begin{macro}{\headheight} |
| 976 |
% The height of the headers: |
| 977 |
% \begin{macrocode} |
| 978 |
\setlength{\headheight}{12pt} |
| 979 |
% \end{macrocode} |
| 980 |
% |
| 981 |
% \end{macro} |
| 982 |
% |
| 983 |
% \end{macro} |
| 984 |
% \begin{macro}{\headrulewidth} |
| 985 |
% \begin{macro}{\footrulewidth} |
| 986 |
% We do not want decorative rules in the journal: |
| 987 |
% \begin{macrocode} |
| 988 |
\renewcommand{\headrulewidth}{0pt} |
| 989 |
\renewcommand{\footrulewidth}{0pt} |
| 990 |
% \end{macrocode} |
| 991 |
% \end{macro} |
| 992 |
% \end{macro} |
| 993 |
% |
| 994 |
% \begin{macro}{\footskip} |
| 995 |
% \changes{v1.7}{2012/09/11}{Decreased to fit doi number} |
| 996 |
% Separation between the footer and the body |
| 997 |
% \begin{macrocode} |
| 998 |
\setlength{\footskip}{20pt} |
| 999 |
% \end{macrocode} |
| 1000 |
% |
| 1001 |
% \end{macro} |
| 1002 |
% |
| 1003 |
% \begin{macro}{\RESP@printlinecount} |
| 1004 |
% \changes{v1.13}{2013/08/14}{Added macro} |
| 1005 |
% Do we want to print line count? |
| 1006 |
% \begin{macrocode} |
| 1007 |
\newif\ifRESP@printlinecount |
| 1008 |
\RESP@printlinecountfalse |
| 1009 |
\ifRESP@manuscript\RESP@printlinecounttrue\fi |
| 1010 |
\ifRESP@preprint\RESP@printlinecounttrue\fi |
| 1011 |
% \end{macrocode} |
| 1012 |
% |
| 1013 |
% \end{macro} |
| 1014 |
% |
| 1015 |
% \begin{macro}{\RESP@linecount} |
| 1016 |
% \changes{v1.4}{2012/09/06}{Changed color} |
| 1017 |
% \changes{v1.5}{2012/09/07}{Changed color} |
| 1018 |
% \changes{v1.3}{2013/08/14}{Changed check for linecount} |
| 1019 |
% This is the box displayed in the manuscript mode |
| 1020 |
% \begin{macrocode} |
| 1021 |
\ifRESP@printlinecount |
| 1022 |
\newsavebox{\RESP@linecount} |
| 1023 |
\savebox{\RESP@linecount}[4em][t]{\parbox[t]{4em}{% |
| 1024 |
\@tempcnta\@ne\relax |
| 1025 |
\loop{\color{red}\scriptsize\the\@tempcnta}\\ |
| 1026 |
\advance\@tempcnta by \@ne\ifnum\@tempcnta<47\repeat}} |
| 1027 |
\fi |
| 1028 |
% \end{macrocode} |
| 1029 |
% |
| 1030 |
% \end{macro} |
| 1031 |
% |
| 1032 |
% It is easy to set up headers with \progname{fancyhdr}: |
| 1033 |
% \changes{v1.4}{2012/09/06}{Changed color of ``Author's proof' mark} |
| 1034 |
% \changes{v1.5}{2012/09/07}{Changed color for headers and footers} |
| 1035 |
% \changes{v1.7}{2012/09/11}{Changed formatting of doi} |
| 1036 |
% \changes{v1.13}{2013/08/14}{Changed check for line numbering mode} |
| 1037 |
% \begin{macrocode} |
| 1038 |
\pagestyle{fancy} |
| 1039 |
\fancyhead{} |
| 1040 |
\fancyfoot{} |
| 1041 |
\fancyhead[LE]{\footnotesize\thepage\qquad\itshape\shortauthors} |
| 1042 |
\fancyhead[RO]{\footnotesize\textit{\shorttitle}\qquad\thepage} |
| 1043 |
\ifRESP@printlinecount |
| 1044 |
\fancyhead[LE]{\begin{picture}(0,0)% |
| 1045 |
\put(-26,-22){\usebox{\RESP@linecount}}% |
| 1046 |
\end{picture}\footnotesize\thepage\qquad\itshape\shortauthors} |
| 1047 |
\fancyhead[LO]{\begin{picture}(0,0)% |
| 1048 |
\put(-21,-22){\usebox{\RESP@linecount}}% |
| 1049 |
\end{picture}} |
| 1050 |
\fi |
| 1051 |
\ifRESP@manuscript |
| 1052 |
\fancyfoot[C]{\scriptsize\color{red}Author's Proof}% |
| 1053 |
\fi |
| 1054 |
\ifRESP@preprint |
| 1055 |
\fancyfoot[C]{\scriptsize\color{red}Author's Pre-Print}% |
| 1056 |
\fi |
| 1057 |
% \end{macrocode} |
| 1058 |
% |
| 1059 |
% |
| 1060 |
% The first page has the special headers. The style |firstpage| is |
| 1061 |
% invoked by \progname{amsart}; here we just redefine it. |
| 1062 |
% \changes{v1.17}{2013/12/01}{Journal name on the first page footer is |
| 1063 |
% now italic} |
| 1064 |
% \changes{v1.17}{2013/12/01}{Online date for forthcoming option moved |
| 1065 |
% to the left and up} |
| 1066 |
% \changes{v1.18}{2013/12/07}{Online date for forthcoming option moved |
| 1067 |
% down} |
| 1068 |
% \changes{v1.18}{2013/12/07}{Journal name in Roman} |
| 1069 |
% \begin{macrocode} |
| 1070 |
\fancypagestyle{firstpage}{% |
| 1071 |
\fancyhf{}% |
| 1072 |
\ifRESP@printlinecount |
| 1073 |
\lhead{\begin{picture}(0,0)% |
| 1074 |
\put(-26,-20){\usebox{\RESP@linecount}}% |
| 1075 |
\end{picture}} |
| 1076 |
\fi |
| 1077 |
\ifRESP@preprint |
| 1078 |
\cfoot{\footnotesize Res Philosophica, \itshape |
| 1079 |
Vol.~\currentvolume, No.~\currentissue, |
| 1080 |
\currentmonth~\currentyear |
| 1081 |
\ifx\@doinumber\@empty\else\\% |
| 1082 |
\doi{\@doinumber}\fi |
| 1083 |
\\ |
| 1084 |
\@copyrightnote}% |
| 1085 |
\chead{\scriptsize\color{red}Author's Pre-print. Forthcoming in |
| 1086 |
Res Philosophica. Pagination may change. Published version will |
| 1087 |
be available at \url{http://pdcnet.org/resphilosophica/}} |
| 1088 |
\else |
| 1089 |
\ifRESP@forthcoming |
| 1090 |
\cfoot{\footnotesize Res |
| 1091 |
Philosophica\itshape |
| 1092 |
\ifx\currentvolume\@empty\else, % |
| 1093 |
Vol.~\currentvolume\fi |
| 1094 |
\ifx\currentissue\@empty\else, No.~\currentissue\fi |
| 1095 |
\ifx\currentmonth\@empty |
| 1096 |
\ifx\currentyear\@empty\else, \currentyear\fi |
| 1097 |
\else, |
| 1098 |
\currentmonth~\currentyear |
| 1099 |
\fi |
| 1100 |
\ifx\@doinumber\@empty\else\\% |
| 1101 |
\doi{\@doinumber}\fi |
| 1102 |
\\ |
| 1103 |
\@copyrightnote}% |
| 1104 |
\lhead{\raisebox{1.5\bigskipamount}[\z@][\z@]{\parbox{\textwidth}{\raggedright\footnotesize Published Online First: \@onlinedate}}} |
| 1105 |
\else |
| 1106 |
\cfoot{\footnotesize Res Philosophica, \itshape |
| 1107 |
\itshape Vol.~\currentvolume, No.~\currentissue, |
| 1108 |
\currentmonth~\currentyear, pp.~\start@page--\end@page |
| 1109 |
\ifx\@doinumber\@empty\else\\% |
| 1110 |
\doi{\@doinumber}\fi |
| 1111 |
\\ |
| 1112 |
\@copyrightnote}% |
| 1113 |
\fi\fi} |
| 1114 |
% \end{macrocode} |
| 1115 |
% |
| 1116 |
% |
| 1117 |
% |
| 1118 |
%\subsection{Top Matter Macros} |
| 1119 |
%\label{sec:top_matter_code} |
| 1120 |
% |
| 1121 |
% Most top matter macros are defined in \progname{amsart}. Here we |
| 1122 |
% just add some new macros and redefine some. |
| 1123 |
% |
| 1124 |
% |
| 1125 |
% The next macros mimic the functionality of \progname{amsart} |
| 1126 |
% |\issueinfo| command. Note that |\issueinfo| still works. |
| 1127 |
% \begin{macro}{\volumenumber} |
| 1128 |
% \changes{v1.13}{2013/08/14}{The default is now empty} |
| 1129 |
% This sets the volume of the paper |
| 1130 |
% \begin{macrocode} |
| 1131 |
\def\volumenumber#1{\def\currentvolume{#1}} |
| 1132 |
\volumenumber{} |
| 1133 |
% \end{macrocode} |
| 1134 |
% \end{macro} |
| 1135 |
% \begin{macro}{\issuenumber} |
| 1136 |
% \changes{v1.13}{2013/08/14}{The default is now empty} |
| 1137 |
% This sets the issue of the paper: |
| 1138 |
% \begin{macrocode} |
| 1139 |
\def\issuenumber#1{\def\currentissue{#1}} |
| 1140 |
\issuenumber{} |
| 1141 |
% \end{macrocode} |
| 1142 |
% \end{macro} |
| 1143 |
% \begin{macro}{\publicationyear} |
| 1144 |
% \changes{v1.13}{2013/08/14}{The default is now empty} |
| 1145 |
% This sets the year of the paper |
| 1146 |
% \begin{macrocode} |
| 1147 |
\def\publicationyear#1{\def\currentyear{#1}} |
| 1148 |
\publicationyear{} |
| 1149 |
% \end{macrocode} |
| 1150 |
% \end{macro} |
| 1151 |
% \begin{macro}{\publicationmonth} |
| 1152 |
% \changes{v1.13}{2013/08/14}{The default is now empty} |
| 1153 |
% \changes{v1.16}{2013/11/26}{Added \cmd{\abbrevcurrentmonth}} |
| 1154 |
% This sets the month of the paper |
| 1155 |
% \begin{macrocode} |
| 1156 |
\newcommand\publicationmonth[2][]{\gdef\currentmonth{#2}% |
| 1157 |
\gdef\abbrevcurrentmonth{#1}% |
| 1158 |
\ifx\abbrevcurrentmonth\@empty\gdef\abbrevcurrentmonth{#2}\fi} |
| 1159 |
\publicationmonth{} |
| 1160 |
% \end{macrocode} |
| 1161 |
% \end{macro} |
| 1162 |
% |
| 1163 |
% \begin{macro}{\papernumber} |
| 1164 |
% \changes{v1.11}{2012/12/24}{Added macro} |
| 1165 |
% This is absent from the |\issueinfo|. |
| 1166 |
% \begin{macrocode} |
| 1167 |
\def\papernumber#1{\def\currentpaper{#1}} |
| 1168 |
\papernumber{0000} |
| 1169 |
% |
| 1170 |
% \end{macro} |
| 1171 |
% |
| 1172 |
% \begin{macro}{\manuscriptid} |
| 1173 |
% \changes{v1.29}{2016/08/26}{Added macro} |
| 1174 |
% Submission id |
| 1175 |
% \begin{macrocode} |
| 1176 |
\def\manuscriptid#1{\gdef\@manuscriptid{#1}} |
| 1177 |
\manuscriptid{} |
| 1178 |
% |
| 1179 |
% \end{macro} |
| 1180 |
% |
| 1181 |
% |
| 1182 |
% \begin{macro}{\doinumber} |
| 1183 |
% \changes{v1.11}{2012/12/25}{Added default} |
| 1184 |
% \changes{v1.29}{2016/08/26}{Now we use \cs{manuscriptid} to make doi} |
| 1185 |
% DOI number for the article: |
| 1186 |
% \begin{macrocode} |
| 1187 |
\def\doinumber#1{\gdef\@doinumber{#1}} |
| 1188 |
\doinumber{\ifx\@manuscriptid\@empty |
| 1189 |
10.11612/resphil.\currentyear.\currentvolume.\currentissue.\currentpaper |
| 1190 |
\else |
| 1191 |
10.11612/resphil.\@manuscriptid |
| 1192 |
\fi} |
| 1193 |
% \end{macrocode} |
| 1194 |
% \end{macro} |
| 1195 |
% |
| 1196 |
% \begin{macro}{\paperUrl} |
| 1197 |
% \changes{v1.21}{2014/04/11}{Added macro} |
| 1198 |
% The url to submit to crossref |
| 1199 |
% \begin{macrocode} |
| 1200 |
\def\paperUrl#1{\gdef\@paperUrl{#1}} |
| 1201 |
\paperUrl{} |
| 1202 |
% \end{macrocode} |
| 1203 |
% |
| 1204 |
% \end{macro} |
| 1205 |
% |
| 1206 |
% \begin{macro}{\startpage} |
| 1207 |
% This defines the starting page of the paper. We have some nice |
| 1208 |
% features to set up roman page numbers for editorial |
| 1209 |
% stuff---probably not needed for this journal at this time\dots |
| 1210 |
% \begin{macrocode} |
| 1211 |
\def\startpage#1{\pagenumbering{arabic}\setcounter{page}{#1}% |
| 1212 |
\def\start@page{#1}% |
| 1213 |
\ifnum\c@page<\z@ \pagenumbering{roman}\setcounter{page}{-#1}% |
| 1214 |
\def\start@page{\romannumeral#1}% |
| 1215 |
\fi} |
| 1216 |
% \end{macrocode} |
| 1217 |
% \end{macro} |
| 1218 |
% |
| 1219 |
% |
| 1220 |
% \begin{macro}{\endpage} |
| 1221 |
% This macro again has a twist in it: if the argument is not set, it |
| 1222 |
% calculates the last page number itself. |
| 1223 |
% \begin{macrocode} |
| 1224 |
\def\endpage#1{\def\@tempa{#1}% |
| 1225 |
\ifx\@tempa\@empty\def\end@page{\pageref{RP@LastPage}}% |
| 1226 |
\else\def\end@page{#1}\fi} |
| 1227 |
% \end{macrocode} |
| 1228 |
% \end{macro} |
| 1229 |
% |
| 1230 |
% \begin{macro}{\pagespan} |
| 1231 |
% This macro is different from the one provided by \progname{amsart} |
| 1232 |
% because we want to have the option of automatic calculation of the |
| 1233 |
% last page number. |
| 1234 |
% \begin{macrocode} |
| 1235 |
\def\pagespan#1#2{\startpage{#1}\endpage{#2}} |
| 1236 |
\pagespan{1}{} |
| 1237 |
% \end{macrocode} |
| 1238 |
% \end{macro} |
| 1239 |
% |
| 1240 |
% |
| 1241 |
% \begin{macro}{\articleentry} |
| 1242 |
% This is necessary for |\prevpaper| command. We read the TOC entry |
| 1243 |
% from the previous paper and increment it by 1. Note that we |
| 1244 |
% always start with on an odd page, since the additional check |
| 1245 |
% \begin{macrocode} |
| 1246 |
\def\articleentry#1#2#3#4{\@tempcnta=#4\relax |
| 1247 |
\advance\@tempcnta by 1\relax |
| 1248 |
\ifodd\the\@tempcnta\else\advance\@tempcnta by 1\relax\fi |
| 1249 |
\startpage{\the\@tempcnta}} |
| 1250 |
% \end{macrocode} |
| 1251 |
% |
| 1252 |
% \end{macro} |
| 1253 |
% |
| 1254 |
% \begin{macro}{\prevpaper} |
| 1255 |
% This sets the previous paper location and reads the information |
| 1256 |
% from the previous paper |
| 1257 |
% \begin{macrocode} |
| 1258 |
\def\prevpaper#1{\IfFileExists{#1.rpi}{% |
| 1259 |
\ClassInfo{resphilosophica}{% |
| 1260 |
Reading first page number from the file #1.rpi}% |
| 1261 |
\input{#1.rpi}% |
| 1262 |
}{\ClassWarning{resphilosophica}{Cannot find the file #1.rpi. |
| 1263 |
Did you run latex on the previous paper?}}} |
| 1264 |
% \end{macrocode} |
| 1265 |
% |
| 1266 |
% \end{macro} |
| 1267 |
% |
| 1268 |
% \begin{macro}{abstract} |
| 1269 |
% We slightly redefine abstract comparing to \progname{amsart} |
| 1270 |
% conventions: |
| 1271 |
% \begin{macrocode} |
| 1272 |
\renewenvironment{abstract}{% |
| 1273 |
\ifx\maketitle\relax |
| 1274 |
\ClassWarning{resphilosophica}{Abstract should precede |
| 1275 |
\protect\maketitle\space in AMS derived classes}% |
| 1276 |
\fi |
| 1277 |
\global\setbox\abstractbox=\vtop\bgroup% |
| 1278 |
\vglue1pc% |
| 1279 |
\list{}{\labelwidth\z@% |
| 1280 |
\leftmargin3pc \rightmargin\leftmargin% |
| 1281 |
\listparindent\normalparindent \itemindent\z@% |
| 1282 |
\parsep\z@ \@plus\p@% |
| 1283 |
\let\fullwidthdisplay\relax% |
| 1284 |
}% |
| 1285 |
\item[]\normalfont\normalsize\textbf{\abstractname:}\space |
| 1286 |
}{% |
| 1287 |
\endlist\egroup% |
| 1288 |
\ifx\@setabstract\relax\@setabstracta\fi% |
| 1289 |
} |
| 1290 |
% \end{macrocode} |
| 1291 |
% \end{macro} |
| 1292 |
% |
| 1293 |
% \begin{macro}{\copyrightyear} |
| 1294 |
% \changes{v1.3}{2013/08/14}{In the forthcoming mode the copyright |
| 1295 |
% year is the present year} |
| 1296 |
% This is the copyright year in case it does not coincide with the |
| 1297 |
% publication year: |
| 1298 |
% \begin{macrocode} |
| 1299 |
\def\copyrightyear#1{\def\@copyrightyear{#1}} |
| 1300 |
\ifRESP@forthcoming |
| 1301 |
\copyrightyear{\the\year}\else |
| 1302 |
\copyrightyear{}\fi |
| 1303 |
% \end{macrocode} |
| 1304 |
% |
| 1305 |
% \end{macro} |
| 1306 |
% |
| 1307 |
% \begin{macro}{\onlinedate} |
| 1308 |
% \changes{v1.16}{2013/11/26}{Added macro} |
| 1309 |
% \begin{macro}{\@onlinedate} |
| 1310 |
% \changes{v1.16}{2013/11/26}{Added macro} |
| 1311 |
% Online date for forthcoming issues |
| 1312 |
% \begin{macrocode} |
| 1313 |
\def\onlinedate#1{\gdef\@onlinedate{#1}} |
| 1314 |
\onlinedate{\hspace*{5em}} |
| 1315 |
% \end{macrocode} |
| 1316 |
% |
| 1317 |
% \end{macro} |
| 1318 |
% \end{macro} |
| 1319 |
% |
| 1320 |
% \begin{macro}{\RESP@bulletboxwidth} |
| 1321 |
% \changes{v1.9}{2012/09/13}{Added macro} |
| 1322 |
% This is the width of a box with a bullet for copyright note: |
| 1323 |
% \begin{macrocode} |
| 1324 |
\newlength\RESP@bulletboxwidth |
| 1325 |
\settowidth\RESP@bulletboxwidth{\quad\textbullet\quad} |
| 1326 |
% \end{macrocode} |
| 1327 |
% |
| 1328 |
% \end{macro} |
| 1329 |
% |
| 1330 |
% \begin{macro}{\copyrightnote} |
| 1331 |
% \changes{v1.2}{2012/09/02}{Used \cmd{\rpdefault} for RP font} |
| 1332 |
% \changes{v1.9}{2012/09/13}{Made bullet disappear at break} |
| 1333 |
% \changes{v1.13}{2013/08/18}{Changed font family for forthcoming |
| 1334 |
% mode} |
| 1335 |
% \changes{v1.16}{2013/11/26}{Deleted rpdefault} |
| 1336 |
% \changes{v1.18}{2013/12/07}{Made journal name Roman} |
| 1337 |
% This is the copyrightnote. The default has some trickery with the |
| 1338 |
% year and short authors. |
| 1339 |
% |
| 1340 |
% The disappearing bullet is based on the trick by Marcin |
| 1341 |
% Wolin\'nski, who noted that \cmd{\cleaders} are discardable |
| 1342 |
% (see~\cite{Jackowski08:TeXBeatiesOddities}). |
| 1343 |
% \begin{macrocode} |
| 1344 |
\def\copyrightnote#1{\def\@copyrightnote{#1}} |
| 1345 |
\copyrightnote{\textcopyright~% |
| 1346 |
\ifx\@empty\@copyrightyear\currentyear\else\@copyrightyear\fi~% |
| 1347 |
\shortauthors\cleaders\hbox{\quad\textbullet\quad}\hskip\RESP@bulletboxwidth |
| 1348 |
\textcopyright~% |
| 1349 |
\ifx\@empty\@copyrightyear\currentyear\else\@copyrightyear\fi~% |
| 1350 |
{\upshape Res~Philosophica}}% |
| 1351 |
% \end{macrocode} |
| 1352 |
% \end{macro} |
| 1353 |
% |
| 1354 |
% \begin{macro}{\author} |
| 1355 |
% The base class puts into |\addresses| the strange line |
| 1356 |
% |\author{}|. We correct this: |
| 1357 |
% \begin{macrocode} |
| 1358 |
\renewcommand{\author}[2][]{% |
| 1359 |
\ifx\@empty\addresses |
| 1360 |
\gdef\addresses{\author{#2}}% |
| 1361 |
\else |
| 1362 |
\g@addto@macro\addresses{\author{#2}}% |
| 1363 |
\fi |
| 1364 |
\ifx\@empty\authors |
| 1365 |
\gdef\authors{#2}% |
| 1366 |
\else |
| 1367 |
\g@addto@macro\authors{\and#2}% |
| 1368 |
\fi |
| 1369 |
\@ifnotempty{#1}{% |
| 1370 |
\ifx\@empty\shortauthors |
| 1371 |
\gdef\shortauthors{#1}% |
| 1372 |
\else |
| 1373 |
\g@addto@macro\shortauthors{\and#1}% |
| 1374 |
\fi |
| 1375 |
}% |
| 1376 |
} |
| 1377 |
\edef\author{\@nx\@dblarg |
| 1378 |
\@xp\@nx\csname\string\author\endcsname} |
| 1379 |
% \end{macrocode} |
| 1380 |
% |
| 1381 |
% \end{macro} |
| 1382 |
% |
| 1383 |
% \begin{macro}{\titlenote} |
| 1384 |
% \changes{v1.13}{2013/08/14}{Added command} |
| 1385 |
% This command adds an entry to the list of titlenotes |
| 1386 |
% \begin{macrocode} |
| 1387 |
\def\@titlenotes{}% |
| 1388 |
\def\titlenote#1{% |
| 1389 |
\ifx\@empty\@titlenotes\gdef\@titlenotes{\footnote{#1}}% |
| 1390 |
\else\g@addto@macro\@titlenotes{\footnote{#1}}\fi} |
| 1391 |
% \end{macrocode} |
| 1392 |
% |
| 1393 |
% \end{macro} |
| 1394 |
% \begin{macro}{\authornote} |
| 1395 |
% \changes{v1.24}{2015/01/14}{Added command} |
| 1396 |
% This command adds an entry to the list of titlenotes |
| 1397 |
% \begin{macrocode} |
| 1398 |
\def\@authornotes{}% |
| 1399 |
\def\authornote#1{% |
| 1400 |
\ifx\@empty\@authornotes\gdef\@authornotes{\footnote{#1}}% |
| 1401 |
\else\g@addto@macro\@authornotes{\footnote{#1}}\fi} |
| 1402 |
% \end{macrocode} |
| 1403 |
% |
| 1404 |
% \end{macro} |
| 1405 |
% |
| 1406 |
%\subsection{Typesetting Top Matter} |
| 1407 |
%\label{sec:maketitle} |
| 1408 |
% |
| 1409 |
% |
| 1410 |
% \begin{macro}{\@settitle} |
| 1411 |
% \changes{v1.3}{2012/09/05}{Deleted ifpdf} |
| 1412 |
% \changes{v1.13}{2013/08/14}{Added titlenotes} |
| 1413 |
% \changes{v1.26}{2015/08/22}{Added itscshape} |
| 1414 |
% We do not uppercase title. Also, we use this occasion to set PDF |
| 1415 |
% information: |
| 1416 |
% \begin{macrocode} |
| 1417 |
\def\@settitle{\begin{center}% |
| 1418 |
\baselineskip20\p@\relax |
| 1419 |
\LARGE\scshape |
| 1420 |
\renewcommand\thefootnote{\@fnsymbol\c@footnote}% |
| 1421 |
\ifx\itscshape\@undefined\else\def\em{\itscshape}\fi |
| 1422 |
\@title\@titlenotes |
| 1423 |
\hypersetup{pdftitle=\@title}% |
| 1424 |
\end{center}% |
| 1425 |
} |
| 1426 |
% \end{macrocode} |
| 1427 |
% \end{macro} |
| 1428 |
% |
| 1429 |
% \begin{macro}{\@setauthors} |
| 1430 |
% \changes{v1.1}{2012/09/01}{Changed font} |
| 1431 |
% \changes{v1.2}{2012/09/04}{Changed font} |
| 1432 |
% \changes{v1.3}{2012/09/05}{Deleted ifpdf} |
| 1433 |
% \changes{v1.24}{2015/01/14}{Added authornotes} |
| 1434 |
% Now we typeset authors according to our specs. Again, we use this |
| 1435 |
% occasion to set some PDF information: |
| 1436 |
% \begin{macrocode} |
| 1437 |
\def\@setauthors{% |
| 1438 |
\ifx\authors\@empty\relax\else |
| 1439 |
\begingroup |
| 1440 |
\def\thanks{\protect\thanks@warning}% |
| 1441 |
\trivlist |
| 1442 |
\centering\footnotesize \@topsep30\p@\relax |
| 1443 |
\advance\@topsep by -\baselineskip |
| 1444 |
\item\relax |
| 1445 |
\def\@@and{{and}} |
| 1446 |
\author@andify\authors |
| 1447 |
\hypersetup{pdfauthor=\authors}% |
| 1448 |
\def\\{\protect\linebreak}% |
| 1449 |
\renewcommand\thefootnote{\@fnsymbol\c@footnote}% |
| 1450 |
\large\normalfont\authors\@authornotes |
| 1451 |
\endtrivlist |
| 1452 |
\endgroup |
| 1453 |
\fi} |
| 1454 |
% \end{macrocode} |
| 1455 |
% \end{macro} |
| 1456 |
% |
| 1457 |
% \begin{macro}{\maketitle} |
| 1458 |
% We redefine |\maketitle|---mostly to prevent uppercasing of |
| 1459 |
% shorttitle and to write down the journal iformation: |
| 1460 |
%\changes{v1.16}{2013/11/26}{Added suppressing first para inentation} |
| 1461 |
% \begin{macrocode} |
| 1462 |
\def\maketitle{\par |
| 1463 |
\@topnum\z@ % this prevents figures from falling at the top of page 1 |
| 1464 |
\@setcopyright |
| 1465 |
\thispagestyle{firstpage}% this sets first page specifications |
| 1466 |
\ifx\@empty\shortauthors \let\shortauthors\shorttitle |
| 1467 |
\else \andify\shortauthors |
| 1468 |
\fi |
| 1469 |
\@maketitle@hook |
| 1470 |
\RESP@write@paper@info |
| 1471 |
\begingroup |
| 1472 |
\@maketitle |
| 1473 |
\toks@\@xp{\shortauthors}\@temptokena\@xp{\shorttitle}% |
| 1474 |
\toks4{\def\\{ \ignorespaces}}% defend against questionable usage |
| 1475 |
\edef\@tempa{% |
| 1476 |
\@nx\markboth{\the\toks4 |
| 1477 |
\@nx\MakeUppercase{\the\toks@}}{\the\@temptokena}}% |
| 1478 |
\@tempa |
| 1479 |
\endgroup |
| 1480 |
\c@footnote\z@ |
| 1481 |
\everypar{\setbox\z@\lastbox\everypar{}}% |
| 1482 |
} |
| 1483 |
% \end{macrocode} |
| 1484 |
% |
| 1485 |
% \end{macro} |
| 1486 |
% |
| 1487 |
% \begin{macro}{\@maketitle} |
| 1488 |
% \changes{v1.1}{2012/09/01}{Redefined macro} |
| 1489 |
% We delete top space introduced by |amsart|: |
| 1490 |
% \begin{macrocode} |
| 1491 |
\def\@maketitle{% |
| 1492 |
\normalfont\normalsize |
| 1493 |
\@adminfootnotes |
| 1494 |
\@mkboth{\@nx\shortauthors}{\@nx\shorttitle}% |
| 1495 |
\@settitle |
| 1496 |
\ifx\@empty\authors \else \@setauthors \fi |
| 1497 |
\ifx\@empty\@dedicatory |
| 1498 |
\else |
| 1499 |
\baselineskip18\p@ |
| 1500 |
\vtop{\centering{\footnotesize\itshape\@dedicatory\@@par}% |
| 1501 |
\global\dimen@i\prevdepth}\prevdepth\dimen@i |
| 1502 |
\fi |
| 1503 |
\@setabstract |
| 1504 |
\normalsize |
| 1505 |
\if@titlepage |
| 1506 |
\newpage |
| 1507 |
\else |
| 1508 |
\dimen@34\p@ \advance\dimen@-\baselineskip |
| 1509 |
\vskip\dimen@\relax |
| 1510 |
\fi |
| 1511 |
} % end \@maketitle |
| 1512 |
% \end{macrocode} |
| 1513 |
% |
| 1514 |
% \end{macro} |
| 1515 |
% |
| 1516 |
% \begin{macro}{\@mainrpi} |
| 1517 |
% The stream for the rpi file: |
| 1518 |
% \begin{macrocode} |
| 1519 |
\newwrite\@mainrpi |
| 1520 |
% \end{macrocode} |
| 1521 |
% |
| 1522 |
% \end{macro} |
| 1523 |
% |
| 1524 |
% \begin{macro}{\RESP@write@paper@info} |
| 1525 |
% \changes{v1.1}{2012/09/01}{Added protection for \cmd{\\}} |
| 1526 |
% \changes{v1.2}{2012/09/02}{Used \cmd{\protected@write}} |
| 1527 |
% \changes{v1.11}{2012/12/25}{Added writing info for crossref} |
| 1528 |
% \changes{v1.21}{2014/04/11}{Added paperUrl} |
| 1529 |
% \changes{v1.39}{2025/09/30}{Updated for the new version of last page |
| 1530 |
% calculation} |
| 1531 |
% This writes the information about the paper into the file |
| 1532 |
% |jobname.rpi|. Note that hyperref makes our life a little bit |
| 1533 |
% more complex |
| 1534 |
% \begin{macrocode} |
| 1535 |
\def\RESP@write@paper@info{% |
| 1536 |
\bgroup |
| 1537 |
\if@filesw |
| 1538 |
\openout\@mainrpi\jobname.rpi% |
| 1539 |
\write\@mainrpi{\relax}% |
| 1540 |
\ifx\r@RP@LastPage\@undefined |
| 1541 |
\edef\@tempa{\start@page}% |
| 1542 |
\else |
| 1543 |
\def\@tempc##1##2##3##4##5{##2}% |
| 1544 |
\edef\@tempa{\expandafter\@tempc\r@RP@LastPage}% |
| 1545 |
\fi |
| 1546 |
\def\and{\string\and\space}% |
| 1547 |
\protected@write\@mainrpi{}% |
| 1548 |
{\string\articleentry{\authors}{\@title}{\start@page}{\@tempa}}% |
| 1549 |
% \end{macrocode} |
| 1550 |
% The next lines are for crossref software |
| 1551 |
% \begin{macrocode} |
| 1552 |
\protected@write\@mainrpi{}% |
| 1553 |
{\@percentchar authors=\authors}% |
| 1554 |
\protected@write\@mainrpi{}% |
| 1555 |
{\@percentchar title=\@title}% |
| 1556 |
\protected@write\@mainrpi{}% |
| 1557 |
{\@percentchar year=\currentyear}% |
| 1558 |
\protected@write\@mainrpi{}% |
| 1559 |
{\@percentchar volume=\currentvolume}% |
| 1560 |
\protected@write\@mainrpi{}% |
| 1561 |
{\@percentchar issue=\currentissue}% |
| 1562 |
\protected@write\@mainrpi{}% |
| 1563 |
{\@percentchar paper=\currentpaper}% |
| 1564 |
\protected@write\@mainrpi{}% |
| 1565 |
{\@percentchar startpage=\start@page}% |
| 1566 |
\protected@write\@mainrpi{}% |
| 1567 |
{\@percentchar endpage=\@tempa}% |
| 1568 |
\protected@write\@mainrpi{}% |
| 1569 |
{\@percentchar doi=\@doinumber}% |
| 1570 |
\ifx\@paperUrl\@empty\else |
| 1571 |
\protected@write\@mainrpi{}% |
| 1572 |
{\@percentchar paperUrl=\@paperUrl}% |
| 1573 |
\fi |
| 1574 |
\closeout\@mainrpi |
| 1575 |
\fi |
| 1576 |
\egroup} |
| 1577 |
% \end{macrocode} |
| 1578 |
% |
| 1579 |
% \end{macro} |
| 1580 |
% |
| 1581 |
% |
| 1582 |
% \begin{macro}{\@adminfootnotes} |
| 1583 |
% \changes{v1.2}{2012/09/04}{Redefined} |
| 1584 |
% We just define this to noop: |
| 1585 |
% \begin{macrocode} |
| 1586 |
\def\@adminfootnotes{} |
| 1587 |
% \end{macrocode} |
| 1588 |
% |
| 1589 |
% \end{macro} |
| 1590 |
% |
| 1591 |
% \begin{macro}{\@cleartopmattertags} |
| 1592 |
% \changes{v1.2}{2012/09/04}{Redefined} |
| 1593 |
% We typeset thankses at the end of the paper so we do not clear them: |
| 1594 |
% \begin{macrocode} |
| 1595 |
\def\@cleartopmattertags{% |
| 1596 |
\def\do##1{\let##1\relax}% |
| 1597 |
\do\maketitle \do\@maketitle \do\title \do\@xtitle \do\@title |
| 1598 |
\do\author \do\@xauthor \do\address \do\@xaddress |
| 1599 |
\do\contrib \do\contribs \do\xcontribs \do\toccontribs |
| 1600 |
\do\email \do\@xemail \do\curraddr \do\@xcurraddr |
| 1601 |
\do\commby \do\@commby |
| 1602 |
\do\dedicatory \do\@dedicatory \do\thanks |
| 1603 |
\do\keywords \do\@keywords \do\subjclass \do\@subjclass |
| 1604 |
% \end{macrocode} |
| 1605 |
% \begin{macro}{\sf@size} |
| 1606 |
% \changes{v1.8}{2012/09/12}{Added definition} |
| 1607 |
% \changes{v1.14}{2013/08/28}{Bug corrected} |
| 1608 |
% It seems there is a bug in |mdugm| when calculating |\sf@size|. |
| 1609 |
% Here we work around it: |
| 1610 |
% \begin{macrocode} |
| 1611 |
\def\sf@size{7}% |
| 1612 |
% \end{macrocode} |
| 1613 |
% |
| 1614 |
% \end{macro} |
| 1615 |
% \begin{macrocode} |
| 1616 |
} |
| 1617 |
% \end{macrocode} |
| 1618 |
% |
| 1619 |
% \end{macro} |
| 1620 |
% |
| 1621 |
% |
| 1622 |
%\subsection{Notes} |
| 1623 |
%\label{sec:notes} |
| 1624 |
% |
| 1625 |
% |
| 1626 |
% \begin{macro}{\notes} |
| 1627 |
% \changes{v1.16}{2013/11/28}{Added macro} |
| 1628 |
% \changes{v1.17}{2013/12/02}{Redefined using collect package} |
| 1629 |
% This is like |bibliography|: |
| 1630 |
% \begin{macrocode} |
| 1631 |
\definecollection{notes} |
| 1632 |
\newenvironment{notes}[1]{% |
| 1633 |
\@nameuse{collect}{notes}{}{}% |
| 1634 |
\makeatletter |
| 1635 |
\par\addpenalty\@secpenalty\addvspace{\bigskipamount}% |
| 1636 |
\noindent \Small #1:\par\nobreak\vskip\medskipamount\@afterheading |
| 1637 |
\makeatother |
| 1638 |
}{\@nameuse{endcollect}\AddtoEndMatter{\includecollection{notes}}} |
| 1639 |
% \end{macrocode} |
| 1640 |
% |
| 1641 |
% \end{macro} |
| 1642 |
% |
| 1643 |
%\subsection{Typesetting End Matter} |
| 1644 |
%\label{sec:endmatter} |
| 1645 |
% |
| 1646 |
% End matter is typeset at the end of the paper. |
| 1647 |
% |
| 1648 |
% \begin{macro}{\if@enddoc} |
| 1649 |
% \changes{v1.5}{2012/09/07}{Added macro} |
| 1650 |
% Check whether we are in the end matter |
| 1651 |
% \begin{macrocode} |
| 1652 |
\newif\if@enddoc |
| 1653 |
\@enddocfalse |
| 1654 |
% \end{macrocode} |
| 1655 |
% |
| 1656 |
% \end{macro} |
| 1657 |
% |
| 1658 |
% \begin{macro}{\enddoc@text} |
| 1659 |
% \changes{v1.2}{2012/09/04}{Redefined} |
| 1660 |
% \changes{v1.5}{2012/09/07}{Added flag} |
| 1661 |
% \changes{v1.8}{2012/09/12}{Changed bibliography} |
| 1662 |
% \changes{v1.32}{2018/02/21}{Changed spelling of `Acknowledgments' |
| 1663 |
% (Joe Salerno)} |
| 1664 |
% We put thankses into end matter. Also, we redefine bibliography |
| 1665 |
% back to the original definition in case someone writes |
| 1666 |
% |\AddtoEndMatter{\bibliography{}}| |
| 1667 |
% \begin{macrocode} |
| 1668 |
\def\enddoc@text{% |
| 1669 |
\@enddoctrue\def\bibliography{\RESP@bibliography}% |
| 1670 |
\ifx\@empty\thankses\else |
| 1671 |
\bgroup |
| 1672 |
\let\@makefnmark\relax |
| 1673 |
\let\@thefnmark\relax |
| 1674 |
% \end{macrocode} |
| 1675 |
% Check, whether we are at the same page as the last footnote; if yes, |
| 1676 |
% add medskip. |
| 1677 |
% \begin{macrocode} |
| 1678 |
\ifx\lastfootnote@page\@undefined\else |
| 1679 |
\@tempcnta=\lastfootnote@page\relax |
| 1680 |
\ifnum\c@page=\@tempcnta\relax |
| 1681 |
\insert\footins{\medskip}% |
| 1682 |
\fi |
| 1683 |
\fi |
| 1684 |
% \end{macrocode} |
| 1685 |
% |
| 1686 |
% |
| 1687 |
% \begin{macrocode} |
| 1688 |
\@footnotetext{% |
| 1689 |
\def\par{\let\par\@par}\textbf{Acknowledgments\quad} \@setthanks}% |
| 1690 |
\egroup |
| 1691 |
\fi |
| 1692 |
\ifx\@empty\@translators \else\@settranslators\fi |
| 1693 |
\ifx\@empty\addresses \else\@setaddresses\fi} |
| 1694 |
% \end{macrocode} |
| 1695 |
% |
| 1696 |
% \end{macro} |
| 1697 |
% |
| 1698 |
% \begin{macro}{\ifRESP@firstingroup} |
| 1699 |
% A group of authors is separated by a skip from another group. |
| 1700 |
% This macro checks whether this is the first one |
| 1701 |
% \begin{macrocode} |
| 1702 |
\newif\ifRESP@firstingroup |
| 1703 |
% \end{macrocode} |
| 1704 |
% |
| 1705 |
% \end{macro} |
| 1706 |
% |
| 1707 |
% \begin{macro}{\emailaddrname} |
| 1708 |
% The name for e-mail address: |
| 1709 |
% \begin{macrocode} |
| 1710 |
\def\emailaddrname{E-mail} |
| 1711 |
% \end{macrocode} |
| 1712 |
% |
| 1713 |
% \end{macro} |
| 1714 |
% |
| 1715 |
% |
| 1716 |
% \begin{macro}{\@setaddresses} |
| 1717 |
% \changes{v1.2}{2012/09/04}{Changed font} |
| 1718 |
% \changes{v1.3}{2012/09/05}{Added penalties} |
| 1719 |
% \changes{v1.9}{2012/09/13}{Added penalties} |
| 1720 |
% \changes{v1.34}{2019/03/14}{Deleted thin spaces before :} |
| 1721 |
% Unlike |aomart|, we want to preserve author's name in the address |
| 1722 |
% block. Also, we want to keep linebreaks and to have clickable |
| 1723 |
% e-mail and URL. |
| 1724 |
% |
| 1725 |
% We want to skip between the author groups (several authors with |
| 1726 |
% the same affiliation), so we check whether the previous line |
| 1727 |
% contains another author: |
| 1728 |
% \begin{macrocode} |
| 1729 |
\def\@setaddresses{\par |
| 1730 |
\nobreak \begingroup\flushright\clubpenalty\@MM\interlinepenalty\@MM |
| 1731 |
\widowpenalty\@MM |
| 1732 |
\RESP@firstingrouptrue |
| 1733 |
\Small |
| 1734 |
\def\author##1{\nobreak\ifRESP@firstingroup\par |
| 1735 |
\addvspace\bigskipamount\penalty-1000\fi |
| 1736 |
\RESP@firstingroupfalse##1\par\nobreak}% |
| 1737 |
\parindent\z@ |
| 1738 |
\def\address##1##2{\RESP@firstingrouptrue\begingroup |
| 1739 |
\par\nobreak |
| 1740 |
\@ifnotempty{##1}{(\ignorespaces##1\unskip) }% |
| 1741 |
{\ignorespaces##2}\par\endgroup}% |
| 1742 |
\def\curraddr##1##2{\RESP@firstingrouptrue\begingroup |
| 1743 |
\@ifnotempty{##2}{\nobreak\indent\curraddrname |
| 1744 |
\@ifnotempty{##1}{, \ignorespaces##1\unskip}:\space |
| 1745 |
##2\par}\endgroup}% |
| 1746 |
\def\email##1##2{\RESP@firstingrouptrue\begingroup |
| 1747 |
\@ifnotempty{##2}{\nobreak\indent\emailaddrname |
| 1748 |
\@ifnotempty{##1}{, \ignorespaces##1\unskip}:\space |
| 1749 |
\href{mailto:##2}{\nolinkurl{##2}}\par}\endgroup}% |
| 1750 |
\def\urladdr##1##2{\RESP@firstingrouptrue\begingroup |
| 1751 |
\@ifnotempty{##2}{\nobreak\indent |
| 1752 |
\@ifnotempty{##1}{, \ignorespaces##1\unskip}% |
| 1753 |
\url{##2}\par}\endgroup}% |
| 1754 |
\addresses |
| 1755 |
\endgroup |
| 1756 |
} |
| 1757 |
% \end{macrocode} |
| 1758 |
% |
| 1759 |
% \end{macro} |
| 1760 |
% |
| 1761 |
% \changes{v1.22}{2014/04/17}{Now we add empty even page at the end |
| 1762 |
% for printed version only} |
| 1763 |
% \changes{v1.38}{2025/07/02}{Rewrote code for last page, removing the |
| 1764 |
% dependency on the lastpage package} |
| 1765 |
% At the end we eject the last page. If the document is printed and |
| 1766 |
% the last page is odd, we add an empty page. It is not counted in |
| 1767 |
% the |RP@LastPage| count. We use code from lastpage package |
| 1768 |
% \begin{macrocode} |
| 1769 |
\AtEndDocument{\clearpage |
| 1770 |
\begingroup% |
| 1771 |
\addtocounter{page}{-1}% |
| 1772 |
\def\Hy@temp{\arabic{page}}% |
| 1773 |
\immediate\write\@auxout{% |
| 1774 |
\string\newlabel{RP@LastPage}{{}{\thepage}{}{% |
| 1775 |
\ifHy@pageanchor page.\Hy@temp\fi}{}}% |
| 1776 |
}% |
| 1777 |
\addtocounter{page}{+1}% |
| 1778 |
\endgroup% |
| 1779 |
\ifRESP@manuscript\else |
| 1780 |
\ifRESP@screen\else |
| 1781 |
\ifRESP@preprint\else |
| 1782 |
\ifRESP@forthcoming\else |
| 1783 |
\cleardoublepage |
| 1784 |
\fi\fi\fi\fi} |
| 1785 |
% \end{macrocode} |
| 1786 |
% |
| 1787 |
% |
| 1788 |
%\subsection{Sectioning} |
| 1789 |
%\label{sec:sectioning} |
| 1790 |
% |
| 1791 |
% \begin{macro}{\@seccntformat} |
| 1792 |
% We do not want our numbers to be upright and medium series, as |
| 1793 |
% |amsart| wants: |
| 1794 |
% \begin{macrocode} |
| 1795 |
\def\@seccntformat#1{% |
| 1796 |
\csname the#1\endcsname\enspace |
| 1797 |
} |
| 1798 |
% \end{macrocode} |
| 1799 |
% |
| 1800 |
% \end{macro} |
| 1801 |
% |
| 1802 |
% \begin{macro}{\section} |
| 1803 |
% \changes{v1.1}{2012/09/01}{Moved to LaTeX defaults} |
| 1804 |
% \changes{v1.2}{2012/09/04}{Changed font} |
| 1805 |
% We want our sections to be large and bold: |
| 1806 |
% \begin{macrocode} |
| 1807 |
\renewcommand\section{\@startsection {section}{1}{\z@}% |
| 1808 |
{-3.5ex \@plus -1ex \@minus -.2ex}% |
| 1809 |
{2.3ex \@plus.2ex}% |
| 1810 |
{\normalfont\large\bfseries}} |
| 1811 |
% \end{macrocode} |
| 1812 |
% \end{macro} |
| 1813 |
% |
| 1814 |
% \begin{macro}{\subsection} |
| 1815 |
% \changes{v1.1}{2012/09/01}{Moved to LaTeX defaults} |
| 1816 |
% \changes{v1.2}{2012/09/04}{Changed font} |
| 1817 |
% Subsections are bold |
| 1818 |
% \begin{macrocode} |
| 1819 |
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% |
| 1820 |
{-3.25ex\@plus -1ex \@minus -.2ex}% |
| 1821 |
{1.5ex \@plus .2ex}% |
| 1822 |
{\normalfont\normalsize\bfseries}} |
| 1823 |
% \end{macrocode} |
| 1824 |
% \end{macro} |
| 1825 |
% |
| 1826 |
% \begin{macro}{\subsubsection} |
| 1827 |
% \changes{v1.1}{2012/09/01}{Moved to LaTeX defaults} |
| 1828 |
% \changes{v1.2}{2012/09/04}{Changed font} |
| 1829 |
% Subsubsections are normalsize and italic |
| 1830 |
% \begin{macrocode} |
| 1831 |
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% |
| 1832 |
{-3.25ex\@plus -1ex \@minus -.2ex}% |
| 1833 |
{1.5ex \@plus .2ex}% |
| 1834 |
{\normalfont\normalsize\itshape}} |
| 1835 |
% \end{macrocode} |
| 1836 |
% \end{macro} |
| 1837 |
% |
| 1838 |
% |
| 1839 |
% \begin{macro}{\paragraph} |
| 1840 |
% \changes{v1.4}{2012/09/06}{Moved to LaTeX default} |
| 1841 |
% Paragraphs: |
| 1842 |
% \begin{macrocode} |
| 1843 |
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% |
| 1844 |
{3.25ex \@plus1ex \@minus.2ex}% |
| 1845 |
{-1em}% |
| 1846 |
{\normalfont\normalsize\bfseries}} |
| 1847 |
% \end{macrocode} |
| 1848 |
% |
| 1849 |
% \end{macro} |
| 1850 |
% |
| 1851 |
% \begin{macro}{\subparagraph} |
| 1852 |
% \changes{v1.4}{2012/09/06}{Moved to LaTeX default} |
| 1853 |
% Paragraphs: |
| 1854 |
% \begin{macrocode} |
| 1855 |
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}% |
| 1856 |
{3.25ex \@plus1ex \@minus .2ex}% |
| 1857 |
{-1em}% |
| 1858 |
{\normalfont\normalsize\bfseries}} |
| 1859 |
% \end{macrocode} |
| 1860 |
% |
| 1861 |
% \end{macro} |
| 1862 |
% |
| 1863 |
%\subsection{Additional Commands} |
| 1864 |
%\label{sec:additional} |
| 1865 |
% |
| 1866 |
% |
| 1867 |
% \begin{macro}{\@mparswitch} |
| 1868 |
% \changes{v1.1}{2012/09/01}{Changed default} |
| 1869 |
% We always put marginpars on the right since the line box is on the left |
| 1870 |
% \begin{macrocode} |
| 1871 |
\@mparswitchfalse |
| 1872 |
% \end{macrocode} |
| 1873 |
% |
| 1874 |
% \end{macro} |
| 1875 |
% |
| 1876 |
% \begin{macro}{\EditorialComment} |
| 1877 |
% \changes{v1.1}{2012/09/01}{Added macro} |
| 1878 |
% \changes{v1.4}{2012/09/06}{Changed font} |
| 1879 |
% \changes{v1.4}{2012/09/06}{Changed color} |
| 1880 |
% \changes{v1.5}{2012/09/07}{Changed color} |
| 1881 |
% \changes{v1.17}{2013/12/01}{Redefined so levels are suported} |
| 1882 |
% This macro is noop in normal mode, but is a tiny marginpar in the |
| 1883 |
% manusript mode |
| 1884 |
% \begin{macrocode} |
| 1885 |
\newcommand\EditorialComment[2][0]{% |
| 1886 |
\expandafter\ifx\csname EditorialComment@#1\endcsname\relax |
| 1887 |
\else\bgroup |
| 1888 |
\marginparwidth=200pt\marginpar{\color{red}% |
| 1889 |
\raggedright#2}\egroup\fi} |
| 1890 |
% \end{macrocode} |
| 1891 |
% \end{macro} |
| 1892 |
% |
| 1893 |
% \begin{macro}{\ECSelect} |
| 1894 |
% \changes{v1.17}{2013/12/01}{Added macro} |
| 1895 |
% This selects the given levels |
| 1896 |
% \begin{macrocode} |
| 1897 |
\def\ECSelect#1{\ifRESP@manuscript |
| 1898 |
\@for\EC@level:=#1\do{% |
| 1899 |
\expandafter\gdef\csname |
| 1900 |
EditorialComment@\EC@level\endcsname{\EditorialComment}}% |
| 1901 |
\fi} |
| 1902 |
% \end{macrocode} |
| 1903 |
% |
| 1904 |
% \end{macro} |
| 1905 |
% |
| 1906 |
% \begin{macro}{\TC} |
| 1907 |
% \changes{v1.16}{2013/11/27}{Added macro} |
| 1908 |
% The command to highlight text if the corresponding level is |
| 1909 |
% selected. The first argument is the level, the second is text. |
| 1910 |
% \begin{macrocode} |
| 1911 |
\newcommand\TC[2][0]{% |
| 1912 |
\expandafter\ifx\csname TC@highlight@#1\endcsname\relax#2\else |
| 1913 |
\csname TC@highlight@#1\endcsname{#2}\fi} |
| 1914 |
% \end{macrocode} |
| 1915 |
% |
| 1916 |
% \end{macro} |
| 1917 |
% |
| 1918 |
% \begin{macro}{\TCSelect} |
| 1919 |
% \changes{v1.16}{2013/11/27}{Added macro} |
| 1920 |
% \changes{v1.19}{2013/12/23}{Switched off colored links} |
| 1921 |
% This switches on the selected levels in the mqnuscript version |
| 1922 |
% \begin{macrocode} |
| 1923 |
\newcommand\TCSelect[2][magenta]{\ifRESP@manuscript |
| 1924 |
\@for\TC@level:=#2\do{\expandafter |
| 1925 |
\gdef\csname TC@highlight@\TC@level\endcsname##1{\bgroup |
| 1926 |
\Hy@colorlinksfalse |
| 1927 |
\def\Hy@colorlink####1{\begingroup}% |
| 1928 |
\def\Hy@endcolorlink{\endgroup}% |
| 1929 |
\color{#1}##1\egroup}}% |
| 1930 |
\fi} |
| 1931 |
% \end{macrocode} |
| 1932 |
% |
| 1933 |
% \end{macro} |
| 1934 |
% |
| 1935 |
% |
| 1936 |
% \begin{macro}{\doi} |
| 1937 |
% \changes{v1.1}{2012/09/01}{Added macro} |
| 1938 |
% \changes{v1.7}{2012/09/11}{Changed formatting} |
| 1939 |
% \changes{v1.31}{2017/03/28}{Changed formatting of doi} |
| 1940 |
% Typesetting doi\dots |
| 1941 |
% \begin{macrocode} |
| 1942 |
\def\doi#1{\url{https://doi.org/#1}} |
| 1943 |
% \end{macrocode} |
| 1944 |
% \end{macro} |
| 1945 |
% |
| 1946 |
% \begin{macro}{\@makefnmark} |
| 1947 |
% \changes{v1.20}{2014/03/25}{Redefined} |
| 1948 |
% The definition of \cs{@makefnmark} in amsart has a bug. Here we |
| 1949 |
% return to the \LaTeX\ one: |
| 1950 |
% \begin{macrocode} |
| 1951 |
\def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}} |
| 1952 |
% \end{macrocode} |
| 1953 |
% |
| 1954 |
% \end{macro} |
| 1955 |
% |
| 1956 |
% \begin{macro}{\@makefntext} |
| 1957 |
% \changes{v1.4}{2012/09/06}{Redefined} |
| 1958 |
% \changes{v1.5}{2012/09/06}{Added writing the current footnote page |
| 1959 |
% to the aux file} |
| 1960 |
% \changes{v1.16}{2013/11/26}{Added small space after footnote mark} |
| 1961 |
% Unlike |amsart|, we do not indent footnotes: |
| 1962 |
% \begin{macrocode} |
| 1963 |
\def\@makefntext{\noindent\@makefnmark |
| 1964 |
\if@enddoc\else |
| 1965 |
\immediate\write\@mainaux% |
| 1966 |
{\string\xdef\string\lastfootnote@page{\the\c@page}}% |
| 1967 |
\fi} |
| 1968 |
\long\def\@footnotetext#1{% |
| 1969 |
\insert\footins{% |
| 1970 |
\normalfont\footnotesize |
| 1971 |
\interlinepenalty\interfootnotelinepenalty |
| 1972 |
\splittopskip\footnotesep \splitmaxdepth \dp\strutbox |
| 1973 |
\floatingpenalty\@MM \hsize\columnwidth |
| 1974 |
\@parboxrestore \parindent\normalparindent \sloppy |
| 1975 |
\protected@edef\@currentlabel{% |
| 1976 |
\csname p@footnote\endcsname\@thefnmark}% |
| 1977 |
\@makefntext{% |
| 1978 |
\,\rule\z@\footnotesep\ignorespaces#1\unskip\strut\par}}} |
| 1979 |
% \end{macrocode} |
| 1980 |
% |
| 1981 |
% \end{macro} |
| 1982 |
% |
| 1983 |
%\subsection{The End} |
| 1984 |
%\label{sec:end} |
| 1985 |
% |
| 1986 |
% |
| 1987 |
% Philosophers love footnotes, since |\raggedbottom| |
| 1988 |
% \begin{macrocode} |
| 1989 |
\raggedbottom\normalsize\normalfont |
| 1990 |
%</class> |
| 1991 |
% \end{macrocode} |
| 1992 |
% |
| 1993 |
% |
| 1994 |
%\Finale |
| 1995 |
%\clearpage |
| 1996 |
% |
| 1997 |
%\PrintChanges |
| 1998 |
%\clearpage |
| 1999 |
%\PrintIndex |
| 2000 |
% |
| 2001 |
\endinput |