aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oldstandard-t.tex222
1 files changed, 167 insertions, 55 deletions
diff --git a/oldstandard-t.tex b/oldstandard-t.tex
index e7a14ab..b5d1154 100644
--- a/oldstandard-t.tex
+++ b/oldstandard-t.tex
@@ -18,8 +18,7 @@
18 version = {2.3} 18 version = {2.3}
19} 19}
20\end{filecontents*} 20\end{filecontents*}
21\documentclass[letterpaper,add-index]{cnltx-doc} 21\documentclass[letterpaper]{article}
22\addtokomafont{disposition}{\rmfamily}
23\usepackage[no-math]{fontspec} 22\usepackage[no-math]{fontspec}
24\usepackage{fontspec} 23\usepackage{fontspec}
25\usepackage[greek.ancient,english]{babel} 24\usepackage[greek.ancient,english]{babel}
@@ -32,12 +31,40 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
32BoldItalicFont={Old Standard T Italic}, 31BoldItalicFont={Old Standard T Italic},
33BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T} 32BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
34 33
34\babelfont{tt}{CMU Typewriter Text}
35
36\usepackage{dtxdescribe}
37\usepackage[xindy]{imakeidx}
38\indexsetup{noclearpage}
39\makeindex
40\renewcommand{\pkg}[1]{\textsf{#1}\index{#1 (package)}}
41
35\usepackage{csquotes} 42\usepackage{csquotes}
36\usepackage{varioref} 43\usepackage{varioref}
37\usepackage{paralist} 44\usepackage{hyperref}
45\hypersetup{unicode=true, linktocpage=true, colorlinks, hidelinks}
46\usepackage{enumitem}
47\setlist{nosep}
48\setlist[itemize]{label=\textendash}
49\setlist[enumerate,1]{label=(\alph*)}
50\setlist[enumerate,2]{label=\roman*.}
51\usepackage{metalogox}
52\usepackage{lettrine}
53\usepackage{setspace}
54
55\usepackage{relsize}
56\usepackage{tikz}
57\usepackage[breakable, skins, xparse, minted]{tcolorbox}
58\tcbset{colback=white, boxrule=.15mm, colframe=red!50!white,
59 breakable}
60\newtcblisting{example}{minted options={linenos, numbersep=0mm,
61 fontsize=\smaller}}
62\newtcblisting{code}{minted options={linenos, numbersep=0mm,
63 fontsize=\smaller}, listing
64 only}
38 65
39\usepackage{latexcolors} 66\usepackage{latexcolors}
40\usepackage{arabluatex} 67\usepackage[fullvoc]{arabluatex}
41\usepackage{teubner} 68\usepackage{teubner}
42\usepackage[style=oxnotes-inote]{biblatex} 69\usepackage[style=oxnotes-inote]{biblatex}
43\DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}} 70\DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}}
@@ -45,57 +72,60 @@ BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
45\usepackage[citecmd=autocite]{icite} 72\usepackage[citecmd=autocite]{icite}
46\bibinput{oldstandard-t} 73\bibinput{oldstandard-t}
47 74
48\definecolorscheme{mydefault}{ 75\usepackage{cleveref}
49 cs => cnltxbrown ,
50 option => cnltxyellow ,
51 module => cnltxblue ,
52 comment => cnltxgray ,
53 beginend => red ,
54 env => black ,
55 argument => black ,
56 meta => black!80 ,
57 cnltx => cinnamon ,
58 cnltxbg => white ,
59 link => black!90 ,
60 versionnote => black!75 ,
61 bibentry => cnltxgreen ,
62 bibentryfield => black ,
63 expandable => red ,
64 unexpandable => black ,
65 makeidxkey => cnltxgreen ,
66 makeidxstring => black ,
67 math => cnltxgreen
68}
69 76
70\setcnltx{ 77\usepackage{etoc}
71 color-scheme = mydefault, 78\etocsettocdepth{paragraph}
72 % 79\newcommand{\altableofcontents}{%
73 package = oldstandard-t, 80 \begingroup
74 % 81 \etocsetstyle{section}{}{}
75 version = {v1.0}, 82 {\etocsavedsectiontocline{%
76 % 83 \numberline{\etocnumber}\etocname}{\etocpage}}{}
77 date = \today, 84 \etocsetstyle{subsection}{}{}
78 % 85 {\etocsavedsubsectiontocline{%
79 info = Based on Alexey Kryukov's \emph{Old Standard}, 86 \numberline{\etocnumber}\etocname}{\etocpage}}{}%
80 % 87 \etocsetstyle{subsubsection}{}{}
81 name = oldstandard-t, 88 {\etocsavedsubsubsectiontocline{%
82 % 89 \numberline{\etocnumber}\etocname}{\etocpage}}{}%
83 title = Old Standard T, 90 \etocsetstyle{paragraph}{}{\leftskip2cm\rightskip 2.2em \parfillskip
84 % 91 0pt plus 1fil\relax \nobreak}
85 subtitle = A Unicode Font for Classical and Medieval Studies, 92 {\noindent\etocname{} \etocpage{} }{\par}%
86 authors = Robert Alessi, 93 \etocmulticolstyle[2]{\section*{Contents}}
87 % 94 \pdfbookmark[1]{Contents}{toc}
88 email = alessi@robertalessi.net, 95 \tableofcontents
89 % 96 \endgroup}
90 url = https://gitlab.com/ralessi/oldstandard_t, 97
91 % 98% url = https://gitlab.com/ralessi/oldstandard_t,
92 abstract = {This font is just the same as Alexey Kryukov's beautiful 99% %
93 \emph{Old Standard}. In comparison to \emph{Old Standard}, 100% abstract = {This font is just the same as Alexey Kryukov's beautiful
94 \emph{Old Standard T} includes new letters and some corrections.} 101% \emph{Old Standard}. In comparison to \emph{Old Standard},
95 % 102% \emph{Old Standard T} includes new letters and some corrections.}
96} 103
104\title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop
105 lifted shadow, colback=white, boxrule=.25mm]%
106 {\textsc{Old Standard T}\\
107 \Large
108 A Unicode Font for Classical and Medieval Studies\\
109 \large Based on Alexey Kryukov's \emph{Old Standard}\\
110 \large v1.0 -- \today}}
111
112\author{Robert Alessi \\
113\href{mailto:alessi@robertalessi.net?Subject=arabluatex package}%
114{\texttt{alessi@robertalessi.net}}}
115\date{}
97 116
98\begin{document} 117\begin{document}
118\maketitle
119\footnotesize
120\altableofcontents
121\normalsize
122
123\begin{abstract}
124 This font is just the same as Alexey Kryukov's beautiful \emph{Old
125 Standard}. In comparison to \emph{Old Standard}, \emph{Old
126 Standard T} includes new letters and some corrections.
127\end{abstract}
128
99\section{License} 129\section{License}
100\label{sec:license} 130\label{sec:license}
101Copyright \textcopyright\ 2006--2011, Alexey Kryukov 131Copyright \textcopyright\ 2006--2011, Alexey Kryukov
@@ -118,7 +148,7 @@ inspired by a typeface most commonly used in books printed in the late
118\textsc{xx}\textsuperscript{th} century. The source files, which can 148\textsc{xx}\textsuperscript{th} century. The source files, which can
119be found online,\footnote{See 149be found online,\footnote{See
120 \url{https://github.com/akryukov/oldstand}} have been published 150 \url{https://github.com/akryukov/oldstand}} have been published
121under the terms of the OFL license (see above, sect{.} 151under the terms of the OFL license (see above,
122\vref{sec:license}). However, at the time of writing, the latest 152\vref{sec:license}). However, at the time of writing, the latest
123update dates back to Aug. 12, 2013. To be more precise, all of the 153update dates back to Aug. 12, 2013. To be more precise, all of the
124five \enquote*{commits} the writer was able to see were pushed on the 154five \enquote*{commits} the writer was able to see were pushed on the
@@ -156,7 +186,7 @@ should refer to it.\icite{oldstandard}
156 Old Stan\-dard~T} 186 Old Stan\-dard~T}
157\label{sec:addit-corr-prov} 187\label{sec:addit-corr-prov}
158\emph{Old Standard T} includes new letters and some corrections: 188\emph{Old Standard T} includes new letters and some corrections:
159\begin{compactenum} 189\begin{enumerate}
160\item Small capitals for Roman, Greek and Cyrillic letters, in all 190\item Small capitals for Roman, Greek and Cyrillic letters, in all
161 three styles, Regular, Italic and Bold have been added. Small 191 three styles, Regular, Italic and Bold have been added. Small
162 capitals, which are missing from \emph{Old Standard}, were already 192 capitals, which are missing from \emph{Old Standard}, were already
@@ -177,7 +207,89 @@ should refer to it.\icite{oldstandard}
177 position. This feature works in most cases with \emph{Old 207 position. This feature works in most cases with \emph{Old
178 Standard}. However, it fails if the beta is preceded by a vowel 208 Standard}. However, it fails if the beta is preceded by a vowel
179 with an acute accent taken from the Greek extended Unicode block. 209 with an acute accent taken from the Greek extended Unicode block.
180\end{compactenum} 210\end{enumerate}
211
212\section{Usage}
213\label{sec:usage}
214\emph{Old Standard T} works with \TeX\ engines that directly support
215OpenType features such as \XeTeX\ and \LuaTeX.
216
217It is loaded with \pkg{fontspec} like so:---
218\begin{code}
219 \usepackage{fontspec}
220 \setmainfont{Old Standard T}
221\end{code}
222
223\paragraph{Small capitals}
224The following example demonstrates the use of small capitals:---
225\begin{example}
226 \begin{center}
227 CHAPTER I
228
229 MR. SHERLOCK HOLMES
230 \end{center}
231
232 \lettrine[loversize=0.2]{M}{r. Sherlock Holmes}, who was usually
233 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 stood upon the hearth-rug and picked up the stick which our visitor
236 had left behind him the night before. It was a fine, thick piece of
237 wood, bulbous-headed, of the sort which is known as a
238 \enquote{Penang lawyer.} Just under the head was a broad silver
239 band, nearly an inch across. \enquote{To James Mortimer, M.R.C.S.,
240 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 family practitioner used to carry—dignified, solid, and reassuring.
243\end{example}
244
245Another example follows:---
246\begin{example}
247 \doublespacing
248 \begin{center}
249 \textlarger{PART SECOND}.
250
251 ETYMOLOGY OR THE PART OF THE SPEECH.
252
253 \rule{1in}{0.4pt}
254
255 I. THE VERB, \arb{al-fi`lu}.
256
257 A. \textsc{General View}.
258
259 1. \emph{The Forms of the Triliteral Verb}.
260 \end{center}
261\end{example}
262
263\paragraph{The letter \enquote*{ǧ}} It is used notably to print
264romanized Arabic:---
265\begin{example}
266 \begin{arab}[trans]
267 \begin{center}
268 \textbf{dajAjaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi}
269 \end{center}
270 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
272 yuttaxa_du li-\uc{m}uwaysiN.
273
274 (\uc{al-jA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i})
275 \end{arab}
276\end{example}
277
278\begin{example}
279 \begin{grc}
280 \begin{center}
281 \textlarger{ΕΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}.
181 282
283 ΤΜΗΜΑ ΠΡΩΤΟΝ.
284 \end{center}
285
286 \textbf{1} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι
287 λάβρῳ δι' ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν
288 τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαίνονται, καὶ
289 κνησμὸν ἐμποίεουσιν· εἶτα φλυκταινίδες ὥσπερ πυρίκαυστοι
290 ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα καίεσθαι ἐδόκεον.
291 \end{grc}
292\end{example}
182 293
294\printindex
183\end{document} 295\end{document}