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.tex26
1 files changed, 18 insertions, 8 deletions
diff --git a/fonts/montserrat/doc/montserrat-doc.tex b/fonts/montserrat/doc/montserrat-doc.tex
index c20e95c9c7..86a5ed95e2 100644
--- a/fonts/montserrat/doc/montserrat-doc.tex
+++ b/fonts/montserrat/doc/montserrat-doc.tex
@@ -5,7 +5,7 @@
\usepackage[parfill]{parskip}% Begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
%\usepackage{amssymb}% don't use with newtxmath
-%\pdfmapfile{+montserrat.map}
+\pdfmapfile{=montserrat.map}
%SetFonts
% libertine+newtxmath
%\usepackage{newtxtext} % use sb in place of bold
@@ -24,13 +24,16 @@
\author{Michael Sharpe}
\date{\today} % Activate to display a given date or no date
\def\TeXShop{\TeX Shop}
+\usepackage{fonttable}
%\renewcommand*{\familydefault}{\sfdefault}
+\usepackage{trace}
\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}.
+
+Montserrat is a geometric sans-serif typeface designed by Julieta Ulanovsky, inspired by posters and signage from her historic 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
\begin{verbatim}
@@ -47,7 +50,7 @@ There are some options that can can change the default behaviors.
\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}.)
+\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.)
@@ -70,7 +73,7 @@ No matter which style you choose, you may specify the other using the constructi
% \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
+As of version 1.02, it is easier to remember how to obtain weights other than 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}\\
@@ -98,10 +101,10 @@ Montserrat has four basic figure options, plus another four at smaller size. Oth
Proportional lining & LF & {\fontfamily{Montserrat-LF}\selectfont 1} & \verb|{\fontfamily{Montserrat-LF}\selectfont 1}| \\
Tabular Oldstyle & TOsF & {\fontfamily{Montserrat-TOsF}\selectfont 1} & \verb|{\fontfamily{Montserrat-TOsF}\selectfont 1}| \\
Oldstyle & OsF & {\fontfamily{Montserrat-OsF}\selectfont 1} & \verb|{\fontfamily{Montserrat-OsF}\selectfont 1}| \\
- Superiors & Sup & {\sufigures 1} & \verb|{\sufigures 1}| or \textsu{1}\\
- Inferiors & Inf & {\infigures 1} & \verb|{\infigures 1}| or \textin{1}\\
- Numerators & Numr & {\nufigures 1} & \verb|{\nufigures 1}| or \textnu{1}\\
- Denominators & Dnom & {\defigures 1} & \verb|{\defigures 1}| or \textde{1}\\
+ Superiors & Sup & {\sufigures 1} & \verb|{\sufigures 1}| or \verb|\textsu{1}|\\
+ Inferiors & Inf & {\infigures 1} & \verb|{\infigures 1}| or \verb|\textin{1}|\\
+ Numerators & Numr & {\nufigures 1} & \verb|{\nufigures 1}| or \verb|\textnu{1}|\\
+ Denominators & Dnom & {\defigures 1} & \verb|{\defigures 1}| or \verb|\textde{1}|\\
\bottomrule
\end{tabular}
@@ -125,4 +128,11 @@ Suppose you have set your default figure style in sans serif to proportional lin
\makeatother
\end{verbatim}
+\section*{Usage with fontspec}
+Because the package supplies a file named {\tt montserrat.fontspec} whose contents list the {\tt otf} files that correspond to each of nine styles you may load {\tt montserrat} as the main text font with just
+\begin{verbatim}
+\usepackage{fontspec}
+\setmainfont{montserrat}
+\end{verbatim}
+This will use regular and bold weights for \LaTeX's regular and bold. If you wish other choices, you will have to suitably modify {\tt montserrat.fontspec}.
\end{document} \ No newline at end of file