summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/spectral/README
blob: f7609b9b01c230577cf323314141fc7dd178e48e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
This is the README for the spectral package, version 
2021-01-01.

This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX
support for the Spectral family of fonts, designed by
Jean-Baptiste Levée at the Production Type digital type
design agency. Spectral is a new and versatile serif face
available in seven weights of roman and italic, with small
caps.

To install this package on a TDS-compliant
TeX system download the file
"tex-archive"/install/fonts/spectral.tds.zip, where the
preferred URL for "tex-archive" is http://mirror.ctan.org.
Unzip the archive at the root of an appropriate texmf tree,
likely a personal or local tree. If necessary, update the
file-name database (e.g., texhash). Update the font-map
files by enabling the Map file spectral.map.

To use, add

\usepackage{spectral}

to the preamble of your document. Options include:

oldstyle,osf    old-style figures
lining,lf       lining figures

proportional,p  varying-width figures
tabular,t       fixed-width figures

The defaults are oldstyle and proportional.

el, extralight  extralight weight
l, light        light weight
m, medium       medium weight
sb, semibold    semibold weight
eb, extrabold   extrabold weight

The default weights are regular and bold.

Available shapes include:

it              italic
sc              small caps
scit            italic small caps

Slanted variants are not supported; the italic variants will
be automatically substituted. Font encodings supported are
OT1, T1, TS1, and LY1.

Options scaled=<number> or scale=<number> may be used to
adjust fontsizes. The type1 option may be used by xelatex
or lualatex users who prefer to use type1 fonts or to avoid
fontspec.

Commands \spectralextralight, \spectrallight, \spectralmedium,
\spectralsemibold and \spectralextrabold allow for local
use of those series.

Commands \oldstylenums{...} and \liningnums{...} are defined
to allow for local use of old-style figures or lining
figures, respectively. Similarly, \tabularnums{...} and
\proportionalnums{...} allow for local use of monospaced or
varying-width figures, respectively.

Superior numbers (for footnote markers) are available
using \sufigures or \textsu{...}. 

The original fonts are available from
https://github.com/productiontype/Spectral/tree/master/fonts
and are licensed under the SIL Open Font License, (version
1.1); the text may be found in the doc directory. 

The type1 versions were created using fontforge. The support
files were created using autoinst (version 20200729) and
otftotfm (version 2.108) and are licensed under the terms
of the LaTeX Project Public License. The maintainer of this
package is Bob Tennent (rdt at cs.queensu.ca)