diff options
Diffstat (limited to 'Master/texmf-dist/doc/fonts/sourcesanspro/SourceSansPro.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/sourcesanspro/SourceSansPro.tex | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/sourcesanspro/SourceSansPro.tex b/Master/texmf-dist/doc/fonts/sourcesanspro/SourceSansPro.tex new file mode 100644 index 00000000000..1a1cee8ed6c --- /dev/null +++ b/Master/texmf-dist/doc/fonts/sourcesanspro/SourceSansPro.tex @@ -0,0 +1,76 @@ +\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, otf}: 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}
\ No newline at end of file |