Debian Codegraph @

texmf-dist/doc/latex/raleway/raleway.tex

raw
1 \documentclass[10pt,a4paper,english]{article}
2 \usepackage{geometry,metalogo,hyperref,babel,mdwlist,array,multicol}
3 \usepackage[default]{raleway}
4 \usepackage[scaled=1]{sourcecodepro}
5
6 \hypersetup{
7 colorlinks,
8 citecolor=blue,
9 filecolor=blue,
10 linkcolor=blue,
11 urlcolor=blue
12 }
13 \newcommand*\file[1]{\href{run:#1.pdf}{#1}}
14
15 \title{\bfseries
16 \Huge raleway\\
17 \Large Matt McInerney’s Raleway family for \LaTeX
18 }
19
20 \author{Silke Hofstra, \href{mailto:[email protected]}{[email protected]}}
21 \date{Documentation for raleway v1.6.\\ \today}
22 \begin{document}
23 \maketitle
24 \begin{multicols}{2}
25 This package provides the Raleway family in an easy to use way. For \XeLaTeX\ and \LuaLaTeX\ users the original OpenType fonts are used. The entire font family is included.
26
27 The current raleway family is an extension of the original Raleway Thin by Matt McInerney. The family has been extended by Impallari, for more information see \href{http://www.impallari.com/projects/overview/matt-mcinerneys-raleway-family}{the impallari website}.
28
29 This package is also available on \href{https://gitlab.com/slxh/latex/raleway}{GitLab}.
30
31 \section{Options}
32 The package has the following options:
33 \begin{itemize*}
34 \item \textbf{oldstyle, osf}: use old style numbers.
35 \item \textbf{lining, nf, lf}: use lining numbers.
36 % \item \textbf{tabular}: use fixed-width numbers.
37 % \item \textbf{proportional}: use normal numbers.
38 \item \textbf{black}: \texttt{\textbackslash bfseries} is black.
39 \item \textbf{extrabold}: \texttt{\textbackslash bfseries} is extrabold.
40 \item \textbf{semibold}: \texttt{\textbackslash bfseries} is semibold.
41 \item \textbf{bold}: \texttt{\textbackslash bfseries} is bold.
42 \item \textbf{thin}: \texttt{\textbackslash mdseries} is thin.
43 \item \textbf{extralight}: \texttt{\textbackslash mdseries} is extra light.
44 \item \textbf{light}: \texttt{\textbackslash mdseries} is light.
45 \item \textbf{regular}: \texttt{\textbackslash mdseries} is regular.
46 \item \textbf{medium}: \texttt{\textbackslash mdseries} is medium.
47 \item \textbf{scale, scaled}: Change the scaling with a factor. For example: \texttt{scale=.5}
48 \item \textbf{default}: Raleway is set as the default font family and as the sans serif family.
49 \item \textbf{nosfdefault}: Raleway is not set as sans-serif family.
50 \item \textbf{type1, t1}: Override automatic detection and use the Type 1 fonts.
51 \item \textbf{opentype, otf}: Override automatic detection and use OpenType fonts.
52 \end{itemize*}
53 The following options are enabled by default: oldstyle, proportional, bold and regular.
54
55 \section{Commands}
56 Commands for all weights are also provided for \XeLaTeX\ and \LuaLaTeX\ users.
57 \begin{itemize*}
58 \item \texttt{\bfseries \textbackslash raleway}
59 -- the regular and bold weights.
60 \item \texttt{\bfseries \textbackslash ralewaymedium}
61 -- the medium and bold weights.
62 \item \texttt{\bfseries \textbackslash ralewaylight}
63 -- the light and semibold weights.
64 \item \texttt{\bfseries \textbackslash ralewayextra}
65 -- the extra light and extra bold weights.
66 \item \texttt{\bfseries \textbackslash ralewaythin}
67 -- the thin and black weights.
68 \end{itemize*}
69
70 \section{Licence}
71 The Raleway typeface is available under the \href{http://scripts.sil.org/OFL}{SIL Open Font License 1.1}.\\
72 All \LaTeX\ code is available under the \href{http://www.latex-project.org/lppl/}{\LaTeX\ project public license} v1.3 or later.
73
74 \section{Specimen}
75 Simple specimen are included on page \pageref{sec:specimen}.
76 As you can see the font currently has no italics.
77
78 \section{OpenType}
79 The OpenType fonts have many features, including old style numerals (1 6 9), ligatures (ff fi fl) and stylistic alternatives ({\addfontfeature{Style=Alternate} l a g}).
80
81 \subsection{Features}
82 A complete list of available font features is available on page \pageref{sec:otfinfo}. More information on how to use font features can be found in the \href{http://mirror.ctan.org/macros/latex/contrib/fontspec/fontspec.pdf}{fontspec documentation}.
83
84 \subsection{Files}
85 \begin{itemize*}
86 \item Raleway-Thin.otf
87 \item Raleway-Thin-Italic.otf
88 \item Raleway-ExtraLight.otf
89 \item Raleway-ExtraLight-Italic.otf
90 \item Raleway-Light.otf
91 \item Raleway-Light-Italic.otf
92 \item Raleway-Regular.otf
93 \item Raleway-Regular-Italic.otf
94 \item Raleway-Medium.otf
95 \item Raleway-Medium-Italic.otf
96 \item Raleway-Semibold.otf
97 \item Raleway-Semibold-Italic.otf
98 \item Raleway-Bold.otf
99 \item Raleway-Bold-Italic.otf
100 \item Raleway-ExtraBold.otf
101 \item Raleway-Black-Italic.otf
102 \item Raleway-Black.otf
103 \item Raleway-Black-Italic.otf
104 \end{itemize*}
105
106 \section{Type1}
107 The following Type1 font families are included:
108 \begin{itemize*}
109 \item Raleway-LF
110 % \item Raleway-TLF
111 \item Raleway-OsF
112 % \item Raleway-TOsF
113 \end{itemize*}
114
115 With series ‘thin’, ‘extralight’, ‘light’, ‘regular’, ‘medium’, ‘semibold’, ‘bold’, ‘extrabold’, ‘black’ and shapes ‘n’ and ‘sc’, ‘it’ and ‘scit’.
116
117 \textbf{Please note:} to use italic smallcaps the \texttt{slantsc} package is required.
118
119 \section{Version history}
120 \subsection*{1.6}
121 \begin{itemize*}
122 \item Fonts updated to v4.101
123 \item Italic lining figures are no longer supported.
124 \item Type1 series have been renamed to the values documented above.
125 \end{itemize*}
126
127 \subsection*{1.5}
128 \begin{itemize*}
129 \item Fixed the \texttt{semibold} option.
130 \end{itemize*}
131
132 \subsection*{1.4}
133 \begin{itemize*}
134 \item Johannes Choo: have sfdefault set ItalicFont and BoldItalicFont (Fixes \href{https://github.com/silkeh/latex-raleway/issues/1}{issue~\#1}).
135 \end{itemize*}
136
137 \subsection*{1.3}
138 \begin{itemize*}
139 \item Fixed scaling issue.
140 \end{itemize*}
141
142 \subsection*{1.2}
143 \begin{itemize*}
144 \item Fixed errors in weight implementation.
145 \item Fonts updates to v3.0, which includes support for Cyrillic.
146 \end{itemize*}
147
148 \subsection*{1.1}
149 \begin{itemize*}
150 \item Weights are now handled with the \href{http://www.ctan.org/pkg/mweights}{mweights} package.
151 \item Fonts updated to v2.5, which includes italics.
152 \end{itemize*}
153
154 \subsection*{1.0}
155 \begin{itemize*}
156 \item Initial release with v2.2 of the fonts.
157 \end{itemize*}
158
159 \section{Known issues}
160
161 Issues can be reported \href{https://gitlab.com/slxh/latex/raleway/issues}{on GitLab} and \href{https://github.com/silkeh/latex-raleway/issues}{GitHub}.
162
163 \vspace{0pt plus 1filll}\mbox{}
164 \newpage
165 \end{multicols}
166
167 \section{Specimen}
168 \label{sec:specimen}
169 \subsection{OpenType}
170 \begin{figure}[ht]
171 \centering
172 \includegraphics[width=\textwidth]{raleway-otf-specimen}
173 \end{figure}
174 This table can also be found in \file{raleway-otf-specimen}.
175
176 \subsection{Type1}
177 \begin{figure}[ht]
178 \centering
179 \includegraphics[width=\textwidth]{raleway-type1-specimen}
180 \end{figure}
181 This table can also be found in \file{raleway-type1-specimen}.
182
183 \newpage
184 \section{Opentype features}
185 \label{sec:otfinfo}
186
187 \begin{figure}[ht]
188 \centering
189 \begin{tabular}{>{\ttfamily}l l}
190 aalt & Access All Alternates \\
191 c2sc & Small Capitals From Capitals \\
192 ccmp & Glyph Composition/Decomposition \\
193 dlig & Discretionary Ligatures \\
194 dnom & Denominators \\
195 frac & Fractions \\
196 kern & Kerning \\
197 liga & Standard Ligatures \\
198 lnum & Lining Figures \\
199 mark & Mark Positioning \\
200 mkmk & Mark to Mark Positioning \\
201 numr & Numerators \\
202 ordn & Ordinals \\
203 salt & Stylistic Alternates \\
204 sinf & Scientific Inferiors \\
205 smcp & Small Capitals \\
206 ss01 & Stylistic Set 1 \\
207 ss02 & Stylistic Set 2 \\
208 ss03 & Stylistic Set 3 \\
209 ss04 & Stylistic Set 4 \\
210 ss05 & Stylistic Set 5 \\
211 ss06 & Stylistic Set 6 \\
212 ss07 & Stylistic Set 7 \\
213 ss08 & Stylistic Set 8 \\
214 ss09 & Stylistic Set 9 \\
215 ss10 & Stylistic Set 10 \\
216 ss11 & Stylistic Set 11 \\
217 subs & Subscript \\
218 sups & Superscript \\
219 \end{tabular}
220 \end{figure}
221 (list generated with otfinfo)
222
223 \end{document}