aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oldstandard-t.tex224
1 files changed, 156 insertions, 68 deletions
diff --git a/oldstandard-t.tex b/oldstandard-t.tex
index b5d1154..d5cc755 100644
--- a/oldstandard-t.tex
+++ b/oldstandard-t.tex
@@ -7,6 +7,13 @@
7 url = {https://ctan.org/pkg/arabluatex}, 7 url = {https://ctan.org/pkg/arabluatex},
8 version = {1.17} 8 version = {1.17}
9} 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}
10@software{oldstandard, 17@software{oldstandard,
11 title = {The OldStandard package}, 18 title = {The OldStandard package},
12 titleaddon = {Old Standard: A Unicode Font for Classical and 19 titleaddon = {Old Standard: A Unicode Font for Classical and
@@ -33,16 +40,25 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
33 40
34\babelfont{tt}{CMU Typewriter Text} 41\babelfont{tt}{CMU Typewriter Text}
35 42
43\newlength\defaultparindent
44\setlength\defaultparindent{\parindent}
36\usepackage{dtxdescribe} 45\usepackage{dtxdescribe}
46\setlength\parindent{\defaultparindent}
47
37\usepackage[xindy]{imakeidx} 48\usepackage[xindy]{imakeidx}
38\indexsetup{noclearpage} 49\indexsetup{noclearpage}
39\makeindex 50\makeindex
40\renewcommand{\pkg}[1]{\textsf{#1}\index{#1 (package)}}
41 51
52\usepackage{latexcolors}
42\usepackage{csquotes} 53\usepackage{csquotes}
54\usepackage{xurl}
55\usepackage{uri}
43\usepackage{varioref} 56\usepackage{varioref}
44\usepackage{hyperref} 57\usepackage{hyperref}
45\hypersetup{unicode=true, linktocpage=true, colorlinks, hidelinks} 58\hypersetup{unicode=true, linktocpage=true, colorlinks,
59 allcolors=cinnamon, pdfauthor={Robert Alessi}, pdftitle={Old
60 Standard T}}
61
46\usepackage{enumitem} 62\usepackage{enumitem}
47\setlist{nosep} 63\setlist{nosep}
48\setlist[itemize]{label=\textendash} 64\setlist[itemize]{label=\textendash}
@@ -55,51 +71,22 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
55\usepackage{relsize} 71\usepackage{relsize}
56\usepackage{tikz} 72\usepackage{tikz}
57\usepackage[breakable, skins, xparse, minted]{tcolorbox} 73\usepackage[breakable, skins, xparse, minted]{tcolorbox}
58\tcbset{colback=white, boxrule=.15mm, colframe=red!50!white, 74\tcbset{colback=white, boxrule=.15mm, colframe=cinnamon, breakable}
59 breakable}
60\newtcblisting{example}{minted options={linenos, numbersep=0mm, 75\newtcblisting{example}{minted options={linenos, numbersep=0mm,
61 fontsize=\smaller}} 76 fontsize=\smaller}}
62\newtcblisting{code}{minted options={linenos, numbersep=0mm, 77\newtcblisting{code}{minted options={linenos, numbersep=0mm,
63 fontsize=\smaller}, listing 78 fontsize=\smaller}, listing only}
64 only}
65 79
66\usepackage{latexcolors}
67\usepackage[fullvoc]{arabluatex} 80\usepackage[fullvoc]{arabluatex}
68\usepackage{teubner}
69\usepackage[style=oxnotes-inote]{biblatex} 81\usepackage[style=oxnotes-inote]{biblatex}
70\DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}} 82\DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}}
71\addbibresource{oldstandard-t.bib} 83\addbibresource{oldstandard-t.bib}
72\usepackage[citecmd=autocite]{icite} 84\usepackage[citecmd=autocite,defaultindex=none]{icite}
73\bibinput{oldstandard-t} 85\bibinput{oldstandard-t}
74 86
75\usepackage{cleveref} 87\usepackage{cleveref}
76 88
77\usepackage{etoc} 89\usepackage[toc]{multitoc}
78\etocsettocdepth{paragraph}
79\newcommand{\altableofcontents}{%
80 \begingroup
81 \etocsetstyle{section}{}{}
82 {\etocsavedsectiontocline{%
83 \numberline{\etocnumber}\etocname}{\etocpage}}{}
84 \etocsetstyle{subsection}{}{}
85 {\etocsavedsubsectiontocline{%
86 \numberline{\etocnumber}\etocname}{\etocpage}}{}%
87 \etocsetstyle{subsubsection}{}{}
88 {\etocsavedsubsubsectiontocline{%
89 \numberline{\etocnumber}\etocname}{\etocpage}}{}%
90 \etocsetstyle{paragraph}{}{\leftskip2cm\rightskip 2.2em \parfillskip
91 0pt plus 1fil\relax \nobreak}
92 {\noindent\etocname{} \etocpage{} }{\par}%
93 \etocmulticolstyle[2]{\section*{Contents}}
94 \pdfbookmark[1]{Contents}{toc}
95 \tableofcontents
96 \endgroup}
97
98% url = https://gitlab.com/ralessi/oldstandard_t,
99% %
100% abstract = {This font is just the same as Alexey Kryukov's beautiful
101% \emph{Old Standard}. In comparison to \emph{Old Standard},
102% \emph{Old Standard T} includes new letters and some corrections.}
103 90
104\title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop 91\title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop
105 lifted shadow, colback=white, boxrule=.25mm]% 92 lifted shadow, colback=white, boxrule=.25mm]%
@@ -117,7 +104,7 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
117\begin{document} 104\begin{document}
118\maketitle 105\maketitle
119\footnotesize 106\footnotesize
120\altableofcontents 107\tableofcontents
121\normalsize 108\normalsize
122 109
123\begin{abstract} 110\begin{abstract}
@@ -136,6 +123,16 @@ Copyright \textcopyright\ 2019, Robert Alessi
136(\href{mailto:alessi@robertalessi.net}{alessi@robertalessi.net}), without 123(\href{mailto:alessi@robertalessi.net}{alessi@robertalessi.net}), without
137Reserved Font Names. 124Reserved Font Names.
138 125
126Please send error reports and suggestions for improvements to Robert
127Alessi:
128\begin{itemize}
129\item email: \mailto[oldstandard-t package]{alessi@roberalessi.net}
130\item website: \url{http://www.robertalessi.net/oldstandard\_t}
131\item development: \url{http://git.robertalessi.net/oldstandard\_t}
132\item comments, feature requests, bug reports:
133\url{https://gitlab.com/ralessi/oldstandard\_t/issues}
134\end{itemize}
135
139This Font Software is licensed under the SIL Open Font License, 136This Font Software is licensed under the SIL Open Font License,
140Version 1.1. This license is available with a FAQ at: 137Version 1.1. This license is available with a FAQ at:
141\url{http://scripts.sil.org/OFL} 138\url{http://scripts.sil.org/OFL}
@@ -150,15 +147,13 @@ be found online,\footnote{See
150 \url{https://github.com/akryukov/oldstand}} have been published 147 \url{https://github.com/akryukov/oldstand}} have been published
151under the terms of the OFL license (see above, 148under the terms of the OFL license (see above,
152\vref{sec:license}). However, at the time of writing, the latest 149\vref{sec:license}). However, at the time of writing, the latest
153update dates back to Aug. 12, 2013. To be more precise, all of the 150update dates back to Aug.\ 12, 2013. To be more precise, all of the
154five \enquote*{commits} the writer was able to see were pushed on the 151five \enquote*{commits} the writer was able to see were pushed on the
155very same day. Since then, two \enquote*{pull requests} dating back to 152very same day. Since then, two \enquote*{pull requests} dating back to
1562017 have been remained unanswered. It is therefore to be feared that 1532017 have been remained unanswered. It is therefore to be feared that
157the project has been abandoned. 154the project has been abandoned. To date, this release of \emph{Old
158 155 Standard} has been published by Nikola Lečić and Bob Tennent and is
159To date, this release of \emph{Old Standard} has been published by 156available on CTAN and {\TeX}Live with a style file.\footnote{See
160Nikola Lečić and Bob Tennent and is available on CTAN and {\TeX}Live
161with a style file.\footnote{See
162 \url{https://ctan.org/pkg/oldstandard}} 157 \url{https://ctan.org/pkg/oldstandard}}
163 158
164Being unable himself to contact the author, the writer, while in need 159Being unable himself to contact the author, the writer, while in need
@@ -183,7 +178,7 @@ item of the original extensive documentation applies. The reader
183should refer to it.\icite{oldstandard} 178should refer to it.\icite{oldstandard}
184 179
185\section{Additions and corrections provided by 180\section{Additions and corrections provided by
186 Old Stan\-dard~T} 181 \emph{Old Standard~T}}
187\label{sec:addit-corr-prov} 182\label{sec:addit-corr-prov}
188\emph{Old Standard T} includes new letters and some corrections: 183\emph{Old Standard T} includes new letters and some corrections:
189\begin{enumerate} 184\begin{enumerate}
@@ -198,7 +193,7 @@ should refer to it.\icite{oldstandard}
198 the only character missing from \emph{Old Standard} that is needed 193 the only character missing from \emph{Old Standard} that is needed
199 in some of the accepted standards of romanization of classical 194 in some of the accepted standards of romanization of classical
200 Arabic. See for references the current documentation of the 195 Arabic. See for references the current documentation of the
201 \pkg{arabluatex} package.\footnote{\icite{arabluatex}[cite], sect{.} 196 \textsf{arabluatex} package.\footnote{\icite{arabluatex}[cite], sect{.}
202 \enquote{Transliteration}.} 197 \enquote{Transliteration}.}
203\item Additionally, \emph{Old Standard T} corrects the \verb|+ss06| 198\item Additionally, \emph{Old Standard T} corrects the \verb|+ss06|
204 feature provided by \emph{Old Standard}. This feature is supposed to 199 feature provided by \emph{Old Standard}. This feature is supposed to
@@ -221,15 +216,21 @@ It is loaded with \pkg{fontspec} like so:---
221\end{code} 216\end{code}
222 217
223\paragraph{Small capitals} 218\paragraph{Small capitals}
224The following example demonstrates the use of small capitals:--- 219Small capitals have been added in \emph{Old Standard T} for the
225\begin{example} 220following languages or transcription schemes: French, German, Italian,
221Spanish, unaccented Greek, basic Russian and Arabic \enquote*{DMG}.
222
223The following two examples demonstrate the use of small capitals:---
224\begin{tcblisting}{minted language=latex, title=Initials, minted
225 options={fontsize=\smaller, linenos, numbersep=0mm,
226 highlightlines={7}}}
226 \begin{center} 227 \begin{center}
227 CHAPTER I 228 CHAPTER I
228 229
229 MR. SHERLOCK HOLMES 230 MR.\ SHERLOCK HOLMES
230 \end{center} 231 \end{center}
231 232
232 \lettrine[loversize=0.2]{M}{r. Sherlock Holmes}, who was usually 233 \lettrine[loversize=0.2]{M}{r.\ Sherlock Holmes}, who was usually
233 very late in the mornings, save upon those not infrequent occasions 234 very late in the mornings, save upon those not infrequent occasions
234 when he stayed up all night, was seated at the breakfast table. I 235 when he stayed up all night, was seated at the breakfast table. I
235 stood upon the hearth-rug and picked up the stick which our visitor 236 stood upon the hearth-rug and picked up the stick which our visitor
@@ -240,10 +241,11 @@ The following example demonstrates the use of small capitals:---
240 from his friends of the C.C.H.,} was engraved upon it, with the 241 from his friends of the C.C.H.,} was engraved upon it, with the
241 date \enquote{1884.} It was just such a stick as the old-fashioned 242 date \enquote{1884.} It was just such a stick as the old-fashioned
242 family practitioner used to carry—dignified, solid, and reassuring. 243 family practitioner used to carry—dignified, solid, and reassuring.
243\end{example} 244\end{tcblisting}
244 245
245Another example follows:--- 246\begin{tcblisting}{minted language=latex, title=Headings, minted
246\begin{example} 247 options={linenos, numbersep=0mm, fontsize=\smaller,
248 highlightlines={11}}}
247 \doublespacing 249 \doublespacing
248 \begin{center} 250 \begin{center}
249 \textlarger{PART SECOND}. 251 \textlarger{PART SECOND}.
@@ -258,38 +260,124 @@ Another example follows:---
258 260
259 1. \emph{The Forms of the Triliteral Verb}. 261 1. \emph{The Forms of the Triliteral Verb}.
260 \end{center} 262 \end{center}
261\end{example} 263\end{tcblisting}
262 264
263\paragraph{The letter \enquote*{ǧ}} It is used notably to print 265\paragraph{The letter \enquote*{ǧ}} It is used notably to print
264romanized Arabic:--- 266romanized Arabic. \emph{Old Standard T} now features this letter in
265\begin{example} 267all of the three styles (Regular, Italic and Bold):---
268\begin{tcblisting}{minted language=latex, minted
269 options={fontsize=\smaller, linenos, numbersep=0mm,
270 highlightlines={3,6,9}}}
266 \begin{arab}[trans] 271 \begin{arab}[trans]
267 \begin{center} 272 \begin{center}
268 \textbf{dajAjaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi} 273 \textbf{da^gA^gaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi}
269 \end{center} 274 \end{center}
270 kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN 275 kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN
271 dajAjaTaN. wa-kAnat dajAjatu-hu 'llatI 'ahdA-hA dUna mA kAna 276 da^gA^gaTaN. wa-kAnat da^gA^gatu-hu 'llatI 'ahdA-hA dUna mA kAna
272 yuttaxa_du li-\uc{m}uwaysiN. 277 yuttaxa_du li-\uc{m}uwaysiN.
273 278
274 (\uc{al-jA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i}) 279 (\uc{al-^gA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i})
275 \end{arab} 280 \end{arab}
276\end{example} 281\end{tcblisting}
277 282
278\begin{example} 283\paragraph{\texttt{+ss06} OpenType feature} It is commonly believed
284that all Greek vowels with acute accent taken from the Greek Extended
285Unicode block \verb|1F00–1FFF| along with standalone acute accents
286were duplicated from the Greek and Coptic Unicode block. Affected
287characters from the Greek Extended Unicode block (\verb|0370–03FF|)
288follow: \textgrc{ά, έ, ή, ί, ό, ύ, ώ, Ά, Έ, Ή, Ί, Ό, Ύ, Ώ, ΐ, ΰ, ´,
289 ΅}. The counterparts of these letters in the Greek and Coptic
290Unicode block are vowels with \emph{tonoi}.
291
292However, strictly speaking, \emph{tonos} is not to be mistaken for
293\enquote*{acute}: that is for sure, as \emph{tonos} was introduced as
294a result of a reform to denote a tone, namely a stress on some vowels,
295and not a pitch, namely a rising and falling voice on accented vowels.
296Confusion began when the Greek government decreed that \emph{tonos}
297shall be the acute. From what the writer could see, many Greek fonts
298originally reflected the distinction between \emph{tonos} and acute.
299But nowadays, they simply mix them up. As a result of this confusion,
300in \emph{Old Standard}, vowels with acute were simply missing from the
301Greek Extended Block. All of them, including the standalone accents,
302have been restored in \emph{Old Standard T}. Furthermore, the rule
303that instructed to absorb vowels with acute into vowels with
304\emph{tonos} has been removed.
305
306Since assigning vowels with \emph{tonos} and vowels with acute to the
307same code points is clearly unacceptable even if the glyphs are
308identical, it is now possible in \emph{Old Standard T} to input all
309accented vowels from the Greek Extended Unicode block exclusively and
310have the substitution rules applied at the same time, as shown by the
311example that follows:---
312\begin{tcblisting}{minted language=latex, minted
313 options={fontsize=\smaller, linenos, numbersep=0mm,
314 highlightlines={9-10}}}
279 \begin{grc} 315 \begin{grc}
280 \begin{center} 316 \begin{center}
281 \textlarger{ΕΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}. 317 \textlarger{ΠΠΟΚΡΑΤΟΥΣ ΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}.
282 318
283 ΤΜΗΜΑ ΠΡΩΤΟΝ. 319 ΤΜΗΜΑ ΠΡΩΤΟΝ.
284 \end{center} 320 \end{center}
285 321
286 \textbf{1} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι 322 \textbf{1.} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καμασιν ὕδατι
287 λάβρῳ δι' ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν 323 λάβρῳ δι’ ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν
288 τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαονται, καὶ 324 τῷ δρματι ἰχῶρες· ἐγκαταλαμβανμενοι δέ, θερμανονται, καὶ
289 κνησμὸν ἐμπουσιν· εἶτα φλυκταινες ὥσπερ πυραυστοι 325 κνησμὸν ἐμποουσιν· εἶτα φλυκταινδες ὥσπερ πυρκαυστοι
290 ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα κασθαι ἐδόκεον. 326 ἐπανσταντο καὶ ὑπὸ τὸ δρμα καεσθαι ἐδκεον.
291 \end{grc} 327 \end{grc}
292\end{example} 328\end{tcblisting}
329
330\subsection{Bold Italic shape}
331\label{sec:bold-italic-shape}
332As \emph{Old Standard}, \emph{Old Standard T} does not feature a bold
333italic shape. However, both \XeTeX\ and \LuaTeX\ engines can emulate
334this shape as shown in the following two examples:
335
336\begin{tcblisting}{minted options={linenos, numbersep=0mm,
337 fontsize=\smaller}, listing only, title=\XeLaTeX}
338 \usepackage{fontspec}
339 \setmainfont{Old Standard T}[
340 BoldItalicFont={Old Standard T Italic},
341 BoldItalicFeatures={FakeBold=1.5}]
342\end{tcblisting}
343
344\begin{tcblisting}{minted options={linenos, numbersep=0mm,
345 fontsize=\smaller}, listing only, title=\LuaLaTeX}
346 \usepackage{fontspec}
347 \setmainfont{Old Standard T}[
348 BoldItalicFont={Old Standard T Italic},
349 BoldItalicFeatures={RawFeature={+embolden=2}}]
350\end{tcblisting}
351
352\subsection{Using \emph{Old Standard T} in multilingual
353 documents}
354\label{sec:using-old-standard}
355\pkg{babel} provides a high level interface on top of \pkg{fontspec}
356to select fonts depending on the languages to be used.\icite[For more
357information, the reader should refer to][10,24]{babel} As an example,
358here is how \emph{Old Standard T} has been loaded in the preamble of
359this document to be compiled with \LuaLaTeX:---
360\begin{code}
361 \usepackage[no-math]{fontspec}
362 \usepackage{fontspec}
363 \usepackage[greek.ancient,english]{babel}
364 \babeltags{grc = greek}
365
366 \babelfont{rm}[BoldItalicFont={Old Standard T Italic},
367 BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
368
369 \babelfont[greek]{rm}[RawFeature={+ss05;+ss06},
370 BoldItalicFont={Old Standard T Italic},
371 BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
372\end{code}
373
374Then, once \emph{Old Standard T} has been loaded with \cs{babelfont}
375properly,
376\begin{enumerate}
377\item \cs{textgrc}\marg{Greek text} can be used for short insertions
378 of Greek text.
379\item \verb|\begin{grc}| ... \verb|\end{grc}| can be used for
380 inserting running paragraphs of Greek text.
381\end{enumerate}
293 382
294\printindex
295\end{document} 383\end{document}