| 1 |
% !TEX-PROGRAM: PDFLATEX |
| 2 |
|
| 3 |
% DOCUMENT CLASS |
| 4 |
|
| 5 |
\documentclass[12pt,letterpaper,twoside,final]{article} |
| 6 |
|
| 7 |
% FONT ENCODING |
| 8 |
|
| 9 |
\usepackage[T2C,T2B,T2A,LGR,TS1,T1]{fontenc} |
| 10 |
|
| 11 |
% SÍMBOLOS |
| 12 |
|
| 13 |
\usepackage[full]{textcomp} |
| 14 |
|
| 15 |
% TYPEFACES |
| 16 |
|
| 17 |
\usepackage[semibold,scosf]{ysabeau} |
| 18 |
\renewcommand{\rmdefault}{\sfdefault} % switch |
| 19 |
\usepackage{hologo} |
| 20 |
|
| 21 |
% LANGUAGE |
| 22 |
|
| 23 |
\usepackage[american]{babel} |
| 24 |
|
| 25 |
% PAGE LAYOUT |
| 26 |
|
| 27 |
\usepackage[margin=2.5cm,includehead=true,headsep=1.5cm]{geometry} |
| 28 |
|
| 29 |
% MICROTYPOGRAPHY |
| 30 |
|
| 31 |
\usepackage[activate={true,nocompatibility}, |
| 32 |
final=true,babel=true,tracking=true,kerning=true,spacing=true, |
| 33 |
factor=1000,stretch=20,shrink=20]{microtype} |
| 34 |
\SetTracking{encoding=*,shape=sc}{30} |
| 35 |
%\DeclareMicrotypeSet*{smallcapsi} |
| 36 |
%{encoding={TS1,T1},shape={sc*,si,scit}} |
| 37 |
|
| 38 |
% FOOTNOTE MARKS |
| 39 |
|
| 40 |
\let\oldfootnote\footnote |
| 41 |
\renewcommand\footnote[1]{% |
| 42 |
\oldfootnote{\hspace{.5mm}#1}} |
| 43 |
|
| 44 |
% HEADERS |
| 45 |
|
| 46 |
\usepackage[nocheck]{fancyhdr} |
| 47 |
|
| 48 |
% TABLES |
| 49 |
|
| 50 |
\usepackage{longtable,booktabs} |
| 51 |
\usepackage[font=footnotesize]{caption} |
| 52 |
\usepackage{float} |
| 53 |
|
| 54 |
% LISTS |
| 55 |
|
| 56 |
\usepackage{enumitem} |
| 57 |
|
| 58 |
% FONT TABLES |
| 59 |
|
| 60 |
\usepackage{fonttable} |
| 61 |
|
| 62 |
% GRAPHICS |
| 63 |
|
| 64 |
\usepackage{graphicx} |
| 65 |
|
| 66 |
% HYPERLINKS |
| 67 |
|
| 68 |
\usepackage[hyperindex=true,final=true,bookmarks=true,bookmarksnumbered=true, |
| 69 |
bookmarksopen=true,breaklinks=true,citecolor=black,colorlinks=true, |
| 70 |
linkcolor=black,urlcolor=black,pdftitle={The Ysabeau font package},pdfsubject={TeX},pdfauthor={Noel Merino Hernández},pdfkeywords={Typography Ysabeau Christian Thalmann LaTeX pdfLaTeX},pdfproducer={pdflatex 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian)},pdfcreator={Noel Merino Hernández ([email protected])}]{hyperref} |
| 71 |
|
| 72 |
\urlstyle{sf} |
| 73 |
|
| 74 |
\usepackage{hyperxmp} |
| 75 |
\hypersetup{ |
| 76 |
pdfcopyright={This document is provided as is, but without warranty, and is distributed under Do What The Fuck You Want To Public License (WTFPL), version 2.0 or later.}, |
| 77 |
pdflicenseurl={http://www.wtfpl.net/} |
| 78 |
} |
| 79 |
|
| 80 |
\title{The Ysabeau font\footnote{version font: 2.006} package} |
| 81 |
\author{Noel Merino Hernández \\ {\small \href{[email protected]}{muxkernel at gmail dot com}}} |
| 82 |
|
| 83 |
% DOCUMENT |
| 84 |
\begin{document} |
| 85 |
\setlength{\parindent}{1em} |
| 86 |
\setlength{\parskip=}{0pt} |
| 87 |
\maketitle |
| 88 |
\raggedbottom |
| 89 |
\begin{abstract} |
| 90 |
\noindent The Ysabeau font package provides \LaTeX\ support for traditional \TeX\ engines (\textsc{pdf}\TeX, dvips, an so on).\footnote{For shapes and weights, see \S~\ref{sec:shapes-and-weights}, page \pageref{sec:shapes-and-weights}.} For \hologo{XeTeX} and \hologo{LuaTeX} users, OpenType and TrueType fonts are \emph{only} provided to use with \texttt{fontspec} package. This package does not provide configuration files for those \TeX\ engines. |
| 91 |
\end{abstract} |
| 92 |
\section{Introduction}\label{sec:introduction} |
| 93 |
\thispagestyle{empty} |
| 94 |
\pagestyle{fancy} |
| 95 |
\fancyhf{} |
| 96 |
\fancyhead[CE,CO]{The Ysabeau font package} |
| 97 |
\fancyhead[LE,RO]{\thepage} |
| 98 |
\renewcommand{\headrulewidth}{0.4pt} |
| 99 |
On github, we can read: |
| 100 |
\begin{quote} |
| 101 |
Ysabeau is a free type family developed by Christian Thalmann (Catharsis Fonts). It combines the time-honored and supremely readable letterforms of the Garamond legacy with the clean crispness of a low-contrast sans serif, rendering it well suited for body copy as well as display. |
| 102 |
\end{quote} |
| 103 |
Ysabeau font was drawn from scratch by Christian Thalmann, using the comercial font editor Glyphs, but was distributed under \textls[50]{SIL} open font license. Previously known as ``Eua de Garamond'', the typeface was later renamed after Ysabeau, the second wife of Claude Garamond (1499--1561). In the end, it's just another Garamond typeface in sans serif form living out there. |
| 104 |
\section{Document license}\label{sec:document-license} |
| 105 |
This document is provided \emph{as is,} without warranty, and is distributed under \href{http://www.wtfpl.net}{Do What The Fuck You Want To Public License (\textsc{wtfpl})}, version 2 or later. For a detailed information about this license, visit \url{http://www.wtfpl.net/about} |
| 106 |
\section{Interference with other packages} |
| 107 |
The Ysabeau font package load automatically the following packages: \texttt{fontenc, textcomp, xstring, ifthen, scalefnt, etoolbox, xkeyval, mweights} and \texttt{fontaxes}. If you want to pass some options a these packages, just do it \emph{before} to use the \texttt{Ysabeau} font package. Example: |
| 108 |
\begin{verbatim} |
| 109 |
\usepackage[T2A,LGR,TS1,T1]{fontenc} % load before Ysabeau |
| 110 |
\usepackage[full]{textcomp} % load before Ysabeau |
| 111 |
\usepackage[osf,scosf]{ysabeau} |
| 112 |
\end{verbatim} |
| 113 |
\section{Usage}\label{sec:usage} |
| 114 |
Just add \verb|\usepackage{ysabeau}| at the preamble of your document. That's it! |
| 115 |
\section{Package options}\label{sec:package-options} |
| 116 |
\begin{table}[H] |
| 117 |
\centering |
| 118 |
\caption{Package options} |
| 119 |
\begin{tabular}{@{}lll@{}} |
| 120 |
\toprule |
| 121 |
Option & Example or description & Render as \\ |
| 122 |
\midrule |
| 123 |
scale o scaled & \verb|\usepackage[scale=0.9]{ysabeau}| & {} \\ |
| 124 |
lining, lf or LF & it will use lining figures & \textlf{12345} \\ |
| 125 |
oldstyle, osf or OSF\textsu{*} & it will use oldstyle figures & \textosf{12345} \\ |
| 126 |
tabular, t or T & it will use tabular figures & \texttlf{12345} \\ |
| 127 |
proportional, p or P\textsu{*} & it will use proportional figures & {} \\ |
| 128 |
mainfont & it will use Ysabeau font (\verb|\rmfamily|) by default & {} \\ |
| 129 |
scosf & it will use oldstyle figures in small caps block & \textsc{12345} \\ |
| 130 |
black & it will use black font (\verb|\bfseries|) & \black{black} \\ |
| 131 |
extrabold & it will use extrabold font (\verb|\bfseries|) & \extrabold{extrabold} \\ |
| 132 |
bold\textsu{*} & it will use bold font (\verb|\bfseries|) & \bold{bold} \\ |
| 133 |
semibold & it will use semibold font (\verb|\bfseries|) & \semibold{semibold} \\ |
| 134 |
medium\textsu{1} & it will use medium font (\verb|\mdseries|) & {} \\ |
| 135 |
regular\textsu{*} & it will use regular font (\verb|\mdseries|) & regular \\ |
| 136 |
light & it will use light font (\verb|\mdseries|) & \light{light} \\ |
| 137 |
extralight & it will use extralight font (\verb|\mdseries|) & \extralight{extralight} \\ |
| 138 |
thin & it will use thin font (\verb|\mdseries|) & \thin{thin} \\ |
| 139 |
hairline & it will use hairline font (\verb|\mdseries|) & \hairline{hairline} \\ |
| 140 |
\bottomrule |
| 141 |
\end{tabular} |
| 142 |
\caption*{* default.\hspace*{1em}\textsu{1} a bit heavier than regular.} |
| 143 |
\end{table} |
| 144 |
\section{Font encodings}\label{sec:font-encodings} |
| 145 |
\begin{table}[H] |
| 146 |
\centering |
| 147 |
\caption{Font encodings} |
| 148 |
\begin{tabular}{@{}ll@{}} |
| 149 |
\toprule |
| 150 |
Language & Encodings \\ |
| 151 |
\midrule |
| 152 |
Vietnamese & \texttlf{T5} \\ |
| 153 |
Afrikáans & \texttlf{T4} \\ |
| 154 |
\textsc{ipa} & \texttlf{TS3, T3} \\ |
| 155 |
Latin & \texttlf{QX, CS, L7X, LY1, OT1, TS1, T1} \\ |
| 156 |
Cyrillic & \texttlf{T2C, T2B, T2A} \\ |
| 157 |
Greek & LGR \\ |
| 158 |
\bottomrule |
| 159 |
\end{tabular} |
| 160 |
\end{table} |
| 161 |
\section{Shapes and weights}\label{sec:shapes-and-weights} |
| 162 |
\begin{table}[H] |
| 163 |
\centering |
| 164 |
\caption{Shapes} |
| 165 |
\begin{tabular}{@{}ll@{}} |
| 166 |
\toprule |
| 167 |
Shape & Render as \\ |
| 168 |
\midrule |
| 169 |
n & Romans \\ |
| 170 |
it & \emph{Italics} \\ |
| 171 |
sw & \textsw{ct, fi, fl, rt, sp, \&, Q} \\ |
| 172 |
sc & \textsc{Small caps} \\ |
| 173 |
\bottomrule |
| 174 |
\end{tabular} |
| 175 |
\label{tab:shapes} |
| 176 |
\end{table} |
| 177 |
\begin{table}[H] |
| 178 |
\centering |
| 179 |
\caption{Weights} |
| 180 |
\begin{tabular}{@{}ll@{}} |
| 181 |
\toprule |
| 182 |
Weight & Render as \\ |
| 183 |
\midrule |
| 184 |
Hairline & \hairline{Hairline} \\ |
| 185 |
Thin & \thin{Thin} \\ |
| 186 |
Extralight & \extralight{Extralight} \\ |
| 187 |
Light & \light{Light} \\ |
| 188 |
Regular & Regular \\ |
| 189 |
Medium\textsu{1} & {} \\ |
| 190 |
Semibold & \semibold{Semibold} \\ |
| 191 |
Bold & \bold{Bold} \\ |
| 192 |
Extrabold & \extrabold{Extrabold} \\ |
| 193 |
Black & \black{Black} \\ |
| 194 |
\bottomrule |
| 195 |
\end{tabular} |
| 196 |
\caption*{\textsu{1} a bit heavier than regular.} |
| 197 |
\label{tab:weights} |
| 198 |
\end{table} |
| 199 |
\noindent The following commands and declarations (Table~\ref{tab:commands-for-weights}) are provided \emph{just} for local use (weights), regardless of the options chosen in the package. |
| 200 |
\begin{table}[H] |
| 201 |
\centering |
| 202 |
\caption{Commands and declarations for weights} |
| 203 |
\begin{tabular}{@{}llll@{}} |
| 204 |
\toprule |
| 205 |
Weight & Command & Declaration & Render as \\ |
| 206 |
\midrule |
| 207 |
Hairline & \verb|\hairline{}| & \verb|\hairlinefont | & {\hairlinefont Hairline} \\ |
| 208 |
Thin & \verb|\thin{}| & \verb|\thinfont | & {\thinfont Thin} \\ |
| 209 |
Extralight & \verb|\extralight{}| & \verb|\extralightfont | & {\extralightfont Extralight} \\ |
| 210 |
Light & \verb|\light{}| & \verb|\lightfont | & {\lightfont Light} \\ |
| 211 |
Semibold & \verb|\semibold{}| & \verb|\semiboldfont | & {\semiboldfont Semibold} \\ |
| 212 |
Bold & \verb|\bold{}| & \verb|\boldfont | & {\boldfont Bold} \\ |
| 213 |
Extrabold & \verb|\extrabold{}| & \verb|\extraboldfont | & {\extraboldfont Extrabold} \\ |
| 214 |
Black & \verb|\black{}| & \verb|\blackfont | & {\blackfont Black} \\ |
| 215 |
\bottomrule |
| 216 |
\end{tabular} |
| 217 |
\label{tab:commands-for-weights} |
| 218 |
\end{table} |
| 219 |
\section{Figures}\label{sec:figures} |
| 220 |
See also package options (\S\,\ref{sec:package-options}, page~\pageref{sec:package-options}) for figures. The following commands and declarations (Table \ref{tab:figures}) are provided \emph{just} for local use, regardless of the options chosen in the package. |
| 221 |
\begin{table}[h] |
| 222 |
\centering |
| 223 |
\caption{Figures} |
| 224 |
\begin{tabular}{@{}llr@{}} |
| 225 |
\toprule |
| 226 |
Command & Declaration & Render as \\ |
| 227 |
\midrule |
| 228 |
\verb|\textlf{}| & \verb|\lfstyle| & {\lfstyle 1234567890} \\ |
| 229 |
\verb|\liningnums{}| & \verb|\lfstyle| & \liningnums{1234567890} \\ |
| 230 |
\verb|\texttlf{}| & \verb|\tlfstyle| & {\tlfstyle 1234567890} \\ |
| 231 |
\verb|\tabularliningnums{}| & \verb|\tlfstyle| & \tabularliningnums{1234567890} \\ |
| 232 |
\verb|\textosf{}| & \verb|\osfstyle| & {\osfstyle 1234567890} \\ |
| 233 |
\verb|\oldstylenums{}| & \verb|\osfstyle| & \oldstylenums{1234567890} \\ |
| 234 |
\verb|\texttosf{}| & \verb|\tosfstyle| & {\tosfstyle 1234567890} \\ |
| 235 |
\verb|\tabularoldstylenums{}| & \verb|\tosfstyle| & \tabularoldstylenums{1234567890} \\ |
| 236 |
\bottomrule |
| 237 |
\end{tabular} |
| 238 |
\label{tab:figures} |
| 239 |
\end{table} |
| 240 |
\subsection{Superiors}\label{subsec:superiors} |
| 241 |
\begin{table}[H] |
| 242 |
\centering |
| 243 |
\caption{Superiors} |
| 244 |
\begin{tabular}{@{}lcr@{}} |
| 245 |
\toprule |
| 246 |
Command & Declarations & Render as \\ |
| 247 |
\midrule |
| 248 |
\verb|\textsu{}| & \verb|\supfigures| or \verb|\supstyle| & \textsu{1234567890} \\ |
| 249 |
\verb|\textsup{}| & \verb|\supfigures| or \verb|\supstyle| & \textsup{1234567890} \\ |
| 250 |
\verb|\textsuperior{}| & \verb|\supfigures| or \verb|\supstyle| & \textsuperior{1234567890} \\ |
| 251 |
\verb|\supscript{}| & \verb|\supfigures| or \verb|\supstyle| & \supscript{1234567890} \\ |
| 252 |
\verb|\textsuperscript{}| & {} & \textsuperscript{1234567890} \\ |
| 253 |
\verb|\textsuperscript*{}| & {} & \textsuperscript*{1234567890} \\ |
| 254 |
\bottomrule |
| 255 |
\end{tabular} |
| 256 |
\end{table} |
| 257 |
\subsection{Numerators}\label{subsec:numerators} |
| 258 |
\begin{table}[H] |
| 259 |
\centering |
| 260 |
\caption{Numerators} |
| 261 |
\begin{tabular}{@{}lcr@{}} |
| 262 |
\toprule |
| 263 |
Command & Declarations & Render as \\ |
| 264 |
\midrule |
| 265 |
\verb|\textnum{}| & \verb|\numfigures| or \verb|\numstyle| & \textnum{1234567890} \\ |
| 266 |
\verb|\textnumerators{}| & \verb|\numfigures| or \verb|\numstyle| & {\numstyle 1234567890} \\ |
| 267 |
\bottomrule |
| 268 |
\end{tabular} |
| 269 |
\caption*{\textsc{Note:} superiors and numerators are different: a\textsu{1}\textnum{1}b.} |
| 270 |
\end{table} |
| 271 |
\subsection{Denominators}\label{subsec:denominators} |
| 272 |
\begin{table}[H] |
| 273 |
\centering |
| 274 |
\caption{Denominators} |
| 275 |
\begin{tabular}{@{}lcr@{}} |
| 276 |
\toprule |
| 277 |
Command & Declarations & Render as \\ |
| 278 |
\midrule |
| 279 |
\verb|\textde{}| & \verb|\denfigures| or \verb|\denstyle| & \textde{1234567890} \\ |
| 280 |
\verb|\textden{}| & \verb|\denfigures| or \verb|\denstyle| & \textden{1234567890} \\ |
| 281 |
\verb|\textdenominators{}| & \verb|\denfigures| or \verb|\denstyle| & \textdenominators{1234567890} \\ |
| 282 |
\bottomrule |
| 283 |
\end{tabular} |
| 284 |
\end{table} |
| 285 |
\subsection{Inferiors}\label{subsec:inferiors} |
| 286 |
\begin{table}[H] |
| 287 |
\centering |
| 288 |
\caption{Inferiors} |
| 289 |
\begin{tabular}{@{}lcr@{}} |
| 290 |
\toprule |
| 291 |
Command & Declarations & Render as \\ |
| 292 |
\midrule |
| 293 |
\verb|\textinf{}| & \verb|\inffigures| or \verb|\infstyle| & \textinf{1234567890} \\ |
| 294 |
\verb|\textinferior{}| & \verb|\inffigures| or \verb|\infstyle| & \textinferior{1234567890} \\ |
| 295 |
\verb|\subscript{}| & \verb|\inffigures| or \verb|\infstyle| & \subscript{1234567890} \\ |
| 296 |
\verb|\textsubscript{}| & {} & \textsubscript{1234567890} \\ |
| 297 |
\verb|\textsubscript*{}| & {} & \textsubscript*{1234567890} \\ |
| 298 |
\bottomrule |
| 299 |
\end{tabular} |
| 300 |
\caption*{\textsc{Note:} denominators and inferiors are different: a\textde{1}\textinf{1}b.} |
| 301 |
\end{table} |
| 302 |
\def\solidus{{\fontencoding{TS1}\selectfont\char47}} |
| 303 |
\section{\texorpdfstring{\protect\textsuperscript*{Text}}{Text}\texorpdfstring{\protect\solidus}{\slash}\texorpdfstring{\protect\textsubscript*{fractions}}{fractions}} |
| 304 |
\label{sec:fractions} |
| 305 |
\begin{table}[H] |
| 306 |
\centering |
| 307 |
\caption{\protect\textsuperscript*{Text}\solidus\protect\textsubscript*{fractions}} |
| 308 |
\begin{tabular}{@{}ll@{}} |
| 309 |
\toprule |
| 310 |
Command or declaration & Render as \\ |
| 311 |
\midrule |
| 312 |
\verb|\textfrac[1]{1}{2}| & \textfrac[1]{1}{2} \\ |
| 313 |
\verb|\textfrac{1}{2}| & \phantom{0}\textfrac{1}{2} \\ |
| 314 |
\verb|\onequarter| & \phantom{0}\onequarter \\ |
| 315 |
\verb|\onehalf| & \phantom{0}\onehalf \\ |
| 316 |
\verb|\threequarters| & \phantom{0}\threequarters \\ |
| 317 |
\bottomrule |
| 318 |
\end{tabular} |
| 319 |
\end{table} |
| 320 |
\section{Concluding remarks}\label{sec:concluding-remarks} |
| 321 |
To use Ysabeau fonts, just add the line |
| 322 |
\begin{verbatim} |
| 323 |
\usepackage{ysabeau} |
| 324 |
\end{verbatim} |
| 325 |
at the preamble of your document. That's it. |
| 326 |
|
| 327 |
The Ysabeau fonts were created to Adobe PostScript (type1) using \texttt{cfftot1}; \LaTeX\ files support were created with \texttt{autoinst}, wrapper of \texttt{LCDF TypeTools} suite. This package would not exist without the help of \TeX\ h4ck3rs: Marc Penninga (\texttt{autoinst}) and Eddie Kohler (\texttt{LCDF TypeTools}). Thank you so much guys. |
| 328 |
|
| 329 |
The Ysabeau fonts are distributed under \textls[50]{SIL} open font license, version 1.1. A verbatim of this license can be found in \texttt{doc} folder. The \LaTeX\ files support are Public Domain. This document is licensed under \href{http://www.wtfpl.net}{Do What The Fuck You Want To Public License (\textsc{wtfpl})}, version 2 or later. A verbatim of this license can be found in \texttt{doc} folder. For a detailed information about this license, visit \url{http://www.wtfpl.net/about} |
| 330 |
\section{Glyphs}\label{sec:glyphs} |
| 331 |
\subsection{QX} |
| 332 |
\fonttable{Ysabeau-Regular-lf-qx.tfm} |
| 333 |
\subsection{\textlf{L7X}} |
| 334 |
\fonttable{Ysabeau-Regular-lf-l7x.tfm} |
| 335 |
\subsection{CS} |
| 336 |
\fonttable{Ysabeau-Regular-lf-cs.tfm} |
| 337 |
\subsection{\textlf{LGR}} |
| 338 |
\fonttable{Ysabeau-Regular-lf-lgr.tfm} |
| 339 |
\subsection{\textlf{T5}} |
| 340 |
\fonttable{Ysabeau-Regular-lf-t5.tfm} |
| 341 |
\subsection{\textlf{T4}} |
| 342 |
\fonttable{Ysabeau-Regular-lf-t4.tfm} |
| 343 |
\subsection{\textlf{TS3}} |
| 344 |
\fonttable{Ysabeau-Regular-lf-ts3.tfm} |
| 345 |
\subsection{\textlf{T3}} |
| 346 |
\fonttable{Ysabeau-Regular-lf-t3.tfm} |
| 347 |
\subsection{\textlf{T2C}} |
| 348 |
\fonttable{Ysabeau-Regular-lf-t2c.tfm} |
| 349 |
\subsection{\textlf{T2B}} |
| 350 |
\fonttable{Ysabeau-Regular-lf-t2b.tfm} |
| 351 |
\subsection{\textlf{T2A}} |
| 352 |
\fonttable{Ysabeau-Regular-lf-t2a.tfm} |
| 353 |
\subsection{\textlf{LY1}} |
| 354 |
\fonttable{Ysabeau-Regular-lf-ly1.tfm} |
| 355 |
\subsection{\textlf{OT1}} |
| 356 |
\fonttable{Ysabeau-Regular-lf-ot1.tfm} |
| 357 |
\subsection{\textlf{TS1}} |
| 358 |
\fonttable{Ysabeau-Regular-lf-ts1.tfm} |
| 359 |
\subsection{\textlf{T1}} |
| 360 |
\fonttable{Ysabeau-Regular-lf-t1.tfm} |
| 361 |
\subsection{\textlf{T1} (Swash)} |
| 362 |
\fonttable{Ysabeau-Italic-lf-swash-t1.tfm} |
| 363 |
\end{document} |