| 1 |
\documentclass[12pt]{article} |
| 2 |
\usepackage[utf8]{luainputenc}\usepackage[T1]{fontenc} |
| 3 |
\usepackage{amsmath,amsthm,mathpazo,parskip,hologo,booktabs} |
| 4 |
\usepackage[oldstyle]{domitian} |
| 5 |
\usepackage{microtype} |
| 6 |
|
| 7 |
\title{\textit{The} Domitian \textit{font family}\\\large \textsc{version 1.0.1}} |
| 8 |
\author{Daniel Benjamin Miller\thanks{\texttt{[email protected]}}} |
| 9 |
\begin{document} |
| 10 |
\maketitle |
| 11 |
\section{Description} |
| 12 |
The Domitian fonts are a free and open-source OpenType font family, based on the Palatino design by Hermann Zapf (1918-2015), as implemented in Palladio (also known as \textsc{p052}), the version distributed as part of \textsc{urw}'s free Core 35 PostScript fonts (version 2.0, 2015). |
| 13 |
|
| 14 |
Domitian is meant as a drop-in replacement for Adobe's version of Palatino. It extends Palladio with small capitals, old-style figures and scientific inferiors. The metrics have been adjusted to more closely match Adobe Palatino, and hinting has been improved. |
| 15 |
|
| 16 |
\section{Usage} |
| 17 |
\subsection{Basic usage} |
| 18 |
To use Domitian with \hologo{LaTeX}, include in the preamble: |
| 19 |
|
| 20 |
\begin{verbatim} |
| 21 |
\usepackage[T1]{fontenc} %of OT1, T1, LGR, T2A/B/C |
| 22 |
\usepackage{domitian} |
| 23 |
\end{verbatim} |
| 24 |
|
| 25 |
\subsection{Package Options} |
| 26 |
\begin{tabular}{@{} ll @{}} |
| 27 |
\toprule |
| 28 |
Package Option & Feature \\ |
| 29 |
\midrule |
| 30 |
\texttt{lining} & Use lining figures (default) \lining{1234567890}\\ |
| 31 |
\texttt{oldstyle} & Use old-style figures \oldstyle{1234567890}\\ |
| 32 |
\bottomrule |
| 33 |
\end{tabular} |
| 34 |
\subsection{Text Commands} |
| 35 |
\begin{tabular}{@{} ll @{}} |
| 36 |
\toprule |
| 37 |
Text Command & Feature \\ |
| 38 |
\midrule |
| 39 |
\texttt{\textbackslash lining\{\}} & Use lining figures \lining{1234567890}\\ |
| 40 |
\texttt{\textbackslash oldstyle\{\}} & Use old-style figures \oldstyle{1234567890}\\ |
| 41 |
\texttt{\textbackslash textsc\{\}} & Use small caps (regular font only) \textsc{abcde\$\&}\\ |
| 42 |
\texttt{\textbackslash textsu\{\}} & Use superior figures \textsu{1234567890}\\ |
| 43 |
\texttt{\textbackslash textin\{\}} & Use inferior figures \textin{1234567890}\\ |
| 44 |
\bottomrule |
| 45 |
\end{tabular} |
| 46 |
|
| 47 |
\subsection{Using superior figures for footnotes} |
| 48 |
To use superior figures for footnotes, include the following line in your preamble: |
| 49 |
|
| 50 |
\begin{verbatim} |
| 51 |
\usepackage[supstfm=Domitian-Roman-sup-t1]{superiors} |
| 52 |
\end{verbatim} |
| 53 |
|
| 54 |
\subsection{OpenType with \texttt{fontspec}} |
| 55 |
|
| 56 |
To use the OpenType version of Domitian in \hologo{LuaLaTeX} or \hologo{XeLaTeX}, include in the preamble: |
| 57 |
|
| 58 |
\begin{verbatim} |
| 59 |
\usepackage{fontspec} |
| 60 |
\setmainfont{Domitian} |
| 61 |
\end{verbatim} |
| 62 |
|
| 63 |
\subsection{Basic samples} |
| 64 |
The quick brown fox jumped over the lazy dog.\\ |
| 65 |
\textit{The quick brown fox jumped over the lazy dog.}\\ |
| 66 |
\textbf{The quick brown fox jumped over the lazy dog.}\\ |
| 67 |
\textbf{\textit{The quick brown fox jumped over the lazy dog.}}\\ |
| 68 |
\textsc{the quick brown fox jumped over the lazy dog.}\\ |
| 69 |
\lining{1234567890}\oldstyle{1234567890}\textsu{1234567890}\textin{1234567890} |
| 70 |
|
| 71 |
\section{Mathematics support} |
| 72 |
|
| 73 |
No math font is provided, but Domitian works well with \texttt{mathpazo}, like so: |
| 74 |
|
| 75 |
\begin{verbatim} |
| 76 |
\usepackage{mathpazo,domitian} |
| 77 |
\end{verbatim} |
| 78 |
|
| 79 |
Note that when Domitian is used with \texttt{mathpazo}, \texttt{mathpazo} must be loaded first, or else Domitian will not be used as the text font. |
| 80 |
|
| 81 |
With \hologo{LuaLaTeX} or \hologo{XeTeX}, it is possible to replace the Pazo alphabets with Domitian's, although this will reduce the quality of spacing in mathematics. To do so, do the following, again being sure to load \texttt{mathpazo} first: |
| 82 |
|
| 83 |
\begin{verbatim} |
| 84 |
\usepackage{mathpazo} |
| 85 |
\usepackage{mathfont} %Loads fontspec automatically |
| 86 |
\mathfont[upper,lower,diacritics,greekupper,greeklower, |
| 87 |
agreekupper,agreeklower,digits]{Domitian} |
| 88 |
\setmainfont[Numbers=OldStyle]{Domitian} |
| 89 |
\end{verbatim} |
| 90 |
|
| 91 |
|
| 92 |
(This example will use Domitian for text and for math alphabets, and will use |
| 93 |
the mathematical symbols from \texttt{mathpazo}; \texttt{newpxmath} also works well.) |
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
For more usage details, see the \texttt{fontspec} and \texttt{mathfont} packages' documentation. |
| 98 |
|
| 99 |
\section{Copyrights and licensing} |
| 100 |
Copyright © 2014, 2015 by (\textsc{urw})++ Design \& Development.\\ |
| 101 |
Copyright © 2019--2020 by Daniel Benjamin Miller. |
| 102 |
|
| 103 |
Domitian is made available under your choice of the \textsc{gnu} Affero \textsc{gpl} 3.0 (with a font |
| 104 |
exception), the \hologo{LaTeX} Project Public License 1.3c or the \textsc{sil} Open Font License |
| 105 |
1.1. For more details, see \texttt{COPYING}. |
| 106 |
|
| 107 |
\end{document} |