summaryrefslogtreecommitdiff
path: root/fonts/montserrat/doc/montserrat-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/montserrat/doc/montserrat-doc.tex')
-rw-r--r--fonts/montserrat/doc/montserrat-doc.tex70
1 files changed, 42 insertions, 28 deletions
diff --git a/fonts/montserrat/doc/montserrat-doc.tex b/fonts/montserrat/doc/montserrat-doc.tex
index 87d14bd023..c20e95c9c7 100644
--- a/fonts/montserrat/doc/montserrat-doc.tex
+++ b/fonts/montserrat/doc/montserrat-doc.tex
@@ -8,15 +8,15 @@
%\pdfmapfile{+montserrat.map}
%SetFonts
% libertine+newtxmath
-\usepackage{newtxtext} % use sb in place of bold
+%\usepackage{newtxtext} % use sb in place of bold
\usepackage[T1]{fontenc}
\usepackage{textcomp}
+\usepackage[scaled=.9,t,defaultfam]{montserrat}
\usepackage{nimbusmononarrow}% narrow
\usepackage{amsmath,amsthm}
-\usepackage[scaled=.9,defaultfam]{montserrat}
-\usepackage[libertine,bigdelims,vvarbb]{newtxmath}
+\usepackage[libertine,vvarbb]{newtxmath}
% option vvarbb gives you stix blackboard bold
-\useosf % use oldstyle figures except in math
+%\useosf % use oldstyle figures except in math
\usepackage[cal=boondoxo]{mathalfa}% less slanted than STIX cal
%SetFonts
\usepackage{booktabs}
@@ -28,6 +28,8 @@
\begin{document}
\maketitle
%\expandafter\show\csname lfstyle \endcsname
+%{\montserratalt fi fl ff ffi ffl}
+
Montserrat is a geometric sans-serif typeface designed by Julieta Ulanovsky, inspired by posters and signage from her historical Buenos Aires neighborhood of the same name. It is rather close in spirit to Gotham and Proxima Nova, but has its own individual appearance---more informal, less extended and more idiosyncratic. It is provided in a total of nine different weights, with upright and italic shapes, and every one of them has \textsc{Small Caps} and \textit{\textsc{Small Caps}}. There are two quite different versions that don't fit into the usual \LaTeX\ classifications. The version having the appellation Alternates has letter shapes that are much more rounded than the default version, reflecting the signage in the neighborhood of Montserrat. For example, here are the same four letters displayed in both the default and Alternates styles: ATWl, {\montserratalt ATWl}.
As it currently set up, a preamble entry of the form
@@ -42,37 +44,49 @@ There are some options that can can change the default behaviors.
\item
{\tt defaultfam} will cause \verb|\familydefault| to be set to \verb|\sfdefault|, so that Montserrat becomes the default text font for the document.
\item {\tt alternates} will result in \verb|\sfdefault| being set to MontserratAlternates, with the rounder shapes.
-\item One of the options {\tt thin}, {\tt extralight}, {\tt light}, {\tt regular} may be specified to select the weight that should be used to render \LaTeX's {\tt regular}. (The default is {\tt regular}.)
-\item One of the options {\tt medium}, {\tt semibold}, {\tt bold}, {\tt extrabold}, {\tt black} may be specified to select the weight that should be used to render \LaTeX's {\tt bold}. (The default is {\tt bold}.)
-\item One of the options {\tt lining}, {\tt oldstyle} may be specified to select the figure style. (The default is {\tt lining}.)
-\item One of the options {\tt proportional}, {\tt tabular} may be specified to select the figure alignment. (The default is {\tt proportional}.)
+\item One of the options {\tt thin}, {\tt extralight}, {\tt light}, {\tt regular}, {\tt medium} may be specified to select the weight that should be used to render \LaTeX's {\tt regular}. (The default is {\tt regular}.)
+\item One of the options {\tt semibold}, {\tt bold}, {\tt extrabold}, {\tt black} may be specified to select the weight that should be used to render \LaTeX's {\tt bold}. (The default is {\tt bold}.)
+\item One of the options {\tt lining}, {\tt oldstyle} (or {\tt osf}) may be specified to select the figure style. (The default is {\tt lining}.)
+\item One of the options {\tt proportional} or {\tt p}, {\tt tabular} or {\tt t} may be specified to select the figure alignment. (The default is {\tt proportional}.)
\end{itemize}
No matter which style you choose, you may specify the other using the construction \verb|{\montserratalt ...}|. (For example, this was used at the end of the first paragraph of this document to show the alternate version of ATWl.)
-The abbreviations for the weights in the {\tt fd} files are as follows.
+%The abbreviations for the weights in the {\tt fd} files are as follows.
+%
+%
+% \begin{tabular}{@{} ll @{}}
+% \toprule
+% Weight & abbrev \\
+% \midrule
+% thin & t \\
+% extralight & el \\
+% light & l \\
+% regular & m \\
+% medium & mb \\
+% semibold & sb \\
+% bold & b \\
+% extrabold & eb \\
+% black & k \\
+% \bottomrule
+% \end{tabular}
+As of version 1.02, it is easier to remember how to obtain weights other that LaTeX's {\tt regular} and {\tt bold}, however they may be have been selected. The available weights are named as follows:\par
+{\fontseries{thin}\selectfont thin}\\
+{\fontseries{extralight}\selectfont extralight}\\
+{\fontseries{light}\selectfont light}\\
+{\fontseries{regular}\selectfont regular}\\
+{\fontseries{medium}\selectfont medium}\\
+{\fontseries{semibold}\selectfont semibold}\\
+{\fontseries{bold}\selectfont bold}\\
+{\fontseries{extrabold}\selectfont extrabold}\\
+{\fontseries{black}\selectfont black}\\
- \begin{tabular}{@{} ll @{}}
- \toprule
- Weight & abbrev \\
- \midrule
- thin & t \\
- extralight & el \\
- light & l \\
- regular & m \\
- medium & mb \\
- semibold & sb \\
- bold & b \\
- extrabold & eb \\
- black & k \\
- \bottomrule
- \end{tabular}
-These may be used to render text in other weights. For example, while in a block of sans serif text,
+These names be used to render text any of these weights. For example, while in a block of sans serif text,
\begin{verbatim}
-{\fontseries{t}\selectfont x}
+{\fontseries{thin}\selectfont x}
\end{verbatim}
-will show as {\fontseries{t}\selectfont x} in thin weight.
+will render as {\fontseries{thin}\selectfont x} in thin weight.
Montserrat has four basic figure options, plus another four at smaller size. Other than the default figure style and alignment set in the package options, access to all other possible figure options is a little complicated, and you should devise macros for any you might use regularly.
@@ -99,7 +113,7 @@ Montserrat has four basic figure options, plus another four at smaller size. Oth
\textsc{Example macro definition:}\\
-Suppose you have set your default figure style in sans serif to proportional lining. (This is the default---you need not set any options to get this.) If you wish to have the option of proportional lining figures in sans serif made easier, you could modify the definitions in the {\tt.sty} file, as follows. Place the following in your preamble after loading Montserrat.
+Suppose you have set your default figure style in sans serif to proportional lining. (This is the default---you need not set any options to get this.) If you wish to have the option of proportional oldstyle figures in sans serif made easier, you could modify the definitions in the {\tt.sty} file, as follows. Place the following in your preamble after loading Montserrat.
\begin{verbatim}
\makeatletter
\DeclareRobustCommand{\sfosfstyle}{%