| 1 |
This is the README for the roboto package, version |
| 2 |
2022-09-10. |
| 3 |
|
| 4 |
This package provides LaTeX, pdfLaTeX, XeLaTeX and |
| 5 |
LuaLaTeX support for the Roboto, RobotoMono, RobotoSlab |
| 6 |
and RobotoSerif families of fonts, designed by Christian |
| 7 |
Robertson and Greg Gazdowicz for Google, who say: |
| 8 |
|
| 9 |
Roboto (Sans) has a dual nature. It has a mechanical skeleton |
| 10 |
and the forms are largely geometric. At the same time, |
| 11 |
the font features friendly and open curves. While some |
| 12 |
grotesks distort their letterforms to force a rigid |
| 13 |
rhythm, Roboto doesn't compromise, allowing letters to be |
| 14 |
settled into their natural width. This makes for a more |
| 15 |
natural reading rhythm more commonly found in humanist and |
| 16 |
serif types. |
| 17 |
|
| 18 |
Roboto Serif is designed to create a comfortable |
| 19 |
and frictionless reading experience. Minimal and |
| 20 |
highly functional, it is useful anywhere (even for app |
| 21 |
interfaces) due to the extensive set of weights and widths |
| 22 |
across a broad range of optical sizes. While it was |
| 23 |
carefully crafted to work well in digital media, across |
| 24 |
the full scope of sizes and resolutions we have today, it |
| 25 |
is just as comfortable to read and work in print media. |
| 26 |
|
| 27 |
In addition to some condensed variants, there are four |
| 28 |
weights in a slab-serif family. Roboto and RobotoCondensed |
| 29 |
have small-capitals. |
| 30 |
|
| 31 |
To activate the sans-serif fonts, add |
| 32 |
|
| 33 |
\usepackage{roboto} |
| 34 |
|
| 35 |
to the preamble of your document. This makes Roboto the |
| 36 |
default sans family. To also set Roboto as the main text |
| 37 |
font, use |
| 38 |
|
| 39 |
\usepackage[sfdefault]{roboto} |
| 40 |
|
| 41 |
|
| 42 |
Other options include: |
| 43 |
|
| 44 |
regular |
| 45 |
bold |
| 46 |
medium |
| 47 |
black |
| 48 |
light |
| 49 |
thin |
| 50 |
condensed |
| 51 |
|
| 52 |
Only light, regular and bold weights are available in the |
| 53 |
condensed sans family. |
| 54 |
|
| 55 |
Defaults are regular and bold (uncondensed). |
| 56 |
|
| 57 |
Italics (slanted) are available in all variants. |
| 58 |
|
| 59 |
rm, slab |
| 60 |
|
| 61 |
These options activate the slab-serif variants as the main |
| 62 |
text font. The weights available are thin, light, regular |
| 63 |
and bold, but there are no italics. |
| 64 |
|
| 65 |
Options scaled=<number> or scale=<number> may be used to |
| 66 |
adjust the sans fontsizes to match a serifed font. |
| 67 |
|
| 68 |
LuaLaTeX and xeLaTeX users who might prefer type1 fonts or |
| 69 |
who wish to avoid fontspec may use the type1 option. |
| 70 |
|
| 71 |
To activate RobotoMono, use |
| 72 |
|
| 73 |
\usepackage{roboto-mono} |
| 74 |
|
| 75 |
To activate RobotoSerif, use |
| 76 |
|
| 77 |
\usepackage{roboto-serif} |
| 78 |
|
| 79 |
The following options are supported: |
| 80 |
|
| 81 |
regular |
| 82 |
bold |
| 83 |
medium |
| 84 |
black |
| 85 |
light |
| 86 |
thin |
| 87 |
condensed |
| 88 |
|
| 89 |
The default figure style is proportional-lining but the |
| 90 |
following options may be used to get other styles |
| 91 |
in Roboto, RobotoSerif and the condensed variants: |
| 92 |
|
| 93 |
oldstyle (or osf) |
| 94 |
tabular (or t) |
| 95 |
|
| 96 |
The following allow for localized use of non-default figure |
| 97 |
styles: |
| 98 |
|
| 99 |
\robotoLF{...} \robotoserifLF{...} (proportional lining) |
| 100 |
\robotoTLF{...} \robotoserifTLF{...} (tabular lining) |
| 101 |
\robotoOsF{...} \robotoserifOsF{...} (proportional oldstyle) |
| 102 |
\robotoTOsF{...} \robotoserifTOsF{...} (tabular oldstyle) |
| 103 |
|
| 104 |
The following commands allow for localized use of |
| 105 |
non-default weights: |
| 106 |
|
| 107 |
\robotoThin{...} \robotomonoThin{...} \robotoserifThin{...} |
| 108 |
\robotoLight{...} \robotomonoLight{...} \robotoserifLight{...} |
| 109 |
\robotoRegular{...} \robotomonoRegular{...} \robotoserifRegular{...} |
| 110 |
\robotoMedium{...} \robotomonoMedium{...} \robotoserifMedium{...} |
| 111 |
\robotoBold{...} \robotomonoBold{...} \robotoserifBold{...} |
| 112 |
\robotoBlack{...} \robotomonoBlack{...} \robotoserifBlack{...} |
| 113 |
|
| 114 |
Commands |
| 115 |
|
| 116 |
\roboto |
| 117 |
\robotocondensed |
| 118 |
\robotoboldcondensed |
| 119 |
\robotoslab |
| 120 |
\robotolgr |
| 121 |
\robotoslablgr |
| 122 |
\robotomono |
| 123 |
\robotoserif |
| 124 |
\robotoserifcondensed |
| 125 |
\robotoserifboldcondensed |
| 126 |
|
| 127 |
select those font families or series. |
| 128 |
|
| 129 |
Font encodings supported are OT1, T1, TS1, LY1 and LGR. |
| 130 |
|
| 131 |
To install this package on a TDS-compliant |
| 132 |
TeX system download the file |
| 133 |
"tex-archive"/install/fonts/roboto.tds.zip, where the |
| 134 |
preferred URL for "tex-archive" is http://mirror.ctan.org. |
| 135 |
Unzip the archive at the root of an appropriate texmf tree, |
| 136 |
likely a personal or local tree. If necessary, update the |
| 137 |
file-name database (e.g., texhash). Update the font-map |
| 138 |
files by enabling the Map file roboto.map. |
| 139 |
|
| 140 |
The original truetype fonts are available at |
| 141 |
http://www.google.com/webfonts and are licensed under the |
| 142 |
Apache or OFL licenses; the texts may be found in the |
| 143 |
doc directory. The opentype and type1 versions were created |
| 144 |
using fontforge and cfftot1. The support files were created |
| 145 |
using autoinst and are licensed under the terms of the LaTeX |
| 146 |
Project Public License. The maintainer of this package is |
| 147 |
Bob Tennent (rdt at cs.queensu.ca) |