summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sourcesanspro/sourcesanspro.tex
blob: 666b3863f7888aa1ed3a47b5595d4fc7026d713a (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
\documentclass[11pt,a4paper,english]{article}
\usepackage{geometry,dtklogos,hyperref,babel,mdwlist,array,multicol}
\usepackage[default,osf]{sourcesanspro-otf}
\usepackage[scaled=.95]{sourcecodepro-otf}

\hypersetup{
    colorlinks,
    citecolor=blue,
    filecolor=blue,
    linkcolor=blue,
    urlcolor=blue
}
\newcommand*\file[1]{\href{run:#1.pdf}{#1}}

\title{\bfseries
	\Huge sourcesanspro\\
	\Large Adobe's Source Sans Pro typeface for \LaTeX
}
\author{Silke Hofstra, \href{mailto:silke@slxh.nl}{silke@slxh.nl}}

\begin{document}
\maketitle
\begin{multicols}{2}
This package provides the Source Sans Pro font in an easy to use way. For \XeLaTeX\ and \LuaLaTeX\ users the original OpenType fonts are used. The entire font family is included. It can also be downloaded from \href{https://github.com/adobe/source-sans-pro}{Github}.

\section{Packages}
The packages that can be used are:
\begin{itemize*}
	\item \textbf{sourcesanspro}:\\
	Loads either \texttt{sourcesanspro-otf} or \texttt{sourcesanspro-type1} depending on your engine.
	\item \textbf{sourcesanspro-otf}:\\
	Loads the original fonts (only for \XeLaTeX\ and \LuaLaTeX\ users).
	\item \textbf{sourcesanspro-type1}:\\
	Loads generated Type1 fonts.
\end{itemize*}

\section{Options}
The packages have the following options:
\begin{itemize*}
	\item \textbf{oldstyle, osf}: use old style numbers.
	\item \textbf{lining, nf}:    use lining numbers.
	\item \textbf{tabular}:       use fixed-width numbers.
	\item \textbf{proportional}:  use normal numbers.
	\item \textbf{black}:         \texttt{\textbackslash bfseries} is black.
	\item \textbf{semibold}:      \texttt{\textbackslash bfseries} is semibold.
	\item \textbf{bold}:          \texttt{\textbackslash bfseries} is bold.
	\item \textbf{light}:         \texttt{\textbackslash mdseries} is light.
	\item \textbf{extralight}:    \texttt{\textbackslash mdseries} is extra light.
	\item \textbf{regular}:       \texttt{\textbackslash mdseries} is regular.
	\item \textbf{scaled}:        Scaling factor, eg: \texttt{scaled=.5}
	\item \textbf{default}:       Default font family is sans-serif.
\end{itemize*}
The following options are enabled by default: \texttt{lining, proportional, bold, regular}.

\section{Commands}
Commands for all variants are also provided in the \texttt{sourcesanspro-otf} package:
\begin{itemize*}
	\item \texttt{\bfseries \textbackslash sourcesanspro}
		-- the regular and bold (plus both italic) variants.
	\item \texttt{\bfseries \textbackslash sourcesansprolight}
		-- the light and semibold (plus both italic) variants.
	\item \texttt{\bfseries \textbackslash sourcesansproextreme}
		-- the extra light and black (plus both italic) variants.
\end{itemize*}

\section{Licence}
Adobe's Source Sans Pro typeface is available under the \href{http://scripts.sil.org/OFL}{SIL Open Font License 1.1}.

\section{Specimen}
Simple specimen follow. Full specimen can be \href{http://store1.adobe.com/type/browser/pdfs/1959.pdf}{acquired from Adobe}.

\end{multicols}

\subsection{OpenType}
\begin{figure}[ht]
	\centering
	\includegraphics{sourcesanspro-otf-specimen}
\end{figure}
This table can also be found in \file{sourcesanspro-otf-specimen}.

\subsection{Type1}
\begin{figure}[ht]
	\centering
	\includegraphics{sourcesanspro-type1-specimen}
\end{figure}
This table can also be found in \file{sourcesanspro-type1-specimen}.
\end{document}