version = {2.3}
}
\end{filecontents*}
-\documentclass[letterpaper,add-index]{cnltx-doc}
-\addtokomafont{disposition}{\rmfamily}
+\documentclass[letterpaper]{article}
\usepackage[no-math]{fontspec}
\usepackage{fontspec}
\usepackage[greek.ancient,english]{babel}
BoldItalicFont={Old Standard T Italic},
BoldItalicFeatures={RawFeature={+embolden=2}}]{Old Standard T}
+\babelfont{tt}{CMU Typewriter Text}
+
+\usepackage{dtxdescribe}
+\usepackage[xindy]{imakeidx}
+\indexsetup{noclearpage}
+\makeindex
+\renewcommand{\pkg}[1]{\textsf{#1}\index{#1 (package)}}
+
\usepackage{csquotes}
\usepackage{varioref}
-\usepackage{paralist}
+\usepackage{hyperref}
+\hypersetup{unicode=true, linktocpage=true, colorlinks, hidelinks}
+\usepackage{enumitem}
+\setlist{nosep}
+\setlist[itemize]{label=\textendash}
+\setlist[enumerate,1]{label=(\alph*)}
+\setlist[enumerate,2]{label=\roman*.}
+\usepackage{metalogox}
+\usepackage{lettrine}
+\usepackage{setspace}
+
+\usepackage{relsize}
+\usepackage{tikz}
+\usepackage[breakable, skins, xparse, minted]{tcolorbox}
+\tcbset{colback=white, boxrule=.15mm, colframe=red!50!white,
+ breakable}
+\newtcblisting{example}{minted options={linenos, numbersep=0mm,
+ fontsize=\smaller}}
+\newtcblisting{code}{minted options={linenos, numbersep=0mm,
+ fontsize=\smaller}, listing
+ only}
\usepackage{latexcolors}
-\usepackage{arabluatex}
+\usepackage[fullvoc]{arabluatex}
\usepackage{teubner}
\usepackage[style=oxnotes-inote]{biblatex}
\DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}}
\usepackage[citecmd=autocite]{icite}
\bibinput{oldstandard-t}
-\definecolorscheme{mydefault}{
- cs => cnltxbrown ,
- option => cnltxyellow ,
- module => cnltxblue ,
- comment => cnltxgray ,
- beginend => red ,
- env => black ,
- argument => black ,
- meta => black!80 ,
- cnltx => cinnamon ,
- cnltxbg => white ,
- link => black!90 ,
- versionnote => black!75 ,
- bibentry => cnltxgreen ,
- bibentryfield => black ,
- expandable => red ,
- unexpandable => black ,
- makeidxkey => cnltxgreen ,
- makeidxstring => black ,
- math => cnltxgreen
-}
+\usepackage{cleveref}
-\setcnltx{
- color-scheme = mydefault,
- %
- package = oldstandard-t,
- %
- version = {v1.0},
- %
- date = \today,
- %
- info = Based on Alexey Kryukov's \emph{Old Standard},
- %
- name = oldstandard-t,
- %
- title = Old Standard T,
- %
- subtitle = A Unicode Font for Classical and Medieval Studies,
- authors = Robert Alessi,
- %
- email = alessi@robertalessi.net,
- %
- url = https://gitlab.com/ralessi/oldstandard_t,
- %
- abstract = {This font is just the same as Alexey Kryukov's beautiful
- \emph{Old Standard}. In comparison to \emph{Old Standard},
- \emph{Old Standard T} includes new letters and some corrections.}
- %
-}
+\usepackage{etoc}
+\etocsettocdepth{paragraph}
+\newcommand{\altableofcontents}{%
+ \begingroup
+ \etocsetstyle{section}{}{}
+ {\etocsavedsectiontocline{%
+ \numberline{\etocnumber}\etocname}{\etocpage}}{}
+ \etocsetstyle{subsection}{}{}
+ {\etocsavedsubsectiontocline{%
+ \numberline{\etocnumber}\etocname}{\etocpage}}{}%
+ \etocsetstyle{subsubsection}{}{}
+ {\etocsavedsubsubsectiontocline{%
+ \numberline{\etocnumber}\etocname}{\etocpage}}{}%
+ \etocsetstyle{paragraph}{}{\leftskip2cm\rightskip 2.2em \parfillskip
+ 0pt plus 1fil\relax \nobreak}
+ {\noindent\etocname{} \etocpage{} }{\par}%
+ \etocmulticolstyle[2]{\section*{Contents}}
+ \pdfbookmark[1]{Contents}{toc}
+ \tableofcontents
+ \endgroup}
+
+% url = https://gitlab.com/ralessi/oldstandard_t,
+% %
+% abstract = {This font is just the same as Alexey Kryukov's beautiful
+% \emph{Old Standard}. In comparison to \emph{Old Standard},
+% \emph{Old Standard T} includes new letters and some corrections.}
+
+\title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop
+ lifted shadow, colback=white, boxrule=.25mm]%
+ {\textsc{Old Standard T}\\
+ \Large
+ A Unicode Font for Classical and Medieval Studies\\
+ \large Based on Alexey Kryukov's \emph{Old Standard}\\
+ \large v1.0 -- \today}}
+
+\author{Robert Alessi \\
+\href{mailto:alessi@robertalessi.net?Subject=arabluatex package}%
+{\texttt{alessi@robertalessi.net}}}
+\date{}
\begin{document}
+\maketitle
+\footnotesize
+\altableofcontents
+\normalsize
+
+\begin{abstract}
+ This font is just the same as Alexey Kryukov's beautiful \emph{Old
+ Standard}. In comparison to \emph{Old Standard}, \emph{Old
+ Standard T} includes new letters and some corrections.
+\end{abstract}
+
\section{License}
\label{sec:license}
Copyright \textcopyright\ 2006--2011, Alexey Kryukov
\textsc{xx}\textsuperscript{th} century. The source files, which can
be found online,\footnote{See
\url{https://github.com/akryukov/oldstand}} have been published
-under the terms of the OFL license (see above, sect{.}
+under the terms of the OFL license (see above,
\vref{sec:license}). However, at the time of writing, the latest
update dates back to Aug. 12, 2013. To be more precise, all of the
five \enquote*{commits} the writer was able to see were pushed on the
Old Stan\-dard~T}
\label{sec:addit-corr-prov}
\emph{Old Standard T} includes new letters and some corrections:
-\begin{compactenum}
+\begin{enumerate}
\item Small capitals for Roman, Greek and Cyrillic letters, in all
three styles, Regular, Italic and Bold have been added. Small
capitals, which are missing from \emph{Old Standard}, were already
position. This feature works in most cases with \emph{Old
Standard}. However, it fails if the beta is preceded by a vowel
with an acute accent taken from the Greek extended Unicode block.
-\end{compactenum}
+\end{enumerate}
+
+\section{Usage}
+\label{sec:usage}
+\emph{Old Standard T} works with \TeX\ engines that directly support
+OpenType features such as \XeTeX\ and \LuaTeX.
+
+It is loaded with \pkg{fontspec} like so:---
+\begin{code}
+ \usepackage{fontspec}
+ \setmainfont{Old Standard T}
+\end{code}
+
+\paragraph{Small capitals}
+The following example demonstrates the use of small capitals:---
+\begin{example}
+ \begin{center}
+ CHAPTER I
+
+ MR. SHERLOCK HOLMES
+ \end{center}
+
+ \lettrine[loversize=0.2]{M}{r. Sherlock Holmes}, who was usually
+ very late in the mornings, save upon those not infrequent occasions
+ when he stayed up all night, was seated at the breakfast table. I
+ stood upon the hearth-rug and picked up the stick which our visitor
+ had left behind him the night before. It was a fine, thick piece of
+ wood, bulbous-headed, of the sort which is known as a
+ \enquote{Penang lawyer.} Just under the head was a broad silver
+ band, nearly an inch across. \enquote{To James Mortimer, M.R.C.S.,
+ from his friends of the C.C.H.,} was engraved upon it, with the
+ date \enquote{1884.} It was just such a stick as the old-fashioned
+ family practitioner used to carry—dignified, solid, and reassuring.
+\end{example}
+
+Another example follows:---
+\begin{example}
+ \doublespacing
+ \begin{center}
+ \textlarger{PART SECOND}.
+
+ ETYMOLOGY OR THE PART OF THE SPEECH.
+
+ \rule{1in}{0.4pt}
+
+ I. THE VERB, \arb{al-fi`lu}.
+
+ A. \textsc{General View}.
+
+ 1. \emph{The Forms of the Triliteral Verb}.
+ \end{center}
+\end{example}
+
+\paragraph{The letter \enquote*{ǧ}} It is used notably to print
+romanized Arabic:---
+\begin{example}
+ \begin{arab}[trans]
+ \begin{center}
+ \textbf{dajAjaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi}
+ \end{center}
+ kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN
+ dajAjaTaN. wa-kAnat dajAjatu-hu 'llatI 'ahdA-hA dUna mA kAna
+ yuttaxa_du li-\uc{m}uwaysiN.
+
+ (\uc{al-jA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i})
+ \end{arab}
+\end{example}
+
+\begin{example}
+ \begin{grc}
+ \begin{center}
+ \textlarger{ΕΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}.
+ ΤΜΗΜΑ ΠΡΩΤΟΝ.
+ \end{center}
+
+ \textbf{1} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι
+ λάβρῳ δι' ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν
+ τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαίνονται, καὶ
+ κνησμὸν ἐμποίεουσιν· εἶτα φλυκταινίδες ὥσπερ πυρίκαυστοι
+ ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα καίεσθαι ἐδόκεον.
+ \end{grc}
+\end{example}
+\printindex
\end{document}