0% found this document useful (0 votes)
24 views3 pages

Montserrat

Montserrat um país desconhecido

Uploaded by

leehh403
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views3 pages

Montserrat

Montserrat um país desconhecido

Uploaded by

leehh403
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

The Montserrat Font Package

Michael Sharpe

November 7, 2019

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 up-
right and italic shapes, and every one of them has Small Caps and 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, ATWl.

As it currently set up, a preamble entry of the form

\usepackage{montserrat}
which should be made after loading the text font and before loading the math font, will set
\sfdefault to Montserrat, so that \textsf{some Montserrat} will render in that font.
There are some options that can can change the default behaviors.

• scale (or scaled) will cause Montserrat to render magnified by the specified scale factor.

• defaultfam will cause \familydefault to be set to \sfdefault, so that Montserrat becomes


the default text font for the document.

• alternates will result in \sfdefault being set to MontserratAlternates, with the rounder
shapes.

• One of the options thin, extralight, light, regular, medium may be specified to select the
weight that should be used to render LATEX’s regular. (The default is regular.)

• One of the options semibold, bold, extrabold, black may be specified to select the weight
that should be used to render LATEX’s bold. (The default is bold.)

• One of the options lining, oldstyle (or osf) may be specified to select the figure style. (The
default is lining.)

• One of the options proportional (or p), tabular (or t) may be specified to select the figure
alignment. (The default is proportional.)

No matter which style you choose, you may specify the other using the construction {\montserratalt ...}.
(For example, this was used at the end of the first paragraph of this document to show the alter-
nate version of ATWl.)

1
As of version 1.02, it is easier to remember how to obtain weights other than LaTeX’s regular and
bold, however they may be have been selected. The available weights are named as follows:
thin
extralight
light
regular
medium
semibold
bold
extrabold
black

These names be used to render text any of these weights. For example, while in a block of sans
serif text,

{\fontseries{thin}\selectfont x}
will render as 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.

Figure spec abbrev example call with


Tabular lining TLF 1 {\fontfamily{Montserrat-TLF}\selectfont 1}
Proportional lining LF 1 {\fontfamily{Montserrat-LF}\selectfont 1}
Tabular Oldstyle TOsF 1 {\fontfamily{Montserrat-TOsF}\selectfont 1}
Oldstyle OsF 1 {\fontfamily{Montserrat-OsF}\selectfont 1}
Superiors Sup ¹ {\sufigures 1} or \textsu{1}
Inferiors Inf ₁ {\infigures 1} or \textin{1}
Numerators Numr 1 {\nufigures 1} or \textnu{1}
Denominators Dnom 1 {\defigures 1} or \textde{1}
Examples showing vertical position:
\textde{1} \textin{1} produces 1 ₁.
\textnu{1} \textsu{1} produces 1 ¹.
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
oldstyle figures in sans serif made easier, you could modify the definitions in the .sty file, as
follows. Place the following in your preamble after loading Montserrat.

\makeatletter
\DeclareRobustCommand{\sfosfstyle}{%
\not@math@alphabet\sfosfstyle\relax
\fontfamily{Montserrat-OsF}\selectfont %
}
\DeclareRobustCommand{\textsfosf}[1]{%

2
{\sfosfstyle #1}%
\makeatother

Usage with fontspec


Because the package supplies a file named montserrat.fontspec whose contents list the otf
files that correspond to each of nine styles you may load montserrat as the main text font with
just

\usepackage{fontspec}
\setmainfont{montserrat}
This will use regular and bold weights for LATEX’s regular and bold. If you wish other choices, you
will have to suitably modify montserrat.fontspec.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy