Debian Codegraph @

texmf-dist/source/latex/philosophersimprint/philosophersimprint.dtx

raw
1 % \iffalse
2 %<*gobble>
3 % $Id: philosophersimprint.dtx,v 1.45 2020/11/11 01:28:17 boris Exp $
4 %
5 % Copyright 2007-2020, Boris Veytsman <[email protected]>
6 % This work may be distributed and/or modified under the
7 % conditions of the LaTeX Project Public License, either
8 % version 1.3 of this license or (at your option) any
9 % later version.
10 % The latest version of the license is in
11 % http://www.latex-project.org/lppl.txt
12 % and version 1.3 or later is part of all distributions of
13 % LaTeX version 2005/12/01 or later.
14 %
15 % This work has the LPPL maintenance status `maintained'.
16 %
17 % The Current Maintainer of this work is Boris Veytsman
18 %
19 % This work consists of the file philosophersimprint.dtx and the
20 % derived file philosophersimprint.cls
21 %
22 % \fi
23 % \CheckSum{806}
24 %
25 %
26 %% \CharacterTable
27 %% {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
28 %% 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
29 %% Digits \0\1\2\3\4\5\6\7\8\9
30 %% Exclamation \! Double quote \" Hash (number) \#
31 %% Dollar \$ Percent \% Ampersand \&
32 %% Acute accent \' Left paren \( Right paren \)
33 %% Asterisk \* Plus \+ Comma \,
34 %% Minus \- Point \. Solidus \/
35 %% Colon \: Semicolon \; Less than \<
36 %% Equals \= Greater than \> Question mark \?
37 %% Commercial at \@ Left bracket \[ Backslash \\
38 %% Right bracket \] Circumflex \^ Underscore \_
39 %% Grave accent \` Left brace \{ Vertical bar \|
40 %% Right brace \} Tilde \~}
41 %
42 % \iffalse
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{philosophersimprint.dtx}
53 %</gobble>
54 %<class>\ProvidesClass{philosophersimprint}
55 [2020/11/10 v1.5 Typesetting articles for Philosophers' Imprint]
56 %<*gobble>
57 % \end{macrocode}
58 %
59 %
60 % \fi
61 %
62 %
63 %\iffalse
64 % \begin{macrocode}
65 \documentclass{ltxdoc}
66 \usepackage{array}
67 \usepackage{url}
68 % Taken from xkeyval.dtx
69 \makeatletter
70 \def\DescribeOption#1{\leavevmode\@bsphack
71 \marginpar{\raggedleft\PrintDescribeOption{#1}}%
72 \SpecialOptionIndex{#1}\@esphack\ignorespaces}
73 \def\PrintDescribeOption#1{\strut\emph{option}\\\MacroFont #1\ }
74 \def\SpecialOptionIndex#1{\@bsphack
75 \index{#1\actualchar{\protect\ttfamily#1}
76 (option)\encapchar usage}%
77 \index{options:\levelchar#1\actualchar{\protect\ttfamily#1}\encapchar
78 usage}\@esphack}
79 \def\DescribeOptions#1{\leavevmode\@bsphack
80 \marginpar{\raggedleft\strut\emph{options}%
81 \@for\@tempa:=#1\do{%
82 \\\strut\MacroFont\@tempa\SpecialOptionIndex\@tempa
83 }}\@esphack\ignorespaces}
84 \makeatother
85 \usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,
86 pagecolor=black,urlcolor=black,hyperindex=false]{hyperref}
87 \PageIndex
88 \CodelineIndex
89 \RecordChanges
90 \EnableCrossrefs
91 \begin{document}
92 \DocInput{philosophersimprint.dtx}
93 \end{document}
94 % \end{macrocode}
95 %</gobble>
96 % \fi
97 % \MakeShortVerb{|}
98 % \GetFileInfo{philosophersimprint.dtx}
99 % \newcommand{\progname}[1]{\textsf{#1}}
100 % \title{Typesetting Articles For Online Journal \emph{Philosophers'
101 % Imprint}\thanks{\copyright 2007--2020, Boris Veytsman}}
102 % \author{Boris Veytsman\thanks{%
103 % \href{mailto:[email protected]}{\texttt{[email protected]}},
104 % \href{mailto:[email protected]}{\texttt{[email protected]}}}}
105 % \date{\filedate, \fileversion}
106 % \maketitle
107 % \begin{abstract}
108 % This package provides a class for typesetting articles for the
109 % online journal \emph{Philosophers' Imprint},
110 % \url{http://www.philosophersimprint.org} using freely available
111 % fonts.
112 % \end{abstract}
113 % \changes{v0.5}{2007/04/04}{First fully functional version}
114 % \changes{v0.7}{2007/04/19}{Rewrote documentation}
115 % \changes{v1.0}{2007/05/14}{Public release}
116 % \changes{v1.0}{2007/05/16}{Renamed files. Added reference to the
117 % package in sample.tex}
118 % \changes{v1.1}{2011/11/25}{Added microtype}
119 % \changes{v1.4}{2016/07/20}{Added flushend option}
120 % \tableofcontents
121 %
122 % \clearpage
123 %
124 %\section{Introduction}
125 %\label{sec:intro}
126 %
127 % As said in its mission statement at
128 % \url{http://www.philosophersimprint.org}, ``\emph{Philosophers'
129 % Imprint} is a refereed series of original papers in philosophy,
130 % edited by philosophy faculty at the University of Michigan, with the
131 % advice of an international Board of Editors, and published on the
132 % World Wide Web by the University of Michigan Digital Library. The
133 % mission of the Imprint is to promote a future in which funds
134 % currently spent on journal subscriptions are redirected to the
135 % dissemination of scholarship for free, via the Internet.'' The
136 % journal used to accept manuscripts in Rich Text Format only.
137 % However, for many authors, especially from the field of logic,
138 % \TeX{} seems to be a better choice. I was commissioned to write a
139 % \LaTeX{} class for this journal.
140 %
141 % The aim of the class is to help authors to typeset their own
142 % articles in the ``Web-ready'' format. We do not assume the authors
143 % have any commercial fonts installed on their machines. The class
144 % uses only freely available and freely distributed fonts. This
145 % presents some difficulties since the journal is usually typeset in
146 % Adobe Palatino. We use the Palladio and Pazo fonts and (for the
147 % title) Trajan font.
148 %
149 %
150 %\section{User Interface}
151 %\label{sec:interface}
152 %
153 %
154 %\subsection{Invocation and Options}
155 %\label{sec:options}
156 %
157 % To use the class put in the preamble of your document
158 % \begin{flushleft}
159 % |\documentclass[|\meta{options}|]{philosophersimprint}|
160 % \end{flushleft}
161 %
162 % The class is intended to be used with \progname{pdflatex}. If you compile
163 % DVI output instead (for example, to use with \progname{PSTricks}), the class
164 % generates a warning.
165 %
166 % The class \progname{philosophersimprint} internally loads \progname{article},
167 % and therefore all
168 % class options for \progname{article} are technically valid. However, most of
169 % them are not especially meaningful for \progname{philosophersimprint}.
170 % There are several options specific for this class. They are
171 % described below
172 %
173 % \DescribeOptions{titleimage,notitleimage}
174 % The editorial board of \emph{Philosophers' Imprint} prefers to
175 % typeset the titlepage itself and provide it as a PDF document to the
176 % authors. If you have such titlepage, use the |titleimage| option
177 % (default). Otherwise use the |notitleimage| option, and the class
178 % will make a (half-hearted) attempt to create a simulated title page
179 % for you. If |titleimage| option is chosen, but \LaTeX{} cannot find
180 % the titlepage image, the class generates a warning and switches to
181 % the |notitleimage| behavior.
182 %
183 % Note that even if you do have a titlepage image, you still need to
184 % invoke top matter macros |\title|, |\authors| etc. to supply
185 % information for running heads and PDF metadata (see
186 % Section~\ref{sec:topmatter}).
187 %
188 %
189 % \DescribeOptions{trajantitle, notrajantitle}
190 % If the option |trajantitle| is chosen (default), a beautiful Trajan
191 % font~\cite{Wilson05:Trajan} will be used to typeset the title of
192 % the paper. Of course, this option has an effect only if
193 % |notitleimage| option is selected. Note that this font has no
194 % Arabic numbers, so if your title needs numbers, use Roman numerals
195 % instead. If you do not have |trajan.sty| on your system, the class
196 % will revert to Palatino in the title.
197 %
198 % \DescribeOptions{nosc,noosf}
199 % By default the class uses \progname{mathpazo} package with the
200 % options |sc| and |osf|. These options provide improved fonts with
201 % true small caps and old style figures
202 % (see~\cite{Schmidt04:PSNFSS9.2}). If you have the recent PSNFSS
203 % fonts that include free FPL collection~\cite{Stubner05:FPL}, you
204 % should not change this behavior. Otherwise you probably would be
205 % better off by upgrading. Only if you definitely cannot use these
206 % fonts, select the |nosc| and |noosf| options.
207 %
208 % \DescribeOptions{slantedGreek,noBBpl}
209 % The options |slantedGreek| and |noBBpl|, if present, are passed to
210 % \progname{mathpazo} package. See~\cite{Schmidt04:PSNFSS9.2} for the
211 % discussion of these options.
212 %
213 % \DescribeOptions{flushend,noflushend}%
214 % The options |flushend| and |noflushend| (default) determine the look
215 % of the last page of the article. If the option |flushend| is
216 % chosen, the last page has balanced columns, while the opposite
217 % option makes them unbalanced. Usually you should not balance the
218 % columns if you have footnotes on the last page.
219 %
220 %\subsection{Topmatter}
221 %\label{sec:topmatter}
222 %
223 % Topmatter is the part of the article with the informations about the
224 % authors, their affiliations, the publication data, etc.
225 %
226 % The standard \LaTeX{} topmatter macros are insufficient for most
227 % journals, and many journal styles like |amsart| or |elsart| use
228 % their own more or less sophisticated conventions. Since the
229 % editorial board of \emph{Philosophers' Imprint} prefers to provide
230 % its own title pages, we chose to implement a rather simple set of
231 % topmatter macros, sufficient to generate a sample title page, while
232 % expecting the official one.
233 %
234 % Note that even if you do have the ``official'' title page, you still
235 % need to use these macros because they are used for running heads and
236 % for PDF metadata.
237 %
238 % \DescribeMacro{\titleimage}
239 % The macro |\titleimage| has one argument: the name of the file with
240 % the official title page image:
241 % \begin{flushleft}
242 % |\titleimage{|\meta{FileName}|}|
243 % \end{flushleft}
244 % for example, |\titleimage{1stpage.pdf}|. If the file is absent, the
245 % class issues a warning and tries to typeset a simulated page.
246 %
247 % \DescribeMacro{\title}
248 % The |\title| command has two arguments: one mandatory argument and
249 % one optional:
250 % \begin{flushleft}
251 % |\title[|\meta{ShortTitle}|]{|\meta{FullTitle}|}|
252 % \end{flushleft}
253 % The mandatory argument is the full title of the article. The
254 % optional argument, if present, sets the shorter version of the title
255 % for running heads. If the optional argument is absent, the full
256 % title is used instead.
257 %
258 % \DescribeMacro{\author}
259 % The |\author| command also has two arguments with the similar
260 % meaning:
261 % \begin{flushleft}
262 % |\author[|\meta{ShortListOfAuthors}|]{|\meta{FullListOfAuthors}|}|
263 % \end{flushleft}
264 % The optional argument is used for the running heads. If it is
265 % absent, the full list of authors is used there.
266 %
267 % Separate multiple authors with commas. Do \emph{not} use \LaTeX{}
268 % command |\and|.
269 %
270 % \DescribeMacro{\affiliation}
271 % The |\affiliation| command sets the affiliation of the authors:
272 % \begin{flushleft}
273 % |\affiliation{|\meta{Affiliation}|}|
274 % \end{flushleft}
275 % Use |\\| to separate different affiliations.
276 %
277 % \DescribeMacro{\date}
278 % The command |\date| is similar to the standard \LaTeX{} command.
279 % However, remember that the date format is different: ``Month,
280 % year'', e.g.
281 % \begin{flushleft}
282 % |\date{April, 2007}|
283 % \end{flushleft}
284 % It should be also noted that the date here is the date of
285 % publication.
286 %
287 % \DescribeMacro{\journalvolume}\DescribeMacro{\journalnumber}
288 % The macros |\journalvolume| and |\journalnumber| set the volume and
289 % number of the journal where the article is published:
290 % \begin{flushleft}
291 % |\journalvolume{7}|\\
292 % |\journalnumber{4}|
293 % \end{flushleft}
294 % You will receive these data from the editorial office once your
295 % article is accepted.
296 %
297 % \DescribeMacro{\copyrightinfo} The macro |\copyrightinfo| is
298 % used to store the copyright date and copyright holder of the
299 % article, like
300 % \begin{flushleft}
301 % |\copyrightinfo{1724, Immanuel Kant}|
302 % \end{flushleft}
303 % Note that the package does \emph{not} try to deduce the copyright
304 % information from the date and author list. You need to set it
305 % explicitly.
306 %
307 % \DescribeMacro{\copyrightlicense}
308 % By default all papers in the journal are licensed under
309 % under a Creative Commons
310 % Attribution-NonCommercial-NoDerivatives 3.0 License. You can
311 % override this setting by using \cmd{\copyrightlicense}\marg{Other
312 % license}.
313 %
314 %
315 % \DescribeMacro{\subject}
316 % This macro, if present, sets the ``Subject'' field in the PDF
317 % metadata. For example:
318 % \begin{flushleft}
319 % |\subject{Ethics}|
320 % \end{flushleft}
321 %
322 % \DescribeMacro{\keywords}
323 % The macro |\keywords| is similar to |\subject|, but accepts a comma
324 % separated list of keywords. If present, they will be used in the
325 % ``Keywords'' field of the PDF document.
326 %
327 %
328 %\subsection{Required and Recommended Software}
329 %\label{sec:packages}
330 %
331 % To typeset articles for \emph{Philosophers' Imprint,} you need the
332 % proper fonts. PSNFSS version~9.2 or
333 % later~\cite{Schmidt04:PSNFSS9.2} with URW and FPL fonts are
334 % recommended. It is easy to check whether you have these fonts: if
335 % you do not, then besides warnings in the log file, you will see
336 % headers and footers in lower case instead of correct small caps.
337 % Also, the numbers will be typeset with lining figures instead of old
338 % style numbers.
339 %
340 % The class also uses packages \progname{color} and
341 % \progname{graphicx} from the graphics
342 % bundle~\cite{Carlisle05:Graphics} to typeset the title page.
343 %
344 % Package \progname{ifpdf}~\cite{Oberdiek06:Ifpdf} is used to check
345 % whether PDF output is selected.
346 %
347 % Package \progname{fancyhdr}~\cite{Oostrum04:Fancyhdr} is used to set
348 % up running headers and footers.
349 %
350 % You need the packages above for the document written in
351 % \progname{philosophersimprint} class to compile. The packages below are not
352 % strictly necessary, but highly recommended.
353 %
354 % Package \progname{hyperref}~\cite{Rahtz06:Hyperref} is used to set
355 % up PDF metadata and make the links ``clickable''. We did not
356 % include it in the list of required packages, because it prefers to
357 % be loaded last, and we wanted to give the user a chance to load her
358 % own packages. We recommend the following options:
359 % \begin{verbatim}
360 % \usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,
361 % pagecolor=black,urlcolor=black]{hyperref}
362 % \end{verbatim}
363 % See |sample.tex| for the example of the usage of this
364 % package.
365 %
366 %
367 % The authors of \emph{Philosophers' Imprint} use both bibliography at
368 % the end of the article and bibliographic references in footnotes.
369 % The packages \progname{natbib}~\cite{Daly07:Natbib} and
370 % \progname{opcit}~\cite{Garcia06:Opcit} are recommended for
371 % formatting the bibliography with \BibTeX. However, these packages
372 % are \emph{not} loaded by the class; it is the responsibility of the
373 % author to load and use them.
374 %
375 %
376 %\subsection{Configuration File}
377 %\label{sec:conffile}
378 %
379 % If the file \path{philosophersimprint.cfg} exists, it will be read by the
380 % class. It is a good place to put, for example, the default
381 % options.
382 %
383 %
384 %\subsection{Some Fine Points}
385 %\label{sec:fine_points}
386 %
387 % The journal prefers the baselines of both columns to be aligned.
388 % This is a famous problem of ``typesetting to a grid''. Generally
389 % speaking, this is not trivial in a \TeX{} world (see a discussion
390 % of this problem in~\cite{Bazargan07:VertStretch}). Normally, \TeX{}
391 % stretches distances between the baselines to achieve homogeneous
392 % grayness of the page. It takes some effort to switch this behavior
393 % off.
394 %
395 % This class deletes most of \TeX{} vertical stretchability. If there
396 % is much mathematics in the copy it might lead to some really ugly
397 % results. However, when the texts are not too heavy on math, the
398 % class can do a decent job. Below we list some cases where it
399 % cannot, and some manual intervention is warranted
400 % (see~\cite{Bazargan07:VertStretch} for a description of an automatic
401 % solution. Unfortunately, at the moment of writing this version,
402 % this solution was not available as a free software).
403 % \begin{enumerate}
404 % \item We add 3/4 baseline leading before section title and 1/4
405 % baseline leading after. This means that if a section starts a
406 % column, the baselines will be different by 1/4. An insertion of
407 % |\vspace*{-0.25\baselineskip}| sometimes leads to acceptable
408 % results.
409 % \item We add 1/2 baseline leading before and after structures like
410 % quotations, theorems, corollaries etc. If such structure is
411 % split between columns, this breaks alignment. Again, a manual
412 % intervention might help.
413 % \item We do not try to control the vertical space of structures,
414 % added, for example, by |\includegraphics| commands.
415 % \item Sometimes a displayed equation can lead to breaking
416 % alignment.
417 % \end{enumerate}
418 %
419 % In most cases the amount of manual intervention necessary to
420 % achieve alignment is fairly small.
421 %
422 % In some cases one can achieve better results by tweaking \TeX\
423 % parameters. For example, the settings
424 % \begin{verbatim}
425 % \clubpenalty=1000\widowpenalty=1000\displaywidowpenalty=1000
426 % \interfootnotelinepenalty=-1000
427 % \interlinepenalty=-100
428 % \end{verbatim}
429 % may lead to fuller pages, but may produce some unwaned orphans and
430 % clubs. Setting them to
431 % \begin{verbatim}
432 % \clubpenalty=10000\widowpenalty=10000\displaywidowpenalty=10000
433 % \interfootnotelinepenalty=0
434 % \interlinepenalty=0
435 % \end{verbatim}
436 % will decrease the number of orphans and clubs, but may lead to
437 % unwanted white spaces on the pages. Sometimes judicious changes of
438 % the parameters in strategic places may help.
439 %
440 %
441 % \subsection{Acknowledgements}
442 %
443 % The author is grateful to John Horty, David Velleman and Victor
444 % Caston for their patience in describing the journal style.
445 %
446 %
447 % \StopEventually{%
448 % \clearpage
449 % \bibliography{philosophersimprint}
450 % \bibliographystyle{unsrt}}
451 %
452 % \clearpage
453 %
454 %
455 %\section{Implementation}
456 %\label{sec:impl}
457 %
458 % \begin{macrocode}
459 %<*class>
460 % \end{macrocode}
461 %
462 %
463 %\subsection{Options}
464 %\label{sec:opts}
465 %
466 % \begin{macro}{\ifPHIM@titleimage}
467 % Check whether we need the title image
468 % \begin{macrocode}
469 \newif\ifPHIM@titleimage\PHIM@titleimagetrue
470 \DeclareOption{titleimage}{\PHIM@titleimagetrue}
471 \DeclareOption{notitleimage}{\PHIM@titleimagefalse}
472 % \end{macrocode}
473 % \end{macro}
474 %
475 % \begin{macro}{\ifPHIM@trajantitle}
476 % \changes{v.08}{2007/04/25}{Added Trajan font for title}
477 % Check whether we need Trajan font for title
478 % \begin{macrocode}
479 \newif\ifPHIM@trajantitle\PHIM@trajantitletrue
480 \DeclareOption{trajantitle}{\PHIM@trajantitletrue}
481 \DeclareOption{notrajantitle}{\PHIM@trajantitlefalse}
482 % \end{macrocode}
483 %
484 % \end{macro}
485 %
486 % \begin{macro}{\ifPHIM@sc}
487 % Do we need |sc| option for \progname{mathpazo}?
488 % \begin{macrocode}
489 \newif\ifPHIM@sc\PHIM@sctrue
490 \DeclareOption{nosc}{\PHIM@scfalse}
491 % \end{macrocode}
492 % \end{macro}
493 % \begin{macro}{\ifPHIM@osf}
494 % Same with |osf| option:
495 % \begin{macrocode}
496 \newif\ifPHIM@osf\PHIM@osftrue
497 \DeclareOption{noosf}{\PHIM@osffalse}
498 % \end{macrocode}
499 % \end{macro}
500 %
501 % Options specific for \progname{mathpazo}:
502 % \begin{macrocode}
503 \DeclareOption{slantedGreek}{%
504 \PassOptionsToPackage{\CurrentOption}{mathpazo}}
505 \DeclareOption{noBBpl}{%
506 \PassOptionsToPackage{\CurrentOption}{mathpazo}}
507 % \end{macrocode}
508 %
509 % \begin{macro}{\ifPHIM@flushend}
510 % \changes{v1.4}{2016/07/20}{Added macro}
511 % Whether to flush the last column
512 % \begin{macrocode}
513 \newif\ifPHIM@flushend\PHIM@flushendfalse
514 \DeclareOption{flushend}{\PHIM@flushendtrue}
515 \DeclareOption{noflushend}{\PHIM@flushendfalse}
516 % \end{macrocode}
517 %
518 % \end{macro}
519 %
520 % Everything else is probably an option for \progname{article}
521 % \begin{macrocode}
522 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
523 % \end{macrocode}
524 %
525 % Reading configuration file:
526 % \begin{macrocode}
527 \InputIfFileExists{philosophersimprint.cfg}{%
528 \ClassInfo{philosophersimprint}{%
529 Loading configuration file philosophersimprint.cfg}}{%
530 \ClassInfo{philosophersimprint}{%
531 Configuration file philosophersimprint.cfg is not found}}
532 % \end{macrocode}
533 %
534 % Processing options
535 % \begin{macrocode}
536 \ProcessOptions\relax
537 % \end{macrocode}
538 %
539 %
540 %
541 %\subsection{Loading Classes and Packages}
542 %\label{sec:loading}
543 %
544 % We are based on \progname{article}:
545 % \begin{macrocode}
546 \LoadClass[landscape,letterpaper,twocolumn]{article}
547 % \end{macrocode}
548 %
549 % A bunch of packages:
550 % \begin{macrocode}
551 \RequirePackage{ifpdf, color, graphicx, fancyhdr}
552 % \end{macrocode}
553 %
554 % Font related packages.
555 % \begin{macrocode}
556 \ifPHIM@sc\PassOptionsToPackage{sc}{mathpazo}\fi
557 \ifPHIM@osf\PassOptionsToPackage{osf}{mathpazo}\fi
558 \RequirePackage{mathpazo}
559 % \end{macrocode}
560 %
561 % Palatino fonts do not have typewriter and sans serif fonts.
562 % Computer Modern seems to clash with Palatino, so we use Courier and
563 % Helvetica when necessary:
564 % \begin{macrocode}
565 \RequirePackage{courier}
566 \RequirePackage[scaled]{helvet}
567 % \end{macrocode}
568 %
569 % It is recommended in \cite{Schmidt04:PSNFSS9.2} to use these
570 % packages with PSNFSS:
571 % \begin{macrocode}
572 \RequirePackage[T1]{fontenc}
573 \RequirePackage{textcomp}
574 % \end{macrocode}
575 %
576 % Loading |microtype|:
577 % \begin{macrocode}
578 \IfFileExists{microtype.sty}{\RequirePackage{microtype}}{%
579 \ClassWarningNoLine{philosopherimprint}{%
580 *********************************\MessageBreak
581 * Microtype package not found. * \MessageBreak
582 * This package improves the *\MessageBreak
583 * typesetting quality. You may *\MessageBreak
584 * wish to upgrade your system. *\MessageBreak
585 ********************************}}
586 % \end{macrocode}
587 %
588 %
589 % Loading |trajan|
590 % \begin{macrocode}
591 \ifPHIM@trajantitle
592 \IfFileExists{trajan.sty}{\RequirePackage{trajan}}{%
593 \ClassWarningNoLine{philosophersimprint}{%
594 ********************************\MessageBreak
595 * Trajan Fonts not found. Will \MessageBreak
596 * revert to Palatino in title.\MessageBreak
597 ********************************}%
598 \PHIM@trajantitlefalse}
599 \fi
600 % \end{macrocode}
601 %
602 % Loading |flushend|
603 % \begin{macrocode}
604 \ifPHIM@flushend
605 \IfFileExists{flushend.sty}{\RequirePackage{flushend}}{%
606 \ClassWarningNoLine{philosophersimprint}{%
607 ********************************\MessageBreak
608 * Flushend package not found. \MessageBreak
609 * Please install sttools bundle.\MessageBreak
610 ********************************}%
611 \PHIM@flushendfalse}
612 \fi
613 % \end{macrocode}
614 %
615 % \begin{macro}{\ifPHIM@hyperref}
616 % We check whether the user loaded \progname{hyperref}. This is
617 % delayed until all packages are loaded.
618 % \begin{macrocode}
619 \newif\ifPHIM@hyperref
620 \AtBeginDocument{%
621 \@ifpackageloaded{hyperref}{%
622 \PHIM@hyperreftrue}{%
623 \ClassWarningNoLine{philosophersimprint}{%
624 ****************************\MessageBreak
625 * You did not load hyperref.\MessageBreak
626 * PDF-specific features will\MessageBreak
627 * not work.\MessageBreak
628 *****************************}%
629 \PHIM@hyperreffalse}}
630 % \end{macrocode}
631 %
632 %
633 % \end{macro}
634 %
635 %
636 %\subsection{Setting Up Dimensions}
637 %\label{sec:dims}
638 %
639 %
640 %\subsubsection{Basic Length}
641 %\label{sec:basic}
642 %
643 %
644 % \begin{macro}{\PHIM@baselength}
645 % \changes{v0.7}{2007/04/17}{Introduced the macro}
646 % The design of \emph{Philosopher's Imprint} is based on a uniform
647 % length scale
648 % \begin{macrocode}
649 \newlength{\PHIM@baselength}
650 \setlength{\PHIM@baselength}{13.5pt}
651 % \end{macrocode}
652 % \end{macro}
653 %
654 %
655 %
656 %\subsubsection{Fonts}
657 %\label{sec:fonts}
658 %
659 % \changes{v0.7}{2007/04/18}{Introduced fonts dimensions}
660 %
661 % \begin{macro}{\normalsize}
662 % \changes{v0.8}{2007/04/27}{Changed dimensions}
663 % \begin{macro}{\small}
664 % \changes{v0.8}{2007/04/27}{Changed dimensions}
665 % \begin{macro}{\footnotesize}
666 % \changes{v0.8}{2007/04/27}{Changed dimensions}
667 % \begin{macro}{\scriptsize}
668 % \changes{v0.8}{2007/04/27}{Changed dimensions}
669 % \begin{macro}{\tiny}
670 % \changes{v0.8}{2007/04/27}{Changed dimensions}
671 % \begin{macro}{\large}
672 % \changes{v0.8}{2007/04/27}{Changed dimensions}
673 % \begin{macro}{\Large}
674 % \changes{v0.8}{2007/04/27}{Changed dimensions}
675 % \begin{macro}{\LARGE}
676 % \changes{v0.8}{2007/04/27}{Changed dimensions}
677 % \begin{macro}{\huge}
678 % \changes{v0.8}{2007/04/27}{Changed dimensions}
679 % \begin{macro}{\Huge}
680 % \changes{v0.8}{2007/04/27}{Changed dimensions}
681 % \begin{macro}{\HUGE}
682 % \changes{v0.8}{2007/04/27}{Changed dimensions}
683 % This is basically from~\cite{classes}, but based on the journal
684 % requirements.
685 % \begin{macrocode}
686 \renewcommand\normalsize{\@setfontsize\normalsize{9.5pt}\PHIM@baselength}
687 \renewcommand\small{\@setfontsize\small{9pt}{13.5pt}}
688 \renewcommand\footnotesize{%
689 \@setfontsize\footnotesize{8.5pt}{9.5pt}}
690 \renewcommand\scriptsize{\@setfontsize\scriptsize{8pt}{9pt}}
691 \renewcommand\tiny{\@setfontsize\tiny{7.5pt}{8.5pt}}
692 \renewcommand\large{\@setfontsize\large{11pt}{16pt}}
693 \renewcommand\Large{\@setfontsize\Large{13pt}{19pt}}
694 \renewcommand\LARGE{\@setfontsize\LARGE{16pt}{23pt}}
695 \renewcommand\huge{\@setfontsize\huge{19pt}{28pt}}
696 \renewcommand\Huge{\@setfontsize\Huge{23pt}{33pt}}
697 \newcommand\HUGE{\@setfontsize\Huge{30pt}{45pt}}
698 % \end{macrocode}
699 % \end{macro}
700 % \end{macro}
701 % \end{macro}
702 % \end{macro}
703 % \end{macro}
704 % \end{macro}
705 % \end{macro}
706 % \end{macro}
707 % \end{macro}
708 % \end{macro}
709 % \end{macro}
710 %
711 %\subsubsection{Paragraphing}
712 %\label{sec:paragraph}
713 %
714 % \begin{macro}{\baselinestretch}
715 % \begin{macro}{\parindent}
716 % \changes{v0.7}{2007/04/18}{Defined to the journal requirements}
717 % \begin{macro}{\parskip}
718 % Again we use~\cite{classes} a lot.
719 % \begin{macrocode}
720 \renewcommand\baselinestretch{}
721 \setlength\parindent{\PHIM@baselength}
722 \setlength\parskip{0pt}
723 % \end{macrocode}
724 % \end{macro}
725 % \end{macro}
726 % \end{macro}
727 %
728 % \begin{macro}{\smallskipamount}
729 % \begin{macro}{\medskipamount}
730 % \begin{macro}{\bigskipamount}
731 % \changes{v0.8}{2007/04/24}{Defined the lengths}
732 % These are for additional leading. We define them to be multiples of
733 % the baseline
734 % \begin{macrocode}
735 \setlength\smallskipamount{0.25\PHIM@baselength}
736 \setlength\medskipamount{0.5\PHIM@baselength}
737 \setlength\bigskipamount{\PHIM@baselength}
738 % \end{macrocode}
739 %
740 % \end{macro}
741 % \end{macro}
742 % \end{macro}
743 %
744 %\subsubsection{Page Dimensions and Type Area}
745 %\label{sec:page}
746 %
747 %
748 % This was inspired by \progname{memoir}~\cite{Wilson04:Memoir}.
749 % \begin{macrocode}
750 \ifpdf\relax
751 \pdfpageheight=\paperheight
752 \pdfpagewidth=\paperwidth
753 \ifdim\pdfvorigin=0pt\pdfvorigin=0pt\fi
754 \ifdim\pdfhorigin=0pt\pdfhorigin=0pt\fi
755 \else
756 \ClassWarningNoLine{philosophersimprint}{%
757 ****************************\MessageBreak
758 * The class is intended for \MessageBreak
759 * pdflatex. You seem to use\MessageBreak
760 * it with latex instead.\MessageBreak
761 ****************************}
762 \fi
763 % \end{macrocode}
764 %
765 % This code is from~\cite{classes}, with the removing of vertical
766 % stretch based on~\cite{Bazargan07:VertStretch}
767 % \changes{v0.7}{2007/04/19}{Changed vertical stretching}
768 % \begin{macrocode}
769 \lineskiplimit = -3pt\relax
770 \lineskip = \PHIM@baselength\relax
771 \setlength\headsep {\PHIM@baselength}
772 \setlength\footskip {3\PHIM@baselength}
773 \setlength\topskip\PHIM@baselength
774 \setlength\textheight{459pt}
775 \setlength\topmargin{61pt}
776 \addtolength\topmargin{-1in}
777 \addtolength\topmargin{-\topskip}
778 \addtolength\topmargin{-\headsep}
779 \@settopoint\topmargin
780 \abovedisplayskip \PHIM@baselength\relax
781 \abovedisplayshortskip \PHIM@baselength\relax
782 \belowdisplayshortskip \PHIM@baselength\relax
783 \belowdisplayskip \abovedisplayskip\relax
784 % \end{macrocode}
785 %
786 %
787 % \begin{macro}{\PHIM@colwidth}
788 % We need to calculate the column width to center the headers:
789 % \begin{macrocode}
790 \newlength{\PHIM@colwidth}
791 \setlength{\PHIM@colwidth}{297pt}
792 \setlength\columnsep{54pt}
793 \setlength\textwidth{\PHIM@colwidth}
794 \multiply\textwidth by 2\relax
795 \addtolength{\textwidth}{\columnsep}
796 % \end{macrocode}
797 % \changes{v0.6}{2007/04/11}{Introduced the macro}
798 % \changes{v0.7}{2007/04/17}{Made the base of calculations}
799 % \end{macro}
800 %
801 %
802 %\subsubsection{Margins}
803 %\label{sec:margins}
804 %
805 % \begin{macro}{\marginparwidth}
806 % \changes{v0.8}{2007/04/25}{Added definition}
807 % \begin{macro}{\marginparsep}
808 % \changes{v0.8}{2007/04/25}{Added definition}
809 % \begin{macro}{\marginparpush}
810 % \changes{v0.8}{2007/04/25}{Added macro}
811 % The vertical and horizontal distances for margin paragraphs:
812 % \begin{macrocode}
813 \setlength{\marginparwidth}{3\PHIM@baselength}
814 \setlength{\marginparsep}{0.5\PHIM@baselength}
815 \setlength{\marginparpush}{0.5\PHIM@baselength}
816 % \end{macrocode}
817 % \end{macro}
818 % \end{macro}
819 % \end{macro}
820 %
821 % \begin{macro}{\evensidemargin}
822 % \changes{v0.8}{2007/04/25}{Added definition}
823 % \begin{macro}{\oddsidemargin}
824 % \changes{v0.8}{2007/04/25}{Added definition}
825 % The side margins are 6~pica each.
826 % \begin{macrocode}
827 \setlength{\evensidemargin}{6pc}
828 \addtolength{\evensidemargin}{-1in}
829 \setlength{\oddsidemargin}{\evensidemargin}
830 % \end{macrocode}
831 % \end{macro}
832 % \end{macro}
833 %
834 %
835 %
836 %\subsubsection{Floats}
837 %\label{sec:floats}
838 %
839 % \changes{v0.7}{2007/04/19}{Changed values for float parameters}
840 % \begin{macro}{\floatsep}
841 % \begin{macro}{\textfloatsep}
842 % \begin{macro}{\intextsep}
843 % \begin{macro}{\textfloatsep}
844 % \begin{macro}{\dblfloatsep}
845 % \begin{macro}{\dbltextfloatsep}
846 % \begin{macro}{\abovecaptionskip}
847 % \begin{macro}{\belowcaptionskip}
848 % Some parameters for floats\dots
849 % \begin{macrocode}
850 \setlength\floatsep\PHIM@baselength
851 \setlength\textfloatsep\PHIM@baselength
852 \setlength\intextsep\PHIM@baselength
853 \setlength\dblfloatsep\PHIM@baselength
854 \setlength\dbltextfloatsep\PHIM@baselength
855 \setlength\abovecaptionskip\PHIM@baselength
856 \setlength\belowcaptionskip{\z@}\relax
857 % \end{macrocode}
858 % \end{macro}
859 % \end{macro}
860 % \end{macro}
861 % \end{macro}
862 % \end{macro}
863 % \end{macro}
864 % \end{macro}
865 % \end{macro}
866 %
867 %
868 %
869 %
870 % \subsubsection{Lists}
871 %\label{sec:lists}
872 %
873 % \changes{v0.7}{2007/04/19}{Changed values for lists}
874 % \begin{macro}{\leftmargin}
875 % \begin{macro}{\leftmargini}
876 % \begin{macro}{\leftmarginii}
877 % \begin{macro}{\leftmarginiii}
878 % \begin{macro}{\leftmarginiv}
879 % \begin{macro}{\leftmarginv}
880 % \begin{macro}{\leftmarginvi}
881 % \begin{macro}{\listparindent}
882 % \begin{macro}{\itemindent}
883 % These lengths are for all lists.
884 % \begin{macrocode}
885 \setlength\leftmargini\PHIM@baselength
886 \leftmargin\leftmargini
887 \setlength\leftmarginii\PHIM@baselength
888 \setlength\leftmarginiii\PHIM@baselength
889 \setlength\leftmarginiv\PHIM@baselength
890 \setlength\leftmarginv\PHIM@baselength
891 \setlength\leftmarginvi\PHIM@baselength
892 \setlength\listparindent\PHIM@baselength
893 \setlength\itemindent\PHIM@baselength
894 % \end{macrocode}
895 % \end{macro}
896 % \end{macro}
897 % \end{macro}
898 % \end{macro}
899 % \end{macro}
900 % \end{macro}
901 % \end{macro}
902 % \end{macro}
903 % \end{macro}
904 %
905 % \begin{macro}{\labelsep}
906 % \begin{macro}{\labelwidth}
907 % Labels for all lists
908 % \begin{macrocode}
909 \setlength\labelsep{0.5em}
910 \setlength\labelwidth{\leftmargini}
911 % \end{macrocode}
912 % \end{macro}
913 % \end{macro}
914 %
915 % \begin{macro}{\topsep}
916 % \begin{macro}{\partopsep}
917 % \begin{macro}{\itemsep}
918 % \begin{macro}{\parsep}
919 % These are for vertical spacing for lists
920 % \begin{macrocode}
921 \setlength\topsep{0.5\PHIM@baselength}
922 \setlength\partopsep\z@
923 \setlength\parsep\parskip
924 \setlength\itemsep\z@
925 % \end{macrocode}
926 % \end{macro}
927 % \end{macro}
928 % \end{macro}
929 % \end{macro}
930 %
931 %
932 % \begin{macro}{\@listi}
933 % \begin{macro}{\@listI}
934 % \begin{macro}{\@listii}
935 % \begin{macro}{\@listiii}
936 % \begin{macro}{\@listiv}
937 % \begin{macro}{\@listv}
938 % \begin{macro}{\@listvi}
939 % These are for compatibility with |article.cls|
940 % \begin{macrocode}
941 \def\@listi{}%
942 \def\@listI{}%
943 \def\@listii{}%
944 \def\@listiii{}%
945 \def\@listiv{}%
946 \def\@listv{}%
947 \def\@listvi{}%
948 % \end{macrocode}
949 % \end{macro}
950 % \end{macro}
951 % \end{macro}
952 % \end{macro}
953 % \end{macro}
954 % \end{macro}
955 % \end{macro}
956 %
957 % \begin{macro}{quote}
958 % \begin{macro}{quotation}
959 % \begin{macro}{verse}
960 % Does anybody use verses for philosophy papers?
961 % \begin{macrocode}
962 \renewenvironment{verse}{\let\\\@centercr
963 \list{}{\rightmargin\leftmargin}\item\relax}{\endlist}
964 \renewenvironment{quote}{%
965 \list{}{\rightmargin\leftmargin}\item\relax}{\endlist}
966 \renewenvironment{quotation}{%
967 \list{}{\rightmargin\leftmargin
968 \itemindent\parindent}\item\relax}{\endlist}
969 % \end{macrocode}
970 % \end{macro}
971 % \end{macro}
972 % \end{macro}
973 %
974 %
975 %
976 %
977 %\subsubsection{Odds and Ends}
978 %\label{sec:odds}
979 %
980 % Some other lengths
981 % \begin{macro}{\bibndent}
982 % \changes{v0.7}{2007/04/19}{Changed value}
983 % Bibliography indentation
984 % \begin{macrocode}
985 \setlength\bibindent\PHIM@baselength
986 % \end{macrocode}
987 % \end{macro}
988 %
989 % \begin{macro}{\jot}
990 % \changes{v0.7}{2007/04/19}{Changed value}
991 % This length is added between lines of |eqnarray|. People should
992 % not use this environment. Still, let us define it.
993 % \begin{macrocode}
994 \setlength\jot\z@
995 % \end{macrocode}
996 % \end{macro}
997 %
998 %
999 % \begin{macro}{\arraycolsep}
1000 % \begin{macro}{\tabcolsep}
1001 % \begin{macro}{\fboxsep}
1002 % These lengths should be based on the base length:
1003 % \begin{macrocode}
1004 \setlength{\arraycolsep}{0.5\PHIM@baselength}
1005 \setlength{\tabcolsep}{0.5\PHIM@baselength}
1006 \setlength{\fboxsep}{0.25\PHIM@baselength}
1007 % \end{macrocode}
1008 % \end{macro}
1009 % \end{macro}
1010 % \end{macro}
1011 %
1012 %
1013 %
1014 %
1015 % \subsection{Top Matter Markup}
1016 %\label{sec:topmatter-markup}
1017 %
1018 % We do not need |\thanks| and |\and|
1019 % \begin{macrocode}
1020 \def\and{\unskip, %
1021 \ClassError{philosophersimprint}{%
1022 Command \string\and\space is not defined for this class}{%
1023 The authors for Philosophers' Imprint should be separated by
1024 commas.\MessageBreak
1025 I will convert your \string\and\space to comma and continue}}
1026 \def\thanks#1{%
1027 \ClassError{philosophersimprint}{%
1028 Command \string\thanks\space is not defined for this class}{%
1029 Use \string\affiliation\space instead of \string\thanks.\MessageBreak
1030 I will delete this command and its argument}}
1031 % \end{macrocode}
1032 %
1033 % \begin{macro}{\title}
1034 % Unlike standard \LaTeX{} macro |\title|, ours has two arguments:
1035 % \begin{macrocode}
1036 \def\title{\@ifnextchar[{\title@i}{\title@ii}}
1037 \def\title@i[#1]#2{\gdef\@shorttitle{#1}\gdef\@title{#2}}
1038 \def\title@ii#1{\title@i[#1]{#1}}
1039 \title{}
1040 % \end{macrocode}
1041 % \end{macro}
1042 % \begin{macro}{\author}
1043 % Same with |\author|:
1044 % \begin{macrocode}
1045 \def\author{\@ifnextchar[{\author@i}{\author@ii}}
1046 \def\author@i[#1]#2{\gdef\@shortauthor{#1}\gdef\@author{#2}}
1047 \def\author@ii#1{\author@i[#1]{#1}}
1048 \author{}
1049 % \end{macrocode}
1050 % \end{macro}
1051 %
1052 % \begin{macro}{\@date}
1053 % We have slightly different default date format than the standard
1054 % class:
1055 % \begin{macrocode}
1056 \def\today{\ifcase\month\or
1057 January\or February\or March\or April\or May\or June\or
1058 July\or August\or September\or October\or November\or
1059 December\fi\space
1060 \number\year}
1061 % \end{macrocode}
1062 % \end{macro}
1063 %
1064 % \begin{macro}{\titleimage}
1065 % \changes{v1.5}{2020/11/10}{Default title image is now a string}
1066 % \begin{macro}{\affiliation}
1067 % \begin{macro}{\copyrightinfo}
1068 % \begin{macro}{\subject}
1069 % \begin{macro}{\keywords}
1070 % A bunch of one parameter macros
1071 % \begin{macrocode}
1072 \newcommand*{\titleimage}[1]{\gdef\@titleimage{#1}}
1073 \titleimage{NoSuchImageDotUse.pdf}
1074 \newcommand*{\affiliation}[1]{\gdef\@affiliation{#1}}
1075 \affiliation{}
1076 \newcommand*{\copyrightinfo}[1]{\gdef\@copyrightinfo{#1}}
1077 \copyrightinfo{}
1078 \newcommand*{\subject}[1]{\gdef\@subject{#1}}
1079 \subject{}
1080 \newcommand*{\keywords}[1]{\gdef\@keywords{#1}}
1081 \keywords{}
1082 % \end{macrocode}
1083 % \end{macro}
1084 % \end{macro}
1085 % \end{macro}
1086 % \end{macro}
1087 % \end{macro}
1088 %
1089 % \begin{macro}{\copyrightlicense}
1090 % \changes{v1.13}{2013/01/13}{Added macro}
1091 % This adds license information:
1092 % \begin{macrocode}
1093 \newcommand*{\copyrightlicense}[1]{\gdef\@copyrightlicense{#1}}
1094 \copyrightlicense{This work is licensed under a Creative Commons
1095 Attribution-NonCommercial-NoDerivatives 3.0 License}
1096 % \end{macrocode}
1097 % \end{macro}
1098 %
1099 % Some games with the numbers
1100 % \begin{macro}{\PHIM@addzeros}
1101 % \changes{v0.5}{2007/04/04}{Corrected documentation}
1102 % The macro |\PHIM@addzeros| takes the argument and adds leading
1103 % zeros to make exactly 3 digits, and puts it into the second
1104 % argument.
1105 % \begin{macrocode}
1106 \def\PHIM@addzeros#1#2{\@tempcnta=#1\relax
1107 \edef#2{%
1108 \ifnum\@tempcnta>99
1109 \the\@tempcnta
1110 \else
1111 \ifnum\@tempcnta>9
1112 0\the\@tempcnta
1113 \else
1114 00\the\@tempcnta
1115 \fi
1116 \fi}}
1117 % \end{macrocode}
1118 % \end{macro}
1119 %
1120 % \begin{macro}{\journalnumber}
1121 % We keep two copies of the journal number: one with zeros, one
1122 % without
1123 % \begin{macrocode}
1124 \newcommand*{\journalnumber}[1]{%
1125 \gdef\@journalnumber{#1}%
1126 \PHIM@addzeros{\@journalnumber}{\@@journalnumber}}
1127 \journalnumber{999}
1128 % \end{macrocode}
1129 % \end{macro}
1130 % \begin{macro}{\journalvolume}
1131 % We keep two copies of the journal volume: one with zeros, one
1132 % without
1133 % \begin{macrocode}
1134 \newcommand*{\journalvolume}[1]{%
1135 \gdef\@journalvolume{#1}%
1136 \PHIM@addzeros{\@journalvolume}{\@@journalvolume}}
1137 \journalvolume{999}
1138 % \end{macrocode}
1139 % \end{macro}
1140 %
1141 %
1142 %\subsection{Headers \& Footers}
1143 %\label{sec:headers}
1144 % \begin{macrocode}
1145 \pagestyle{fancy}
1146 \lhead{\makebox[\PHIM@colwidth]{\centering\scshape\large
1147 \MakeLowercase{\@shortauthor}}}
1148 \chead{}
1149 \rhead{\makebox[\PHIM@colwidth]{\centering\itshape\large\@shorttitle}}
1150 \lfoot{\scshape\large philosophers' imprint}
1151 \cfoot{-\space\large\thepage\space-}
1152 \rfoot{\scshape\large vol.~\@journalvolume, no.~\@journalnumber\quad%
1153 (\MakeLowercase{\@date})}
1154 \renewcommand{\headrulewidth}{0pt}
1155 \renewcommand{\footrulewidth}{0pt}
1156 % \end{macrocode}
1157 % \changes{v0.6}{2007/04/11}{Headers are now centered}
1158 %
1159 %
1160 %\subsection{Making Title Page}
1161 %\label{sec:maketitle}
1162 %
1163 %
1164 % \begin{macro}{\maketitle}
1165 % Our |\maketitle| is completely different from the standard one.
1166 % First, we set up the PDF information, and then check which of the
1167 % variants of title page to use.
1168 % \begin{macrocode}
1169 \def\maketitle{%
1170 \thispagestyle{empty}
1171 \ifPHIM@hyperref\relax
1172 \hypersetup{pdfauthor=\@author, pdftitle=\@title, %
1173 pdfsubject=\@subject, pdfkeywords=\@keywords}
1174 \fi
1175 \ifPHIM@titleimage\relax
1176 \maketitle@image
1177 \else
1178 \maketitle@simulated
1179 \fi
1180 \newpage}
1181 % \end{macrocode}
1182 % \end{macro}
1183 %
1184 % \begin{macro}{\maketitle@image}
1185 % \changes{v0.9}{2007/05/20}{Changed formatting}
1186 % Here we add the image if it exists.
1187 % \begin{macrocode}
1188 \def\maketitle@image{%
1189 \IfFileExists{\@titleimage}{%
1190 \begin{picture}(0,0)%
1191 \setlength{\unitlength}{1pt}%
1192 \put(-6,6){\makebox(0,0)[lt]{\includegraphics{\@titleimage}}}%
1193 \end{picture}}{%
1194 \ClassWarningNoLine{philosophersimprint}{%
1195 ********************************\MessageBreak
1196 * Cannot find title image \MessageBreak
1197 * \@titleimage.\MessageBreak
1198 * Switching to simulated title.\MessageBreak
1199 ********************************}
1200 \maketitle@simulated}}
1201 % \end{macrocode}
1202 % \end{macro}
1203 %
1204 % \begin{macro}{\maketitle@simulated}
1205 % \changes{v0.5}{2007/04/05}{Moved URL def outside hyperref check}
1206 % \changes{v0.7}{2007/04/18}{Changed lengths and fonts}
1207 % \changes{v1.2}{2012/06/01}{Added trailing slash to the title page url}
1208 % \changes{v1.3}{2013/01/13}{Added copyright license}
1209 % Simulated page should look more or less like the real one.
1210 % \begin{macrocode}
1211 \def\maketitle@simulated{%
1212 {\centering
1213 \parbox{2in}{\textcolor{PHIM@blue}{%
1214 \hspace{1.4em}\fontsize{10pt}{11}\selectfont Philosophers'}\\[-1.4ex]%
1215 \textcolor{PHIM@gray}{\fontsize{34pt}{25}\selectfont Imprint}}
1216 \hfill
1217 \parbox{2in}{
1218 \begin{flushright}
1219 \scshape\large
1220 volume \@journalvolume, no.~\@journalnumber\\[0.2ex]
1221 \MakeLowercase{\@date}
1222 \end{flushright}}%
1223 \par
1224 \vskip 0pt plus 0.3fill\relax
1225 {\ifPHIM@trajantitle\trjnfamily\fi
1226 \HUGE\selectfont\MakeUppercase{\@title}\par}%
1227 \vskip 0pt plus 0.4fill\relax
1228 {\huge\itshape\@author\par}%
1229 \vskip 0pt plus 0.15fill\relax
1230 {\large\itshape\@affiliation\par}%
1231 \vskip 0pt plus 0.2fill\relax
1232 {\ifx\@copyrightinfo\@empty~\else%
1233 \copyright\space\@copyrightinfo\fi\\
1234 \itshape
1235 \ifx\@copyrightlicense\@empty~\else%
1236 \@copyrightlicense\fi\\[0.3ex]
1237 \edef\PHIM@url{%
1238 www.philosophersimprint.org/\@@journalvolume\@@journalnumber/}
1239 \ifPHIM@hyperref\relax
1240 \href{http://\PHIM@url}{\textcolor{black}{
1241 \textless \PHIM@url\textgreater}}%
1242 \else
1243 \textless \PHIM@url\textgreater
1244 \fi
1245 \vskip 0pt plus 0.2fill\relax
1246 \par}%
1247 }}%
1248 % \end{macrocode}
1249 % \end{macro}
1250 %
1251 % Some colors for the title page:
1252 % \begin{macrocode}
1253 \definecolor{PHIM@blue}{rgb}{0.184, 0.431, 0.7749}%
1254 \definecolor{PHIM@gray}{gray}{0.549}%
1255 % \end{macrocode}
1256 %
1257 %
1258 %\subsection{Sectioning}
1259 %\label{sec:sections}
1260 %
1261 % We redefine the sectioning commands from the standard
1262 % \progname{article} to make this according to the journal
1263 % requirements.
1264 %
1265 % \begin{macro}{\ifPHIM@appendix}
1266 % \changes{v0.8}{2007/04/24}{Introduced macro}
1267 % The journal wants to format appendix as ``Appendix A. Name''.
1268 % Therefore we need to know whether we are in appendix mode.
1269 % \begin{macrocode}
1270 \newif\ifPHIM@appendix\PHIM@appendixfalse
1271 % \end{macrocode}
1272 %
1273 % \end{macro}
1274 %
1275 % \begin{macro}{\section}
1276 % \changes{v0.7}{2007/04/18}{Changed formatting for section}
1277 % The journal wants the dot after section number. Besides, to
1278 % synchronize lines, we want to skip 3/4 line before the section head
1279 % even if we start a new column.
1280 % \begin{macrocode}
1281 \renewcommand\section{\par
1282 \addpenalty\@secpenalty\nobreak
1283 \addvspace{0.75\PHIM@baselength}
1284 \@afterindentfalse
1285 \secdef\@section\@ssection}%
1286 % \end{macrocode}
1287 % \end{macro}
1288 %
1289 % \begin{macro}{\@section}
1290 % \changes{v0.8}{2007/04/24}{Added par}
1291 % \changes{v0.8}{2007/04/24}{Added appendix name}
1292 % This is the actual formatting when we have an unstarred form.
1293 % \begin{macrocode}
1294 \def\@section[#1]#2{%
1295 \ifnum\c@secnumdepth>0\relax
1296 \refstepcounter{section}%
1297 \addcontentsline{toc}{section}{\ifPHIM@appendix\appendixname\space\fi
1298 \thesection.\quad#1}%
1299 \else
1300 \addcontentsline{toc}{section}{#1}%
1301 \fi
1302 {\noindent\raggedright\interlinepenalty\@M
1303 \normalsize\bfseries
1304 \ifnum\c@secnumdepth>0\relax
1305 \ifPHIM@appendix\appendixname\space\fi\thesection.\quad #2
1306 \else
1307 #2
1308 \fi}%
1309 \vspace*{0.25\PHIM@baselength}%
1310 \@afterheading
1311 \nobreak\par}
1312 % \end{macrocode}
1313 %
1314 % \end{macro}
1315 %
1316 %
1317 % \begin{macro}{\@ssection}
1318 % \changes{v0.8}{2007/04/24}{Added par}
1319 % This is the actual formatting for the starred section
1320 % \begin{macrocode}
1321 \def\@ssection#1{%
1322 {\noindent\raggedright\interlinepenalty\@M
1323 \normalsize\bfseries #1}%
1324 \vspace*{0.25\PHIM@baselength}%
1325 \@afterheading
1326 \nobreak\par}
1327 % \end{macrocode}
1328 % \end{macro}
1329 %
1330 % \begin{macro}{\subsection}
1331 % \changes{v0.7}{2007/04/18}{Changed formatting}
1332 % \begin{macro}{\subsubsection}
1333 % \changes{v0.7}{2007/04/18}{Changed formatting}
1334 % \begin{macro}{\paragraph}
1335 % \changes{v0.7}{2007/04/18}{Changed formatting}
1336 % \begin{macro}{\subparagraph}
1337 % \changes{v0.7}{2007/04/18}{Changed formatting}
1338 % All other command can use standard technique. Since the lengths in
1339 % |@startsection| double as switches, we use $\pm$1sp as effective
1340 % zero.
1341 % \begin{macrocode}
1342 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
1343 {-\PHIM@baselength}%
1344 {1sp}%
1345 {\normalfont\normalsize\itshape}}
1346 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
1347 {-1sp}%
1348 {1sp}%
1349 {\normalfont\normalsize\itshape}}
1350 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
1351 {1sp}%
1352 {-1sp}%
1353 {\normalfont\normalsize}}
1354 \renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
1355 {1sp}%
1356 {-1sp}%
1357 {\normalfont\normalsize}}
1358 % \end{macrocode}
1359 % \end{macro}
1360 % \end{macro}
1361 % \end{macro}
1362 % \end{macro}
1363 %
1364 % \begin{macro}{\appendix}
1365 % \changes{v0.8}{2007/04/24}{Redefined the macro}
1366 % The only difference from the command |\appendix| in~\cite{classes}
1367 % is that here we switch on the flag:
1368 % \begin{macrocode}
1369 \renewcommand\appendix{\par
1370 \PHIM@appendixtrue
1371 \setcounter{section}{0}%
1372 \setcounter{subsection}{0}%
1373 \gdef\thesection{\@Alph\c@section}}
1374 % \end{macrocode}
1375 %
1376 % \end{macro}
1377 %
1378 %\subsection{Footnotes}
1379 %\label{sec:footnotes}
1380 %
1381 % \begin{macro}{\@makfntext}
1382 % \changes{v0.7}{2007/04/19}{Introduced new footnote formatting}
1383 % \changes{v1.1}{2011/11/25}{Changed indentation}
1384 % \changes{v1.5}{2020/11/10}{Changed indentation again}
1385 % The journal prefers footnotes with text footnote marks and hanging
1386 % indentation
1387 % \begin{macrocode}
1388 \renewcommand\@makefntext[1]{%
1389 \@tempdima=\hsize
1390 \advance\@tempdima by -\PHIM@baselength\relax
1391 \makebox[\PHIM@baselength][l]{\@thefnmark.}\parbox[t]{\@tempdima}{#1}}
1392 % \end{macrocode}
1393 % \end{macro}
1394 %
1395 % \begin{macro}{\footnotesep}
1396 % \changes{v0.7}{2007/04/19}{Changed value}
1397 % We set it just to strut
1398 % \begin{macrocode}
1399 \settoheight{\footnotesep}{\footnotesize\strut}
1400 % \end{macrocode}
1401 % \end{macro}
1402 %
1403 % \begin{macro}{\footins}
1404 % \changes{v0.7}{2007/04/19}{Changed value}
1405 % \changes{v0.9}{2007/05/04}{It is now stretchable}
1406 % \changes{v1.4}{2016/07/20}{Made finite to avoid white spots}
1407 % This the space between the last line of the text and top of
1408 % footnotes
1409 % \begin{macrocode}
1410 \setlength{\skip\footins}{\the\PHIM@baselength plus \the\PHIM@baselength}
1411 % \end{macrocode}
1412 %
1413 % \end{macro}
1414 %
1415 % \begin{macro}{\interfootnotepenalty}
1416 % \changes{v1.1}{2011/11/25}{Changed value}
1417 % We allow footnotes to be split between pages:
1418 % \begin{macrocode}
1419 \interfootnotelinepenalty=0
1420 % \end{macrocode}
1421 %
1422 % \end{macro}
1423 %
1424 %\subsection{The Last Words}
1425 %\label{sec:end}
1426 %
1427 % The editors want French spacing
1428 % \changes{v0.9}{2007/05/01}{Added French Spacing}
1429 % \begin{macrocode}
1430 \normalsize
1431 \frenchspacing
1432 %</class>
1433 % \end{macrocode}
1434 %
1435 %
1436 %\Finale
1437 %\clearpage
1438 %
1439 %\PrintChanges
1440 %\clearpage
1441 %\PrintIndex
1442 %
1443 \endinput
1444