summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-02 23:39:02 +0000
committerKarl Berry <karl@freefriends.org>2012-11-02 23:39:02 +0000
commit81a659da59a157702e7d02cb36177f8bf9dae57c (patch)
tree98e1fd9ad82897fd777b43b2ced8aaed3fe301af /Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
parent97a3576bc906866a218e39f989e687700efceed8 (diff)
new font sourcecodepro (1nov12)
git-svn-id: svn://tug.org/texlive/trunk@28157 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex')
-rw-r--r--Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex78
1 files changed, 78 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
new file mode 100644
index 00000000000..9dc77068ab5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
@@ -0,0 +1,78 @@
+\documentclass[11pt,a4paper,twocolumn,english]{article}
+\usepackage{sourcecodepro}
+\usepackage[default]{sourcesanspro-otf}
+\usepackage{geometry,dtklogos,hyperref,babel,mdwlist}
+\hypersetup{
+ colorlinks,
+ citecolor=blue,
+ filecolor=blue,
+ linkcolor=blue,
+ urlcolor=blue
+}
+
+\newcommand\specimen{AaBb \textit{CcDd} €0123}
+
+\title{\vspace{-10mm}\Huge \bfseries sourcecodepro\\ \Large Adobe's Source Code 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 Code 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-code-pro}{Github}.
+
+\section{Packages}
+The packages that can be used are:
+\begin{itemize*}
+ \item \textbf{sourcecodepro}:\\
+ Loads either \texttt{sourcecodepro-otf} or \texttt{sourcecodepro-type1} depending on your engine.
+ \item \textbf{sourcecodepro-otf}:\\
+ Loads the orinal fonts, only for \XeLaTeX\ and \LuaLaTeX\ users.
+ \item \textbf{sourcecodepro-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{sourcecodepro-otf} package:
+\begin{itemize*}
+ \item \texttt{\bfseries \textbackslash sourcecodepro} -- the regular and bold variants.
+ \item \texttt{\bfseries \textbackslash sourcecodeprolight} -- the light and semibold variants.
+ \item \texttt{\bfseries \textbackslash sourcecodeproextreme} -- the extralight and black variants.
+\end{itemize*}
+\section{Specimen}
+Better specimen can be obtained from Adobe.
+\begin{figure}[ht]
+ \scriptsize\centering
+ \begin{tabular}{|r|l|}
+ \hline
+ \sourcecodeproextreme Source Code Pro ExtraLight & {\sourcecodeprolight \specimen}\\
+ \sourcecodeprolight Source Code Pro Light & {\sourcecodeprolight \specimen}\\
+ \sourcecodepro Source Code Pro Regular & {\sourcecodepro \specimen}\\
+ \sourcecodeprolight\bfseries Source Code Pro SemiBold & {\sourcecodeprolight\bfseries \specimen}\\
+ \sourcecodepro\bfseries Source Code Pro Bold & {\sourcecodepro\bfseries \specimen}\\
+ \sourcecodeproextreme\bfseries Source Code Pro Black & {\sourcecodeproextreme\bfseries \specimen}\\
+ \hline
+ \end{tabular}
+\end{figure}
+
+\section{Licence}
+Adobe's Source Code 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