| 1 |
\documentclass[10pt,a4paper,english]{article} |
| 2 |
\usepackage{geometry,metalogo,hyperref,babel,mdwlist,array,multicol} |
| 3 |
\usepackage[default,osf]{sourceserif} |
| 4 |
\usepackage[scaled=.95]{sourcecodepro} |
| 5 |
|
| 6 |
\hypersetup{ |
| 7 |
colorlinks, |
| 8 |
citecolor=blue, |
| 9 |
filecolor=blue, |
| 10 |
linkcolor=blue, |
| 11 |
urlcolor=blue |
| 12 |
} |
| 13 |
\newcommand*\file[1]{\href{run:#1.pdf}{#1}} |
| 14 |
|
| 15 |
\title{\bfseries |
| 16 |
\Huge sourceserif\\ |
| 17 |
\Large Adobe's Source Serif typeface for \LaTeX |
| 18 |
} |
| 19 |
|
| 20 |
\author{Silke Hofstra, \href{mailto:[email protected]}{[email protected]}} |
| 21 |
\date{Documentation for sourceserif v2.0.\\ \today} |
| 22 |
|
| 23 |
\begin{document} |
| 24 |
\maketitle |
| 25 |
\begin{multicols}{2} |
| 26 |
This package provides the Source Serif font in an easy to use way. For \XeLaTeX\ and \LuaLaTeX\ users the original OpenType fonts from \href{https://github.com/adobe-fonts/source-serif}{GitHub} are used. The entire font family is included. |
| 27 |
|
| 28 |
This package is also available on \href{https://gitlab.com/slxh/latex/sourceserif}{GitLab}. |
| 29 |
|
| 30 |
\section{Options} |
| 31 |
The package has the following options: |
| 32 |
\begin{itemize*} |
| 33 |
\item \textbf{oldstyle, osf}: use old style numbers. |
| 34 |
\item \textbf{lining, nf, lf}: use lining numbers. |
| 35 |
\item \textbf{tabular}: use fixed-width numbers. |
| 36 |
\item \textbf{proportional}: use normal numbers. |
| 37 |
\item \textbf{black}: \texttt{\textbackslash bfseries} is black. |
| 38 |
\item \textbf{semibold}: \texttt{\textbackslash bfseries} is semibold. |
| 39 |
\item \textbf{bold}: \texttt{\textbackslash bfseries} is bold. |
| 40 |
\item \textbf{light}: \texttt{\textbackslash mdseries} is light. |
| 41 |
\item \textbf{extralight}: \texttt{\textbackslash mdseries} is extra light. |
| 42 |
\item \textbf{regular}: \texttt{\textbackslash mdseries} is regular. |
| 43 |
\item \textbf{scale, scaled}: Change the scaling with a factor. For example: \texttt{scale=.5} |
| 44 |
\item \textbf{default}: Source Serif is set as the default font family. |
| 45 |
\item \textbf{normdefault}: Source Serif is not set as the roman (serif) family. |
| 46 |
\item \textbf{type1, t1}: Override automatic detection and use the Type 1 fonts. |
| 47 |
\item \textbf{opentype, otf}: Override automatic detection and use OpenType fonts. |
| 48 |
\end{itemize*} |
| 49 |
The following options are enabled by default: lining, proportional, bold and regular. |
| 50 |
|
| 51 |
\section{Commands} |
| 52 |
Commands for all weights are also provided for \XeLaTeX\ and \LuaLaTeX\ users. |
| 53 |
\begin{itemize*} |
| 54 |
\item \texttt{\bfseries \textbackslash sourceserif} |
| 55 |
-- the regular and bold weights. |
| 56 |
\item \texttt{\bfseries \textbackslash sourceseriflight} |
| 57 |
-- the light and semibold weights. |
| 58 |
\item \texttt{\bfseries \textbackslash sourceserifextreme} |
| 59 |
-- the extra light and black weights. |
| 60 |
\end{itemize*} |
| 61 |
|
| 62 |
\section{Licence} |
| 63 |
Adobe's Source Serif typeface is available under the \href{http://scripts.sil.org/OFL}{SIL Open Font License 1.1}.\\ |
| 64 |
All \LaTeX\ code is available under the \href{http://www.latex-project.org/lppl/}{\LaTeX\ project public license} v1.3 or later. |
| 65 |
|
| 66 |
\section{Specimen} |
| 67 |
Simple specimen can be found on page \pageref{sec:specimen}. Full specimen can be \href{http://store1.adobe.com/type/browser/pdfs/1966.pdf}{acquired from Adobe}. |
| 68 |
|
| 69 |
\section{OpenType} |
| 70 |
The OpenType fonts have many features, including old style numerals (1 6 9) and ligatures (fi fl ft). |
| 71 |
|
| 72 |
\subsection{Features} |
| 73 |
A complete list of available font features is available on page \pageref{sec:otfinfo}. More information on how to use font features can be found in the \href{http://mirror.ctan.org/macros/latex/contrib/fontspec/fontspec.pdf}{fontspec documentation}. |
| 74 |
|
| 75 |
\subsection{Files} |
| 76 |
\begin{itemize*} |
| 77 |
\item SourceSerifFour-Black.otf |
| 78 |
\item SourceSerifFour-BlackIt.otf |
| 79 |
\item SourceSerifFour-Bold.otf |
| 80 |
\item SourceSerifFour-BoldIt.otf |
| 81 |
\item SourceSerifFour-ExtraLight.otf |
| 82 |
\item SourceSerifFour-ExtraLightIt.otf |
| 83 |
\item SourceSerifFour-Light.otf |
| 84 |
\item SourceSerifFour-LightIt.otf |
| 85 |
\item SourceSerifFour-Regular.otf |
| 86 |
\item SourceSerifFour-RegularIt.otf |
| 87 |
\item SourceSerifFour-Semibold.otf |
| 88 |
\item SourceSerifFour-SemiboldIt.otf |
| 89 |
\end{itemize*} |
| 90 |
|
| 91 |
\section{Type1} |
| 92 |
The following Type1 font families are included: |
| 93 |
\begin{itemize*} |
| 94 |
\item SourceSerifFour-LF |
| 95 |
\item SourceSerifFour-TLF |
| 96 |
\item SourceSerifFour-OsF |
| 97 |
\item SourceSerifFour-TOsF |
| 98 |
\end{itemize*} |
| 99 |
|
| 100 |
With series ‘extralight’, ‘light’, ‘regular’, ‘semibold’, ‘bold’, ‘black’ and shape ‘n’, ‘i’ and ‘sc’. |
| 101 |
|
| 102 |
\section{Version history} |
| 103 |
\subsection*{2.0} |
| 104 |
\begin{itemize*} |
| 105 |
\item Update fonts to 4.005 |
| 106 |
\item Rename package to \texttt{sourceserif} |
| 107 |
\end{itemize*} |
| 108 |
|
| 109 |
\subsection*{1.4} |
| 110 |
\begin{itemize*} |
| 111 |
\item Fix OpenType italics |
| 112 |
\end{itemize*} |
| 113 |
|
| 114 |
\subsection*{1.3} |
| 115 |
\begin{itemize*} |
| 116 |
\item Update fonts to 2.007R-ro/1.007R-it |
| 117 |
\item Add small caps (Github issue \#2) |
| 118 |
\item Add italics (Github issue \#3) |
| 119 |
\end{itemize*} |
| 120 |
|
| 121 |
\subsection*{1.2} |
| 122 |
\begin{itemize*} |
| 123 |
\item Fixed unimplemented weights (Github issue \#1) |
| 124 |
\end{itemize*} |
| 125 |
|
| 126 |
\subsection*{1.1} |
| 127 |
\begin{itemize*} |
| 128 |
\item Updated package with fonts 1.017 |
| 129 |
\end{itemize*} |
| 130 |
|
| 131 |
\subsection*{1.0} |
| 132 |
\begin{itemize*} |
| 133 |
\item Initial release with fonts 1.014 |
| 134 |
\end{itemize*} |
| 135 |
|
| 136 |
\section{Known issues} |
| 137 |
|
| 138 |
Issues can be reported \href{https://gitlab.com/slxh/latex/sourceserif/issues}{on GitLab} and \href{https://github.com/silkeh/latex-sourceserifpro/issues}{GitHub}. |
| 139 |
|
| 140 |
\newpage |
| 141 |
\end{multicols} |
| 142 |
|
| 143 |
\section{Specimen} |
| 144 |
\label{sec:specimen} |
| 145 |
\subsection{OpenType} |
| 146 |
\begin{figure}[ht] |
| 147 |
\centering |
| 148 |
\includegraphics{sourceserif-otf-specimen} |
| 149 |
\end{figure} |
| 150 |
This table can also be found in \file{sourceserif-otf-specimen}. |
| 151 |
|
| 152 |
\subsection{Type1} |
| 153 |
\begin{figure}[ht] |
| 154 |
\centering |
| 155 |
\includegraphics{sourceserif-type1-specimen} |
| 156 |
\end{figure} |
| 157 |
This table can also be found in \file{sourceserif-type1-specimen}. |
| 158 |
|
| 159 |
\newpage |
| 160 |
\section{Opentype features} |
| 161 |
\label{sec:otfinfo} |
| 162 |
|
| 163 |
\begin{figure}[ht] |
| 164 |
\centering |
| 165 |
\begin{tabular}{>{\ttfamily}l l} |
| 166 |
aalt & Access All Alternates \\ |
| 167 |
c2sc & Small Capitals From Capitals \\ |
| 168 |
case & Case-Sensitive Forms \\ |
| 169 |
ccmp & Glyph Composition/Decomposition \\ |
| 170 |
dnom & Denominators \\ |
| 171 |
frac & Fractions \\ |
| 172 |
kern & Kerning \\ |
| 173 |
liga & Standard Ligatures \\ |
| 174 |
lnum & Lining Figures \\ |
| 175 |
mark & Mark Positioning \\ |
| 176 |
mkmk & Mark to Mark Positioning \\ |
| 177 |
numr & Numerators \\ |
| 178 |
onum & Oldstyle Figures \\ |
| 179 |
ordn & Ordinals \\ |
| 180 |
pnum & Proportional Figures \\ |
| 181 |
sinf & Scientific Inferiors \\ |
| 182 |
size & Optical Size \\ |
| 183 |
smcp & Small Capitals \\ |
| 184 |
ss01 & Stylistic Set 1 \\ |
| 185 |
ss02 & Stylistic Set 2 \\ |
| 186 |
subs & Subscript \\ |
| 187 |
sups & Superscript \\ |
| 188 |
tnum & Tabular Figures \\ |
| 189 |
zero & Slashed Zero \\ |
| 190 |
\end{tabular} |
| 191 |
\end{figure} |
| 192 |
\textit{(list generated with otfinfo)} |
| 193 |
|
| 194 |
\end{document} |