sourceserifpro/doc/latex/sourceserifpro/sourceserifpro.tex

187 lines
6.1 KiB
TeX
Raw Normal View History

2015-01-11 17:37:14 +01:00
\documentclass[10pt,a4paper,english]{article}
2015-05-13 19:37:08 +02:00
\usepackage{geometry,metalogo,hyperref,babel,mdwlist,array,multicol}
2014-10-28 18:48:51 +01:00
\usepackage[default,osf]{sourceserifpro}
\usepackage[scaled=.95]{sourcecodepro}
\hypersetup{
colorlinks,
citecolor=blue,
filecolor=blue,
linkcolor=blue,
urlcolor=blue
}
\newcommand*\file[1]{\href{run:#1.pdf}{#1}}
\title{\bfseries
\Huge sourceserifpro\\
\Large Adobe's Source Serif Pro typeface for \LaTeX
}
\author{Silke Hofstra, \href{mailto:tex@slxh.nl}{tex@slxh.nl}}
2018-11-10 17:46:52 +01:00
\date{Documentation for sourceserifpro v1.4.\\ \today}
2014-10-28 18:48:51 +01:00
\begin{document}
\maketitle
\begin{multicols}{2}
2015-05-13 19:37:08 +02:00
This package provides the Source Serif Pro 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-pro}{GitHub} are used. The entire font family is included.
This package is also available on \href{https://github.com/silkeh/latex-sourceserifpro}{GitHub}.
2014-10-28 18:48:51 +01:00
\section{Options}
The package has the following options:
\begin{itemize*}
\item \textbf{oldstyle, osf}: use old style numbers.
\item \textbf{lining, nf, lf}: use lining numbers.
\item \textbf{tabular}: use fixed-width numbers.
\item \textbf{proportional}: use normal numbers.
2015-01-11 17:37:14 +01:00
\item \textbf{black}: \texttt{\textbackslash bfseries} is black.
2014-10-28 18:48:51 +01:00
\item \textbf{semibold}: \texttt{\textbackslash bfseries} is semibold.
\item \textbf{bold}: \texttt{\textbackslash bfseries} is bold.
2015-01-11 17:37:14 +01:00
\item \textbf{light}: \texttt{\textbackslash mdseries} is light.
\item \textbf{extralight}: \texttt{\textbackslash mdseries} is extra light.
2014-10-28 18:48:51 +01:00
\item \textbf{regular}: \texttt{\textbackslash mdseries} is regular.
\item \textbf{scale, scaled}: Change the scaling with a factor. For example: \texttt{scale=.5}
2015-01-11 17:37:14 +01:00
\item \textbf{default}: Source Serif Pro is set as the default font family.
\item \textbf{normdefault}: Source Serif Pro is not set as the roman (serif) family.
2014-10-28 18:48:51 +01:00
\item \textbf{type1, t1}: Override automatic detection and use the Type 1 fonts.
\item \textbf{opentype, otf}: Override automatic detection and use OpenType fonts.
\end{itemize*}
The following options are enabled by default: lining, proportional, bold and regular.
\section{Commands}
Commands for all weights are also provided for \XeLaTeX\ and \LuaLaTeX\ users.
\begin{itemize*}
\item \texttt{\bfseries \textbackslash sourceserifpro}
-- the regular and bold weights.
2015-01-11 17:37:14 +01:00
\item \texttt{\bfseries \textbackslash sourceserifprolight}
-- the light and semibold weights.
\item \texttt{\bfseries \textbackslash sourceserifproextreme}
-- the extra light and black weights.
2014-10-28 18:48:51 +01:00
\end{itemize*}
\section{Licence}
Adobe's Source Serif Pro typeface is available under the \href{http://scripts.sil.org/OFL}{SIL Open Font License 1.1}.\\
All \LaTeX\ code is available under the \href{http://www.latex-project.org/lppl/}{\LaTeX\ project public license} v1.3 or later.
\section{Specimen}
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}.
\section{OpenType}
The OpenType fonts have many features, including old style numerals (1 6 9) and ligatures (fi fl ft).
\subsection{Features}
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}.
\subsection{Files}
\begin{itemize*}
2015-01-11 17:37:14 +01:00
\item SourceSerifPro-Black.otf
2018-09-05 11:27:31 +02:00
\item SourceSerifPro-BlackIt.otf
2014-10-28 18:48:51 +01:00
\item SourceSerifPro-Bold.otf
2018-09-05 11:27:31 +02:00
\item SourceSerifPro-BoldIt.otf
\item SourceSerifPro-ExtraLight.otf
\item SourceSerifPro-ExtraLightIt.otf
2015-01-11 17:37:14 +01:00
\item SourceSerifPro-Light.otf
2018-09-05 11:27:31 +02:00
\item SourceSerifPro-LightIt.otf
\item SourceSerifPro-Regular.otf
\item SourceSerifPro-RegularIt.otf
2015-01-11 17:37:14 +01:00
\item SourceSerifPro-Semibold.otf
2018-09-05 11:27:31 +02:00
\item SourceSerifPro-SemiboldIt.otf
2014-10-28 18:48:51 +01:00
\end{itemize*}
\section{Type1}
The following Type1 font families are included:
\begin{itemize*}
\item SourceSerifPro-LF
\item SourceSerifPro-TLF
\item SourceSerifPro-OsF
\item SourceSerifPro-TOsF
\end{itemize*}
2018-09-05 11:27:31 +02:00
With series el, l, m, sb, b, k and shape n, i and sc.
2014-10-28 18:48:51 +01:00
\section{Version history}
2018-11-10 17:46:52 +01:00
\subsection*{1.4}
\begin{itemize*}
\item Fix OpenType italics
\end{itemize*}
2018-09-05 11:27:31 +02:00
\subsection*{1.3}
\begin{itemize*}
\item Update fonts to 2.007R-ro/1.007R-it
\item Add small caps (Github issue \#2)
\item Add italics (Github issue \#3)
\end{itemize*}
2016-04-08 13:59:52 +02:00
\subsection*{1.2}
\begin{itemize*}
\item Fixed unimplemented weights (Github issue \#1)
\end{itemize*}
2015-01-11 17:37:14 +01:00
\subsection*{1.1}
\begin{itemize*}
\item Updated package with fonts 1.017
\end{itemize*}
2014-10-28 18:48:51 +01:00
\subsection*{1.0}
2015-01-11 17:37:14 +01:00
\begin{itemize*}
2014-10-28 18:48:51 +01:00
\item Initial release with fonts 1.014
2015-01-11 17:37:14 +01:00
\end{itemize*}
2014-10-28 18:48:51 +01:00
\section{Known issues}
\begin{itemize*}
\item There are no known issues.
\end{itemize*}
2015-01-11 17:37:14 +01:00
\vspace{0pt plus 1filll}\mbox{}
2014-10-28 18:48:51 +01:00
\newpage
\end{multicols}
\section{Specimen}
\label{sec:specimen}
\subsection{OpenType}
\begin{figure}[ht]
\centering
\includegraphics{sourceserifpro-otf-specimen}
\end{figure}
This table can also be found in \file{sourceserifpro-otf-specimen}.
\subsection{Type1}
\begin{figure}[ht]
\centering
\includegraphics{sourceserifpro-type1-specimen}
\end{figure}
This table can also be found in \file{sourceserifpro-type1-specimen}.
\newpage
\section{Opentype features}
\label{sec:otfinfo}
\begin{figure}[ht]
\centering
\begin{tabular}{>{\ttfamily}l l}
aalt & Access All Alternates \\
2018-09-05 11:27:31 +02:00
c2sc & Small Capitals From Capitals \\
2014-10-28 18:48:51 +01:00
case & Case-Sensitive Forms \\
2018-09-05 11:27:31 +02:00
ccmp & Glyph Composition/Decomposition \\
2014-10-28 18:48:51 +01:00
dnom & Denominators \\
frac & Fractions \\
kern & Kerning \\
liga & Standard Ligatures \\
lnum & Lining Figures \\
2018-09-05 11:27:31 +02:00
mark & Mark Positioning \\
mkmk & Mark to Mark Positioning \\
2014-10-28 18:48:51 +01:00
numr & Numerators \\
onum & Oldstyle Figures \\
ordn & Ordinals \\
pnum & Proportional Figures \\
sinf & Scientific Inferiors \\
size & Optical Size \\
2018-09-05 11:27:31 +02:00
smcp & Small Capitals \\
2014-10-28 18:48:51 +01:00
subs & Subscript \\
sups & Superscript \\
tnum & Tabular Figures \\
zero & Slashed Zero \\
\end{tabular}
\end{figure}
\textit{(list generated with otfinfo)}
\end{document}