summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-05 22:31:41 +0000
committerKarl Berry <karl@freefriends.org>2012-11-05 22:31:41 +0000
commit8d39e06ebf6b272178c564daec3f1e8925c4ac78 (patch)
treef102dc879c8f11dcddab6a3806c68164dceb641d /Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
parent0e3c78b4691c7b1c2f048521d40f99453523d2b2 (diff)
sourcecodepro (5nov12)
git-svn-id: svn://tug.org/texlive/trunk@28187 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.tex58
1 files changed, 30 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
index 9dc77068ab5..84710486f9a 100644
--- a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
+++ b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex
@@ -1,7 +1,7 @@
-\documentclass[11pt,a4paper,twocolumn,english]{article}
+\documentclass[11pt,a4paper,english]{article}
\usepackage{sourcecodepro}
\usepackage[default]{sourcesanspro-otf}
-\usepackage{geometry,dtklogos,hyperref,babel,mdwlist}
+\usepackage{geometry,dtklogos,hyperref,babel,mdwlist,multicol}
\hypersetup{
colorlinks,
citecolor=blue,
@@ -9,16 +9,17 @@
linkcolor=blue,
urlcolor=blue
}
+\newcommand*\file[1]{\href{run:#1.pdf}{#1}}
-\newcommand\specimen{AaBb \textit{CcDd} €0123}
-
-\title{\vspace{-10mm}\Huge \bfseries sourcecodepro\\ \Large Adobe's Source Code Pro typeface for \LaTeX}
+\title{\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}
+\maketitle
+
+\begin{multicols}{2}
-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}.
+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 entire font family is included. It can also be downloaded from \href{https://github.com/adobe/source-code-pro}{Github}.
\section{Packages}
The packages that can be used are:
@@ -26,9 +27,9 @@ The packages that can be used are:
\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.
+ Loads the original fonts (only for \XeLaTeX\ and \LuaLaTeX\ users).
\item \textbf{sourcecodepro-type1}:\\
- Loads generated type1 fonts.
+ Loads generated Type1 fonts.
\end{itemize*}
\section{Options}
@@ -36,8 +37,6 @@ 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.
@@ -47,32 +46,35 @@ The packages have the following options:
\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}.
+The following options are enabled by default: \texttt{lining, 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.
+ \item \texttt{\bfseries \textbackslash sourcecodeproextreme} -- the extra light 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}.
+\section{Specimen}
+Simple specimen follow. Full specimen can be \href{http://store1.adobe.com/type/browser/pdfs/1960.pdf}{acquired from Adobe}.
+
+\end{multicols}
+
+\subsection{OpenType}
+\begin{figure}[ht]
+ \centering
+ \includegraphics{sourcecodepro-otf-specimen}
+\end{figure}
+This table can also be found in \file{sourcecodepro-otf-specimen}.
+
+\subsection{Type1}
+\begin{figure}[ht]
+ \centering
+ \includegraphics{sourcecodepro-type1-specimen}
+\end{figure}
+This table can also be found in \file{sourcecodepro-type1-specimen}.
\end{document} \ No newline at end of file