summaryrefslogtreecommitdiff
path: root/fonts/domitian/doc/domitian-doc.tex
blob: 98fe6ae26401fc664420534a5758cc2324f7157e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
\documentclass[12pt]{article}
\usepackage{amsmath,amsthm,mathpazo,mathfont,parskip,hologo,microtype,realscripts}
\setmainfont[Numbers=OldStyle]{Domitian}
\mathfont[upper,lower,diacritics,greekupper,greeklower,agreekupper,agreeklower,digits]{Domitian}
\title{\textit{The} Domitian \textit{font family}\\\large \textsc{version 1.0a}}
\author{Daniel Benjamin Miller\thanks{\texttt{dbmiller@dbmiller.org}}}
\begin{document}
\maketitle
\section{Description}
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).

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.

\section{Basic usage}
Domitian is presently only available in OpenType format. To use it with a
modern engine such as \hologo{LuaLaTeX} or \hologo{XeLaTeX}, simply include in the preamble:

\begin{verbatim}
\usepackage{fontspec}
\setmainfont{Domitian}
\end{verbatim}

\subsection{Basic samples}
The quick brown fox jumped over the lazy dog.\\
\textit{The quick brown fox jumped over the lazy dog.}\\
\textbf{The quick brown fox jumped over the lazy dog.}\\
\textbf{\textit{The quick brown fox jumped over the lazy dog.}}\\
\textsc{the quick brown fox jumped over the lazy dog.}\\
\liningnums{1234567890}\oldstylenums{1234567890}\textsuperscript{1234567890}\textsubscript{1234567890}

\section{Mathematics support}

No math font is provided, but Domitian works well with \texttt{mathpazo}, like so:


\begin{verbatim}
\usepackage{mathpazo}
\usepackage{mathfont} %Loads fontspec automatically
\mathfont[upper,lower,diacritics,greekupper,greeklower,
agreekupper,agreeklower,digits]{Domitian}
\setmainfont[Numbers=OldStyle]{Domitian}
\end{verbatim}


(This example will use Domitian for text and for math alphabets, and will use
the mathematical symbols from \texttt{mathpazo}; \texttt{newpxmath} also works well.)



For more usage details, see the \texttt{fontspec} and \texttt{mathfont} packages' documentation.


\subsection{Basic mathematics samples}
\[
	\tilde f\left(\omega\right)=\frac{1}{2\pi}
	\int_{-\infty}^\infty f\left(x\right)e^{-i\omega x}\,dx
\]
\begin {align}\sum_{i= 0}^{n-1} \left(b + i d\right) a^i &= b \sum_{i= 0}^{n-1} a^i + d \sum_{i= 0}^{n-1} i a^i\\
 & = b \left(\frac{1-a^n}{1-a}\right) + d \left(\frac{a-na^n+\left(n-1\right)a^{n+1}}{\left(1-a\right)^2}\right)\\
 & = \frac{b\left(1-a^n\right) - \left(n - 1\right)d a^n}{1 - a}+\frac{da\left(1 - a^{n - 1}\right)}{\left(1 - a\right)^2}
\end {align}

\section{Copyrights and licensing}
Copyright © 2014, 2015 by (\textsc{urw})++ Design \& Development.\\
Copyright © 2019 by Daniel Benjamin Miller.

Domitian is made available under your choice of the \textsc{gnu} Affero \textsc{gpl} 3.0 (with a font
exception), the \hologo{LaTeX} Project Public License 1.3c or the \textsc{sil} Open Font License
1.1. For more details, see \texttt{COPYING}.

\end{document}