summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/sourcesanspro/sourcesanspro.tex
blob: ce685a85f907adc5012cd8bc704a2022fa1d2905 (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
\documentclass[11pt,a4paper,twocolumn,english]{article}
\usepackage[default]{sourcesanspro}
\usepackage{geometry,dtklogos,hyperref,droidmono,babel,mdwlist}
\hypersetup{
    colorlinks,
    citecolor=blue,
    filecolor=blue,
    linkcolor=blue,
    urlcolor=blue
}

\newcommand\specimen{AaBb \textit{CcDd} €0123}

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

\begin{document}
\maketitle\thispagestyle{empty}

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 whole font family is included, it can 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 orinal 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}: Font family is default.
\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 extralight and black (plus both italic) variants.
\end{itemize*}
\section{Specimen}
Better specimen can be found in \href{http://store1.adobe.com/type/browser/pdfs/1959.pdf}{a document by Adobe}.
\begin{figure}[ht]
	\small\centering
	\begin{tabular}{|r|l|}
		\hline
		\sourcesansproextreme Source Sans Pro ExtraLight & {\sourcesansprolight \specimen}\\
		\sourcesansprolight Source Sans Pro Light & {\sourcesansprolight \specimen}\\
		\sourcesanspro Source Sans Pro Regular & {\sourcesanspro \specimen}\\
		\sourcesansprolight\bfseries Source Sans Pro SemiBold & {\sourcesansprolight\bfseries \specimen}\\
		\sourcesanspro\bfseries Source Sans Pro Bold & {\sourcesanspro\bfseries \specimen}\\
		\sourcesansproextreme\bfseries Source Sans Pro Black & {\sourcesansproextreme\bfseries \specimen}\\
		\hline
	\end{tabular}
\end{figure}

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

\end{document}