diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/domitian/domitian-doc.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/domitian/domitian-doc.tex | 73 |
1 files changed, 54 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/fonts/domitian/domitian-doc.tex b/Master/texmf-dist/doc/fonts/domitian/domitian-doc.tex index 98fe6ae2640..cd84e6f0a2f 100644 --- a/Master/texmf-dist/doc/fonts/domitian/domitian-doc.tex +++ b/Master/texmf-dist/doc/fonts/domitian/domitian-doc.tex @@ -1,8 +1,9 @@ \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}} +\usepackage[utf8]{luainputenc}\usepackage[T1]{fontenc} +\usepackage{amsmath,amsthm,mathpazo,parskip,hologo,booktabs} +\usepackage[oldstyle]{domitian} +\usepackage{microtype} +\title{\textit{The} Domitian \textit{font family}\\\large \textsc{version 1.0b}} \author{Daniel Benjamin Miller\thanks{\texttt{dbmiller@dbmiller.org}}} \begin{document} \maketitle @@ -11,9 +12,47 @@ The Domitian fonts are a free and open-source OpenType font family, based on the 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: +\section{Usage} +\subsection{Basic usage} +To use Domitian with \hologo{LaTeX}, include in the preamble: + +\begin{verbatim} +\usepackage[T1]{fontenc} %of OT1, T1, LGR, T2A/B/C +\usepackage{domitian} +\end{verbatim} + +\subsection{Package Options} +\begin{tabular}{@{} ll @{}} +\toprule +Package Option & Feature \\ +\midrule +\texttt{lining} & Use lining figures (default) \lining{1234567890}\\ +\texttt{oldstyle} & Use old-style figures \oldstyle{1234567890}\\ +\bottomrule +\end{tabular} +\subsection{Text Commands} +\begin{tabular}{@{} ll @{}} +\toprule +Text Command & Feature \\ +\midrule +\texttt{\textbackslash lining\{\}} & Use lining figures \lining{1234567890}\\ +\texttt{\textbackslash oldstyle\{\}} & Use old-style figures \oldstyle{1234567890}\\ +\texttt{\textbackslash textsc\{\}} & Use small caps (regular font only) \textsc{abcde\$\&}\\ +\texttt{\textbackslash textsu\{\}} & Use superior figures \textsu{1234567890}\\ +\texttt{\textbackslash textin\{\}} & Use inferior figures \textin{1234567890}\\ +\bottomrule +\end{tabular} + +\subsection{Using superior figures for footnotes} +To use superior figures for footnotes, include the following line in your preamble: + +\begin{verbatim} +\usepackage[supstfm=Domitian-Roman-sup-t1]{superiors} +\end{verbatim} + +\subsection{OpenType with \texttt{fontspec}} + +To use the OpenType version of Domitian in \hologo{LuaLaTeX} or \hologo{XeLaTeX}, include in the preamble: \begin{verbatim} \usepackage{fontspec} @@ -26,12 +65,19 @@ 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} +\lining{1234567890}\oldstyle{1234567890}\textsu{1234567890}\textin{1234567890} \section{Mathematics support} No math font is provided, but Domitian works well with \texttt{mathpazo}, like so: +\begin{verbatim} +\usepackage{mathpazo,domitian} +\end{verbatim} + +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. + +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: \begin{verbatim} \usepackage{mathpazo} @@ -49,17 +95,6 @@ the mathematical symbols from \texttt{mathpazo}; \texttt{newpxmath} also works w 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. |