From f2b5da76078905e2a2d31d88ce2034cc55585bed Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 14 May 2015 21:24:24 +0000 Subject: sourcecodepro (14may15) git-svn-id: svn://tug.org/texlive/trunk@37395 c570f23f-e606-0410-a88d-b1316a301751 --- .../sourcecodepro/sourcecodepro-otf-specimen.pdf | Bin 18951 -> 36794 bytes .../sourcecodepro/sourcecodepro-otf-specimen.tex | 15 ++++---- .../sourcecodepro/sourcecodepro-type1-specimen.pdf | Bin 20860 -> 37285 bytes .../sourcecodepro/sourcecodepro-type1-specimen.tex | 15 ++++---- .../doc/latex/sourcecodepro/sourcecodepro.pdf | Bin 66708 -> 102018 bytes .../doc/latex/sourcecodepro/sourcecodepro.tex | 40 +++++++++++++-------- 6 files changed, 40 insertions(+), 30 deletions(-) (limited to 'Master/texmf-dist/doc/latex/sourcecodepro') diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.pdf b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.pdf index 41f643846b8..b00ef10f826 100644 Binary files a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.pdf and b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.pdf differ diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex index 9850febc1ff..b8455382f90 100644 --- a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex +++ b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-otf-specimen.tex @@ -1,32 +1,31 @@ -\documentclass[11pt,a4paper]{article} +\documentclass[12pt]{standalone} \usepackage{array} \usepackage[default,opentype]{sourcecodepro} -\usepackage[margin=0mm,paperheight=25mm,paperwidth=170mm]{geometry} \newcommand*\spA{abcde} \newcommand*\spB{01469} -\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 \\} +\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 & #1 \\} \begin{document} -\centering \begin{tabular}{ >{\sourcecodepro}l >{\sourcecodeproextreme}c >{\sourcecodeprolight}c >{\sourcecodepro}c + >{\sourcecodepromedium}c >{\sourcecodeprolight\bfseries}c >{\sourcecodepro\bfseries}c >{\sourcecodeproextreme\bfseries}c } - & ExtraLight & Light & Regular & Semibold & Bold & Black \\ + & ExtraLight & Light & Regular & Medium & Semibold & Bold & Black \\ normal \spr -% italic \spr[\itshape\spA] + italic \spr[\itshape\spA] % small-caps \spr[\scshape\spA] capitals \spr[\MakeUppercase\spA] lining \spr[\spB] -% lining italic \spr[\itshape\spB] + lining italic \spr[\itshape\spB] % lining small-caps \spr[\scshape\spB] old-style \spr[\oldstylenums{\spB}] -% old-style italic \spr[\oldstylenums{\itshape\spB}] + old-style italic \spr[\oldstylenums{\itshape\spB}] % old-style small-caps \spr[\oldstylenums{\scshape\spB}] \end{tabular} \end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-type1-specimen.pdf b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-type1-specimen.pdf index de925edb960..a9788aae142 100644 Binary files a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-type1-specimen.pdf and b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-type1-specimen.pdf differ diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-type1-specimen.tex b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-type1-specimen.tex index 0a1e6c047d7..39e9171d3a9 100644 --- a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-type1-specimen.tex +++ b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro-type1-specimen.tex @@ -1,33 +1,32 @@ -\documentclass[11pt,a4paper]{article} +\documentclass[12pt]{standalone} \usepackage{array} \usepackage[default,type1]{sourcecodepro} \usepackage[T1]{fontenc} -\usepackage[margin=0mm,paperheight=25mm,paperwidth=170mm]{geometry} \newcommand*\spA{abcde} \newcommand*\spB{01469} -\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 \\} +\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 & #1 \\} \begin{document} -\centering \begin{tabular}{ l >{\fontseries{el}\fontshape{n}\selectfont}c >{\fontseries{l}\fontshape{n}\selectfont}c >{\fontseries{m}\fontshape{n}\selectfont}c + >{\fontseries{mb}\fontshape{n}\selectfont}c >{\fontseries{sb}\fontshape{n}\selectfont}c >{\fontseries{b}\fontshape{n}\selectfont}c >{\fontseries{k}\fontshape{n}\selectfont}c } - & ExtraLight & Light & Regular & Semibold & Bold & Black \\ + & ExtraLight & Light & Regular & Medium & Semibold & Bold & Black \\ normal \spr -% italic \spr[\itshape\spA] + italic \spr[\itshape\spA] % small-caps \spr[\scshape\spA] capitals \spr[\MakeUppercase\spA] lining \spr[\spB] -% lining italic \spr[\itshape\spB] + lining italic \spr[\itshape\spB] % lining small-caps \spr[\scshape\spB] old-style \spr[\oldstylenums{\spB}] -% old-style italic \spr[\oldstylenums{\itshape\spB}] + old-style italic \spr[\oldstylenums{\itshape\spB}] % old-style small-caps \spr[\oldstylenums{\scshape\spB}] \end{tabular} \end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.pdf b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.pdf index 80ad3b3cc38..2e55dbe98b6 100644 Binary files a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.pdf and b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.pdf differ diff --git a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex index 4b6d9f80326..8794496d549 100644 --- a/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex +++ b/Master/texmf-dist/doc/latex/sourcecodepro/sourcecodepro.tex @@ -1,4 +1,4 @@ -\documentclass[11pt,a4paper,english]{article} +\documentclass[10pt,a4paper,english]{article} \usepackage{geometry,hologo,hyperref,babel,mdwlist,array,multicol} \usepackage[default,osf]{sourcesanspro} \usepackage[scaled=.95]{sourcecodepro} @@ -16,12 +16,14 @@ \Large Adobe's Source Code Pro typeface for \LaTeX } \author{Silke Hofstra, \href{mailto:tex@slxh.nl}{tex@slxh.nl}} -\date{Documentation for sourcecodepro v2.3.\\ \today} +\date{Documentation for sourcecodepro v2.4.\\ \today} \begin{document} \maketitle \begin{multicols}{2} -This package provides the Source Code Pro font in an easy to use way. For \hologo{XeLaTeX} and \hologo{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}. +This package provides the Source Code Pro font in an easy to use way. For \hologo{XeLaTeX} and \hologo{LuaLaTeX} users the original OpenType fonts from \href{https://github.com/adobe-fonts/source-code-pro}{GitHub} are used. The entire font family is included. + +This package is also available on \href{https://github.com/silkeh/latex-sourcecodepro}{GitHub}. \section{Options} The package has the following options: @@ -71,17 +73,19 @@ A complete list of available font features is available on page \pageref{sec:otf \subsection{Files} \begin{itemize*} \item SourceCodePro-ExtraLight.otf -% \item SourceCodePro-ExtraLightIt.otf + \item SourceCodePro-ExtraLightIt.otf \item SourceCodePro-Light.otf -% \item SourceCodePro-LightIt.otf + \item SourceCodePro-LightIt.otf \item SourceCodePro-Regular.otf -% \item SourceCodePro-RegularIt.otf + \item SourceCodePro-RegularIt.otf + \item SourceCodePro-Medium.otf + \item SourceCodePro-MediumIt.otf \item SourceCodePro-Semibold.otf -% \item SourceCodePro-SemiboldIt.otf + \item SourceCodePro-SemiboldIt.otf \item SourceCodePro-Bold.otf -% \item SourceCodePro-BoldIt.otf + \item SourceCodePro-BoldIt.otf \item SourceCodePro-Black.otf -% \item SourceCodePro-BlackIt.otf + \item SourceCodePro-BlackIt.otf \end{itemize*} \section{Type1} @@ -90,13 +94,20 @@ The following Type1 font families are included: \item SourceCodePro-TLF \item SourceCodePro-TOsF \end{itemize*} -With series ‘el’, ‘l’, ‘m’, ‘sb’, ‘b’, ‘k’.% and shapes ‘n’, ‘i’ and ‘sc’. +With series ‘el’, ‘l’, ‘m’, ‘mb’, ‘sb’, ‘b’, ‘k’ and shapes ‘n’ and ‘i’. \section{Version history} +\subsection*{2.4} +\begin{itemize*} + \item Added the italic fonts (\emph{beta} v1.002). + \item Added the fixed medium font (v1.020). + \item Implemented the medium font. +\end{itemize*} + \subsection*{2.3} -\begin{itemize} +\begin{itemize*} \item Fixed errors in weight implementation. -\end{itemize} +\end{itemize*} \subsection*{2.2} \begin{itemize*} @@ -129,6 +140,7 @@ With series ‘el’, ‘l’, ‘m’, ‘sb’, ‘b’, ‘k’.% and shapes \section{Known issues} \begin{itemize*} + \item Italics (which are \emph{beta}) do not always work in type1. \item Using \texttt{\textbackslash liningnums} when the default numbers are oldstyle results in an ‘font feature does not exist’ error and no lining numbers due to lack of the ‘lnum’ font feature. \end{itemize*} @@ -141,14 +153,14 @@ At the moment Source Code Pro doesn’t have italics or small-caps. \subsection{OpenType} \begin{figure}[ht] \centering - \includegraphics{sourcecodepro-otf-specimen} + \includegraphics[width=\linewidth]{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} + \includegraphics[width=\linewidth]{sourcecodepro-type1-specimen} \end{figure} This table can also be found in \file{sourcecodepro-type1-specimen}. -- cgit v1.2.3