Source
Adobe’s Source Serif 4, Source Sans 3 and Source Code Pro
The Source families are Adobe’s first open-source fonts: Paul D. Hunt drew Source Sans in 2012 and Source Code from it, a monospaced companion for programmers, and Frank Grießhammer drew Source Serif from the transitional types of Pierre-Simon Fournier.The fonts are free, under the SIL Open Font License, and come with the theme in static/source/, Adobe’s files as released. LaTeX loads the same families with \usepackage{sourceserifpro}, sourcesanspro and sourcecodepro. The three share their proportions, so a page set in them reads as one voice in three registers.
Turning it on#
This page sets the family in its front matter,
font: source # Source Serif 4 and Source Sans 3and a whole site sets it in its configuration:
[params]
font = "source"Source Code Pro needs no setting: it is the theme’s monospaced face whatever the text font, but Libertinus, which keeps its own Libertinus Mono.
The text faces#
Source Serif 4 has true small caps, so small capitals and the first words of a new thought come from the font and are not shrunk capitals; old-style figures, which the numbers of the notes always use and which this page turns on for the whole text (1984, 2026) with the class option numerals: oldstyle; ligatures (fi, fl, ff, ffi); and Greek and Cyrillic: ἀρχή, λόγος, азбука.Every face holds Latin, Greek and Cyrillic in one file, about 60 to 110 kB, which a browser downloads only for a page that uses it. Its italic is a true italic, and there is bold and bold italic.
The sans-serif, Source Sans 3, replaces Gill Sans wherever the theme sets sans-serif: in the sans shortcode, in the tables and with the sfsidenotes class option.
| Face | Use on this page |
|---|---|
| Source Serif 4 | text, headings, notes |
| Source Sans 3 | tables, sans |
| Source Code Pro | code, on every page |
Code is set in Source Code Pro, whose figures are lining even in a text with old-style ones (n = 1984):
func gauss(n int) int { return n * (n + 1) / 2 }The math keeps its own font: KaTeX’s by default, or Euler or Libertinus Math with mathFont ().