]> Lady’s Gitweb - OldStandard/blob - oldstandard.tex
use UMTypewriter for examples in the documentation
[OldStandard] / oldstandard.tex
1 \RequirePackage{filecontents}
2 \begin{filecontents*}{\jobname.bib}
3 @software{arabluatex,
4 title = {The arabluatex package},
5 titleaddon = {Arab\TeX\ for Lua\LaTeX},
6 author = {Alessi, Robert},
7 url = {https://ctan.org/pkg/arabluatex},
8 version = {1.17}
9 }
10 @software{babel,
11 title = {The Babel package},
12 titleaddon = {Multilingual support for Plain TeX or LaTeX},
13 author = {Bezos López, Javier and Braams, Johannes L.},
14 url = {http://www.ctan.org/pkg/babel},
15 version = {3.33}
16 }
17 @software{oldstandard,
18 title = {The OldStandard package},
19 titleaddon = {Old Standard: A Unicode Font for Classical and
20 Medieval Studies},
21 author = {Kryukov, Alexey},
22 editor = {Lečić, Nikola and Tennent, Bob},
23 editortype = {compiler},
24 url = {http://www.ctan.org/pkg/oldstandard},
25 version = {2.3}
26 }
27 \end{filecontents*}
28 \documentclass[letterpaper]{article}
29 \usepackage{fontspec}
30 \usepackage[greek.ancient,english]{babel}
31 \babeltags{grc = greek}
32
33 \babelfont{rm}{Old Standard}
34 \babelfont[greek]{rm}[RawFeature={+ss05;+ss06}]{Old Standard}
35 \babelfont{tt}{UMTypewriter}
36
37 \newlength\defaultparindent
38 \setlength\defaultparindent{\parindent}
39 \usepackage{dtxdescribe}
40 \setlength\parindent{\defaultparindent}
41
42 \usepackage[xindy]{imakeidx}
43 \indexsetup{noclearpage}
44 \makeindex
45
46 \usepackage{latexcolors}
47 \usepackage{csquotes}
48 \usepackage{varioref}
49 \usepackage{hyperref}
50 \hypersetup{unicode=true, linktocpage=true, colorlinks,
51 allcolors=cinnamon, pdfauthor={Robert Alessi}, pdftitle={Old
52 Standard}}
53 \usepackage{uri}
54
55 \usepackage{enumitem}
56 \setlist{nosep}
57 \setlist[itemize]{label=\textendash}
58 \setlist[enumerate,1]{label=(\alph*)}
59 \setlist[enumerate,2]{label=\roman*.}
60 \usepackage{metalogox}
61 \usepackage{lettrine}
62 \usepackage{setspace}
63
64 \usepackage{relsize}
65 \usepackage{tikz}
66 \usepackage[breakable, skins, xparse, minted]{tcolorbox}
67 \tcbset{colback=white, boxrule=.15mm, colframe=cinnamon, breakable}
68 \newtcblisting{example}{minted options={linenos, numbersep=0mm,
69 fontsize=\smaller}}
70 \newtcblisting{code}{minted options={linenos, numbersep=0mm,
71 fontsize=\smaller}, listing only}
72
73 \usepackage[fullvoc]{arabluatex}
74 \usepackage[style=oxnotes-inote]{biblatex}
75 \DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}}
76 \addbibresource{oldstandard.bib}
77 \usepackage[citecmd=autocite,defaultindex=none]{icite}
78 \bibinput{oldstandard}
79
80 \usepackage{cleveref}
81
82 \usepackage[toc]{multitoc}
83
84 \edef\pkgver{2.4a}
85 \edef\pkgdate{2019/07/25}
86 \title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop
87 lifted shadow, colback=white, boxrule=.25mm]%
88 {\textsc{Old Standard}\\
89 \Large
90 A Unicode Font for Classical and Medieval Studies\\
91 \large Based on Alexey Kryukov's original \emph{Old Standard}\\
92 \large v\pkgver -- \pkgdate}}
93
94 \author{Robert Alessi \\
95 \href{mailto:alessi@robertalessi.net?Subject=arabluatex package}%
96 {\texttt{alessi@robertalessi.net}}}
97 \date{}
98
99 \begin{document}
100 \maketitle
101 \footnotesize
102 \tableofcontents
103 \normalsize
104
105 \begin{abstract}
106 This font is just the same as Alexey Kryukov's beautiful \emph{Old
107 Standard}. In comparison to the previous releases of \emph{Old
108 Standard}, it includes new letters and some corrections.
109 \end{abstract}
110
111 \section{License}
112 \label{sec:license}
113 Copyright \textcopyright\ 2006--2011, Alexey Kryukov
114 (\href{mailto:amkryukov@gmail.com}{amkryukov@gmail.com}), without
115 Reserved Font Names.
116 \\
117 Copyright \textcopyright\ 2019, Robert Alessi
118 (\href{mailto:alessi@robertalessi.net}{alessi@robertalessi.net}), without
119 Reserved Font Names.
120
121 Please send error reports and suggestions for improvements to Robert
122 Alessi:
123 \begin{itemize}
124 \item email: \mailto[oldstandard package]{alessi@roberalessi.net}
125 \item website: \url{http://git.robertalessi.net/oldstandard/about}
126 \item development: \url{http://git.robertalessi.net/oldstandard}
127 \item comments, feature requests, bug reports:
128 \url{https://gitlab.com/ralessi/oldstandard/issues}
129 \end{itemize}
130
131 This Font Software is licensed under the SIL Open Font License,
132 Version 1.1. This license is available with a FAQ at:
133 \url{http://scripts.sil.org/OFL}
134
135 \section{Documentation}
136 \label{sec:documentation}
137 No documentation is associated with this release of \emph{Old
138 Standard} as every item of the original extensive documentation
139 applies. The reader should refer to the documentation edited for CTAN
140 by Bob Tennent:\icite{oldstandard}
141 \begin{itemize}
142 \item
143 \href{http://mirrors.ctan.org/fonts/oldstandard/doc/oldstand-manual.pdf}%
144 {Original manual (online version)}
145 \item \href{oldstand-manual.pdf}{Original manual (local version
146 included in {\TeX}Live)}
147 \end{itemize}
148
149 \emph{Old Standard} also has its reference web page:
150 \url{http://thessalonica.org.ru/en/oldstandard.html}
151
152 \section{History}
153 \label{sec:history}
154 \emph{Old Standard} is a remarkable creation of Alexey Kryukov,
155 inspired by a typeface most commonly used in books printed in the late
156 \textsc{xix}\textsuperscript{th} and early
157 \textsc{xx}\textsuperscript{th} century. The source files, which can
158 be found online,\footnote{See
159 \url{https://github.com/akryukov/oldstand}} have been published
160 under the terms of the OFL license (see above,
161 \vref{sec:license}). However, at the time of writing, the latest
162 update dates back to Aug.\ 12, 2013. To be more precise, all of the
163 five \enquote*{commits} the writer was able to see were pushed on the
164 very same day. Since then, two \enquote*{pull requests} dating back to
165 2017 have remained unanswered. It is therefore to be feared that the
166 project has been abandoned. To date, this release of \emph{Old
167 Standard} has been published by Nikola Lečić and Bob Tennent and is
168 available on CTAN and {\TeX}Live with a style file.\footnote{See
169 \url{https://ctan.org/pkg/oldstandard}}
170
171 Being unable himself to contact the author, the writer, while in need
172 to have new letters included in \emph{Old Standard} and some issues
173 addressed, took the decision to make a new release \emph{Old
174 Standard}, while maintaining the hope that the author will one day
175 resume the development of this typeface.
176
177 \paragraph{Important disclaimer}
178 The writer is very far from being able to design glyphs \emph{ex
179 nihilo}. That aside, he has some limited knowledge in the use of
180 FontForge, and, as a classicist, he is able to scrutinize how features
181 operate and if they operate as expected.
182
183 \section{Additions and corrections provided}
184 \label{sec:addit-corr-prov}
185 This release of \emph{Old Standard} includes new letters and some
186 corrections:
187 \begin{enumerate}
188 \item Small capitals for Roman, Greek and Cyrillic letters, in all
189 three styles, Regular, Italic and Bold have been added. Small
190 capitals, which are missing from \emph{Old Standard}, were already
191 in use a century ago in fine books which used font faces very
192 similar to \emph{Old Standard}. Typical use cases of small capitals
193 were headers, current headings and in some books proper names.
194 \item \emph{For the time being}, a bold italic shape has been
195 auto-generated. Of course, auto-generating shapes is not a
196 satisfactory solution. However, it is better than using the
197 font loader to emulate bold shapes. A real bold italic shape is
198 planned in the versions of \emph{Old Standard} to come.
199 \item The letter G with caron above, that is: Ǧ (\verb|U+01E6|,
200 uppercase) and ǧ (\verb|U+01E7|, lowercase) has been added. It is
201 the only character missing from \emph{Old Standard} that is needed
202 in some of the accepted standards of romanization of classical
203 Arabic. See for references the current documentation of the
204 \textsf{arabluatex} package.\footnote{\icite{arabluatex}[cite], sect{.}
205 \enquote{Transliteration}.}
206 \item Additionally, this release corrects the \verb|+ss06| feature
207 which is supposed to distinguish between regular and
208 \enquote*{curled} beta (β/ϐ) and to print \enquote*{curled} beta
209 (\verb|U+03D0|) in medial position. This feature worked in most
210 cases with the previous releases. However, it failed if the beta was
211 preceded by a vowel with an acute accent taken from the Greek
212 extended Unicode block.
213 \end{enumerate}
214
215 \section{Usage}
216 \label{sec:usage}
217 \emph{Old Standard} works with \TeX\ engines that directly support
218 OpenType features such as \XeTeX\ and \LuaTeX.
219
220 It is loaded with \pkg{fontspec} like so:---
221 \begin{code}
222 \usepackage{fontspec}
223 \setmainfont{Old Standard}
224 \end{code}
225
226 \paragraph{Small capitals}
227 Small capitals have been added for the following languages or
228 transcription schemes: French, German, Italian, Spanish, unaccented
229 Greek, basic Russian and Arabic \enquote*{DMG}.
230
231 The following two examples demonstrate the use of small capitals:---
232 \begin{tcblisting}{minted language=latex, title=Initials, minted
233 options={fontsize=\smaller, linenos, numbersep=0mm,
234 highlightlines={7}}}
235 \begin{center}
236 CHAPTER I
237
238 MR.\ SHERLOCK HOLMES
239 \end{center}
240
241 \lettrine[loversize=0.2]{M}{r.\ Sherlock Holmes}, who was usually
242 very late in the mornings, save upon those not infrequent occasions
243 when he stayed up all night, was seated at the breakfast table. I
244 stood upon the hearth-rug and picked up the stick which our visitor
245 had left behind him the night before. It was a fine, thick piece of
246 wood, bulbous-headed, of the sort which is known as a
247 \enquote{Penang lawyer.} Just under the head was a broad silver
248 band, nearly an inch across. \enquote{To James Mortimer, M.R.C.S.,
249 from his friends of the C.C.H.,} was engraved upon it, with the
250 date \enquote{1884.} It was just such a stick as the old-fashioned
251 family practitioner used to carry—dignified, solid, and reassuring.
252 \end{tcblisting}
253
254 \begin{tcblisting}{minted language=latex, title=Headings, minted
255 options={linenos, numbersep=0mm, fontsize=\smaller,
256 highlightlines={11}}}
257 \doublespacing
258 \begin{center}
259 \textlarger{PART SECOND}.
260
261 ETYMOLOGY OR THE PART OF THE SPEECH.
262
263 \rule{1in}{0.4pt}
264
265 I. THE VERB, \arb{al-fi`lu}.
266
267 A. \textsc{General View}.
268
269 1. \emph{The Forms of the Triliteral Verb}.
270 \end{center}
271 \end{tcblisting}
272
273 \paragraph{The letter \enquote*{ǧ}} It is used notably to print
274 romanized Arabic. \emph{Old Standard} now features this letter in all
275 of the three styles (Regular, Italic and Bold):---
276 \begin{tcblisting}{minted language=latex, minted
277 options={fontsize=\smaller, linenos, numbersep=0mm,
278 highlightlines={3,6,9}}}
279 \begin{arab}[trans]
280 \begin{center}
281 \textbf{da^gA^gaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi}
282 \end{center}
283 kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN
284 da^gA^gaTaN. wa-kAnat da^gA^gatu-hu 'llatI 'ahdA-hA dUna mA kAna
285 yuttaxa_du li-\uc{m}uwaysiN.
286
287 (\uc{al-^gA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i})
288 \end{arab}
289 \end{tcblisting}
290
291 \paragraph{\texttt{+ss06} OpenType feature} It is commonly believed
292 that all Greek vowels with acute accent taken from the Greek Extended
293 Unicode block \verb|1F00–1FFF| along with standalone acute accents
294 were duplicated from the Greek and Coptic Unicode block. Affected
295 characters from the Greek Extended Unicode block (\verb|037003FF|)
296 follow: \textgrc{ά, έ, ή, ί, ό, ύ, ώ, Ά, Έ, Ή, Ί, Ό, Ύ, Ώ, ΐ, ΰ, ´,
297}. The counterparts of these letters in the Greek and Coptic
298 Unicode block are vowels with \emph{tonoi}.
299
300 However, strictly speaking, \emph{tonos} is not to be mistaken for
301 \enquote*{acute}: that is for sure, as \emph{tonos} was introduced as
302 a result of a reform to denote a tone, namely a stress on some vowels,
303 and not a pitch, namely a rising and falling voice on accented vowels.
304 Confusion began when the Greek government decreed that \emph{tonos}
305 shall be the acute. From what the writer could see, many Greek fonts
306 originally reflected the distinction between \emph{tonos} and acute.
307 But nowadays, they simply mix them up. As a result of this confusion,
308 in \emph{Old Standard}, vowels with acute were simply missing from the
309 Greek Extended Block. All of them, including the standalone accents,
310 have been restored. Furthermore, the rule that instructed to absorb
311 vowels with acute into vowels with \emph{tonos} has been removed.
312
313 Since assigning vowels with \emph{tonos} and vowels with acute to the
314 same code points is clearly unacceptable even if the glyphs are
315 identical, it is now possible in \emph{Old Standard} to input all
316 accented vowels from the Greek Extended Unicode block exclusively and
317 have the substitution rules applied at the same time, as shown by the
318 example that follows:---
319 \begin{tcblisting}{minted language=latex, minted
320 options={fontsize=\smaller, linenos, numbersep=0mm,
321 highlightlines={9-10}}}
322 \begin{grc}
323 \begin{center}
324 \textlarger{ΙΠΠΟΚΡΑΤΟΥΣ ΕΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}.
325
326 ΤΜΗΜΑ ΠΡΩΤΟΝ.
327 \end{center}
328
329 \textbf{1.} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι
330 λάβρῳ δι’ ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν
331 τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαίνονται, καὶ
332 κνησμὸν ἐμποιέουσιν· εἶτα φλυκταινίδες ὥσπερ πυρίκαυστοι
333 ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα καίεσθαι ἐδόκεον.
334 \end{grc}
335 \end{tcblisting}
336
337 \subsection{Using \emph{Old Standard} in multilingual
338 documents}
339 \label{sec:using-old-standard}
340 \pkg{babel} provides a high level interface on top of \pkg{fontspec}
341 to select fonts depending on the languages to be used.\icite[For more
342 information, the reader should refer to][10,24]{babel} As an example,
343 here is how \emph{Old Standard} has been loaded in the preamble of
344 this document to be compiled with \LuaLaTeX:---
345 \begin{code}
346 \usepackage[no-math]{fontspec}
347 \usepackage{fontspec}
348 \usepackage[greek.ancient,english]{babel}
349 \babeltags{grc = greek}
350
351 \babelfont{rm}{Old Standard}
352
353 \babelfont[greek]{rm}[RawFeature={+ss05;+ss06}]{Old Standard}
354 \end{code}
355
356 Then, once \emph{Old Standard} has been loaded with \cs{babelfont}
357 properly,
358 \begin{enumerate}
359 \item \cs{textgrc}\marg{Greek text} can be used for short insertions
360 of Greek text.
361 \item \verb|\begin{grc}| ... \verb|\end{grc}| can be used for
362 inserting running paragraphs of Greek text.
363 \end{enumerate}
364
365 \end{document}
This page took 0.071877 seconds and 5 git commands to generate.