| 1 |
\documentclass[twocolumn, 10pt]{scrartcl} |
| 2 |
\title{Quick reference sheet for the \texttt{phimisci} document class} |
| 3 |
\date{} |
| 4 |
\author{} |
| 5 |
|
| 6 |
% Document layout |
| 7 |
% Narrow margins |
| 8 |
\usepackage[margin=.75cm]{geometry} |
| 9 |
\columnsep=1cm |
| 10 |
|
| 11 |
% Tiny spacing for the titling |
| 12 |
\usepackage{titling} |
| 13 |
\preauthor{} |
| 14 |
\postauthor{} |
| 15 |
\predate{} |
| 16 |
\postdate{} |
| 17 |
\renewcommand{\droptitle}{-20pt} |
| 18 |
\renewcommand{\maketitlehooka}{\bfseries} |
| 19 |
|
| 20 |
% Fonts and symbols |
| 21 |
\usepackage{metalogo} |
| 22 |
\usepackage{tgheros} |
| 23 |
\usepackage[zerostyle=d]{newtxtt} |
| 24 |
\usepackage{pifont} |
| 25 |
\let\familydefault\sfdefault |
| 26 |
|
| 27 |
% Computer code |
| 28 |
\usepackage{listings} |
| 29 |
\lstset{basicstyle=\small\ttfamily, |
| 30 |
keywordstyle=\small\ttfamily, |
| 31 |
language=[LaTeX]TeX, |
| 32 |
frame=single |
| 33 |
} |
| 34 |
|
| 35 |
% Commands to print LaTeX commands and their arguments |
| 36 |
\NewDocumentCommand{\Command}{m}{\texttt{\textbackslash #1}} |
| 37 |
\NewDocumentCommand{\OArg}{m}{\texttt{[#1]}} |
| 38 |
\NewDocumentCommand{\MArg}{m}{\texttt{\{#1\}}} |
| 39 |
\NewDocumentCommand{\Meta}{m} |
| 40 |
{\texttt{$\langle$\textit{#1}$\rangle$}} |
| 41 |
|
| 42 |
% Better description environments |
| 43 |
\usepackage{enumitem} |
| 44 |
\usepackage{booktabs} |
| 45 |
|
| 46 |
\begin{document} |
| 47 |
\maketitle |
| 48 |
|
| 49 |
\addsec{A minimal example document} |
| 50 |
\begin{lstlisting} |
| 51 |
\documentclass{phimisci} |
| 52 |
\PhiMiSciSettings |
| 53 |
{ |
| 54 |
volume = 10, |
| 55 |
doi = 10.33735/phimisci.2100.1234 |
| 56 |
} |
| 57 |
\author{A. U. Thor |
| 58 |
\affiliation{Great Institution} |
| 59 |
\orcid{0000-1111-2222-3333} |
| 60 |
\and E. di Tor |
| 61 |
\affiliation{Affiliation 1; |
| 62 |
Affiliation 2} |
| 63 |
} |
| 64 |
\title[Short title for running head] |
| 65 |
{My long and eloquent title} |
| 66 |
\keywords{philosophy;mind;thinking} |
| 67 |
\begin{document} |
| 68 |
\maketitle |
| 69 |
... |
| 70 |
\printbibliography |
| 71 |
\end{document} |
| 72 |
\end{lstlisting} |
| 73 |
|
| 74 |
\addsec{How to input meta data} |
| 75 |
\begin{description}[style=nextline] |
| 76 |
\item[\Command{author} |
| 77 |
\OArg{\Meta{Short name}} |
| 78 |
\MArg{\Meta{Author data}} |
| 79 |
] |
| 80 |
In \MArg{\Meta{Author data}}, separate individuals by \Command{and}: |
| 81 |
\begin{lstlisting} |
| 82 |
\author{A. U. Thor \and E. di Tor} |
| 83 |
\end{lstlisting} |
| 84 |
|
| 85 |
Each author can contain an \Command{affiliation}\MArg{\Meta{List of affiliations}} and\slash or an \Command{orcid}\MArg{\Meta{id}} command. |
| 86 |
|
| 87 |
Affiliations are separated by semicolons: |
| 88 |
\begin{lstlisting} |
| 89 |
\author |
| 90 |
{ |
| 91 |
Author 1\affiliation{Uni 1; Uni 2} |
| 92 |
\and Author 2\affiliation{Uni 2; Uni 3} |
| 93 |
\and Author 3 |
| 94 |
} |
| 95 |
\end{lstlisting} |
| 96 |
Affiliations are recognised as the same institution only if their names match \emph{exactly}. ``MIT'' and ``M.I.T.'' would not be considered identical. |
| 97 |
|
| 98 |
The \Command{orcid}\MArg{\Meta{id}} is provided verbatim: |
| 99 |
|
| 100 |
\begin{lstlisting} |
| 101 |
\author |
| 102 |
{ |
| 103 |
Author 1\affiliation{Uni 1; Uni 2} |
| 104 |
\orcid{0000-1111-2222-3333} |
| 105 |
\and Author 2\affiliation{Uni 2; Uni 3} |
| 106 |
} |
| 107 |
\end{lstlisting} |
| 108 |
The optional \OArg{\Meta{Short name}} argument overwrites the author name(s) printed in the running head. |
| 109 |
|
| 110 |
\item[\Command{title}\OArg{\Meta{short}}\MArg{\Meta{full}}] Uses the \Meta{full} title in all places a title is used in the document. The running head title can be overwritten by providing the \OArg{\Meta{short}} argument. |
| 111 |
|
| 112 |
\item[\Command{subtitle}\MArg{\Meta{subtitle}}] The subtitle, for papers that have one. |
| 113 |
|
| 114 |
\item[\Command{keywords}\MArg{\Meta{List of keywords}}] Keywords in the list should be separated by a semicolon. |
| 115 |
|
| 116 |
\item[\Command{contact}\OArg{\Meta{mode}}\MArg{\Meta{contact name}}\MArg{\Meta{contact details}}] Supply contact details for the primary contact. The \Meta{contact name} should match one of the authors \emph{exactly}. \Meta{contact details} are interpreted as an e-mail address as default. When \OArg{\Meta{mode}} is set to \texttt{website}, they are interpreted as a website instead. When \OArg{\Meta{mode}} is set to any other value, \Meta{contact details} are ouput verbatim. |
| 117 |
|
| 118 |
\item[\Command{PhiMiSciSettings}\MArg{key\textsubscript{1} = value\textsubscript{1}, key\textsubscript{2} = value\textsubscript{2}, ...}] |
| 119 |
Accepts further meta data settings and their values. Possible settings are: |
| 120 |
\begin{description}[style=sameline] |
| 121 |
\item[\texttt{year}] The publication year (defaults to the current year at time of compilation) |
| 122 |
\item[\texttt{volume}] The publication volume. Defaults to the value of the \emph{current} year minus 2019. Has to be adjusted manually if \texttt{year} is given. |
| 123 |
\item[\texttt{doi}] DOI in full format, without default (e.g., \texttt{10.33735\slash phimisci.2000.12345}) |
| 124 |
\item[\texttt{issue}] Title of a special issues (optional, default empty) |
| 125 |
\item[\texttt{editor}] Editor(s), separated by a semicolon, of a special issue (empty by default). |
| 126 |
\item[\texttt{discussed-book}] Title of the discussed book in symposia (optional, empty by default). Is ignored if \texttt{issue} is given. |
| 127 |
\item[\texttt{discussed-book-authors}] The authors of the book in a symposium, separated by semicola. Ignored if \texttt{discussed-book} not given. |
| 128 |
\item[\texttt{language}] A comma-separated list of language(s) used in the paper. The last item is the main language. Defaults to \texttt{english}. |
| 129 |
\item[\texttt{stage}] The current production step. Can be either of \texttt{preparation} (the default), \texttt{submission}, \texttt{draft} or \texttt{final}. |
| 130 |
\end{description} |
| 131 |
\end{description} |
| 132 |
\addsec{Elements configured in the preamble} |
| 133 |
\textit{Note:} The following commands must be placed in the preamble, before \Command{begin}\MArg{document}. |
| 134 |
\begin{description}[style=nextline] |
| 135 |
\item[\Command{abstract}\MArg{\Meta{text}}] Print \Meta{text} as the paper's abstract. |
| 136 |
\item[\Command{dedication}\MArg{\Meta{text}}] Print \Meta{text} as the dedication on the title page (different from \Command{dictum}, which can be placed anywhere in the document). |
| 137 |
\end{description} |
| 138 |
|
| 139 |
\pagebreak |
| 140 |
\addsec{Elements configured in the document} |
| 141 |
\begin{description}[style=nextline] |
| 142 |
\item[\Command{PhiMiSciParagraphNumber}\MArg{\Meta{n}}] Print \Meta{n} as the paragraph number in the outer margin. |
| 143 |
\item[\Command{dictum}\OArg{\Meta{source}}\MArg{\Meta{epigraph}}] An epigraph. The \Meta{source} is printed below the \Meta{epigraph}. Can be used multiple times in one paper. |
| 144 |
\end{description} |
| 145 |
|
| 146 |
\addsec{Production stages \& their output} |
| 147 |
|
| 148 |
\begin{tabular}{lcccc} |
| 149 |
\toprule |
| 150 |
& & \multicolumn{3}{c}{Output ... ?}\\\cmidrule(lr){3-5} |
| 151 |
Stage & Overf. lin. & Authors & Contact & Footer\\\midrule |
| 152 |
\ttfamily preparation & \ding{55} & \ding{51} & \ding{51} & \ding{55}\\ |
| 153 |
\ttfamily submission & \ding{55} & \ding{55} & \ding{55} & \ding{55}\\ |
| 154 |
\ttfamily draft & \ding{51} & \ding{51} & \ding{51} & \ding{51}\\ |
| 155 |
\ttfamily final & \ding{55} & \ding{51} & \ding{51} & \ding{51}\\ |
| 156 |
\bottomrule |
| 157 |
\end{tabular} |
| 158 |
|
| 159 |
\addsec{General settings} |
| 160 |
These settings are accessible in the \texttt{settings} folder via {\Command{PhiMiSciSettings}\MArg{settings/\Meta{key\textsubscript{1}} = \Meta{value\textsubscript{1}}, ...}}. Values following equation signs are the initial values. |
| 161 |
|
| 162 |
\begin{description}[style=nextline,font=\ttfamily] |
| 163 |
\item[author-output-separator = \{, \}] Separator between two authors on the title page. |
| 164 |
\item[author-output-final-separator = \{\textbackslash\& \}] Separator between final two authors on the title page. |
| 165 |
\item[affiliations-input-separator = \{;\}] Separator between affiliations within \Command{affiliation}. |
| 166 |
\item[citation-file = phimisci-current-article.bib] |
| 167 |
Name for the automatically generated \texttt{.bib} file that contains the data of the present article. |
| 168 |
\item[copyright-text = \Meta{license text}] |
| 169 |
Copyright information text |
| 170 |
\item[draft-watermark = PhiMiSci uncorrected proofs] The watermark appearing in the background during the \texttt{draft} stage |
| 171 |
\item[emergency-stretch = 2em] Maximally allowed inter word spacing, to be used only when no ideal paragraph composition can be found. |
| 172 |
\item[extra-sentence-spacing = false] Whether or not to print extra spacing after sentence punctuation (can be either \texttt{true} or \texttt{false}). |
| 173 |
\item[dictum-width = 0.62\Command{textwidth}] The width of dictums entered by \Command{dictum} (a length is expected). |
| 174 |
\item[footnote-break-penalty = 1000] The penalty for breaking footnotes across pages (an integer is expected, max. value \texttt{10000}.) |
| 175 |
\item[logo-url = \{\}] File path to the journal's logo. The path can be relative to the current working directory. |
| 176 |
\item[logo-width = 20.6mm] The width at which the journal's logo is printed. The height is determined automatically from this width. |
| 177 |
\item[submission-footer-text = \Meta{Submission text}] A text printed in the footer if \texttt{stage} is set to \texttt{submission}. |
| 178 |
\item[keyword-input-separator = ;] The separator between items in \Command{keywords} |
| 179 |
\item[keyword-output-separator = \{% |
| 180 |
\Command{nobreak}\Command{space} |
| 181 |
\Command{textsf\MArg{\Command{textbullet}}} |
| 182 |
\Command{space}% |
| 183 |
\}] The output separator between keywords |
| 184 |
\item[number-authors-header = 2] Maximum numbers of authors to be printed in the running head before substitution by \emph{et al.} is activated (see also \texttt{locale/et-al}) |
| 185 |
\item[orcid-color = A6CE39] The colour of the ORCiD icon next to authors. An HTML colour code is expected. |
| 186 |
\item[orphan-penalty = 300] A penalty for orphans. An integer (max \texttt{10000}) is expected, but note that \texttt{phimisci} may use \texttt{sloppy-bottom} to avoid orphans. |
| 187 |
\item[output-orcids = true] Whether to print ORCiDs (a Boolean is expected) |
| 188 |
\item[widow-control = \Meta{arseneau \textup{or} chernoff}] Activate one of \texttt{arseneau} or \texttt{chernoff}, two mechanisms for automatic widow and orphan treatment. Setting \texttt{widow-control=chernoff} is recommended, but requires \LuaLaTeX{}. |
| 189 |
\item[widow-penalty = 500] A penalty against widows. Please read the note regarding \texttt{orphan-penalty}. |
| 190 |
\end{description} |
| 191 |
|
| 192 |
\addsec{Localisation} |
| 193 |
|
| 194 |
The following names for objects can be configured via \Command{PhiMiSciSettings}\MArg{locale/\Meta{key\textsubscript{1}} = \Meta{value\textsubscript{1}}, ...}. |
| 195 |
|
| 196 |
\begin{description}[font=\ttfamily] |
| 197 |
\item[abstract] The name of the \emph{Abstract} section on the title page |
| 198 |
\item[authored-by] String between BS title and book author on title page |
| 199 |
\item[book-symposium] Descriptor for BS on title page |
| 200 |
\item[contact] Descriptor for contact on title page |
| 201 |
\item[edited-by] String between SI title and editors on title page |
| 202 |
\item[et-al] String appended to first author if number of authors exceeds \texttt{settings/number-authors-header} (used in the header) |
| 203 |
\item[journal-name] The name of the journal, used in various places |
| 204 |
\item[journal-short-name] Short name of the journal |
| 205 |
\item[keywords] Descriptor for the \emph{Keywords} on the title page |
| 206 |
\item[special-issue] Descriptor for SI on title page |
| 207 |
\item[volume] Abbreviation for volume on title page header |
| 208 |
\end{description} |
| 209 |
\end{document} |