STIX Two Math + DM Sans
Font pairing: STIX Two Math for headings, DM Sans for body text.
The quick brown fox jumps over the lazy dog
Good typography is invisible until it is missing. Pair a characterful headline with a calm, readable text face, keep lines between 45 and 75 characters, and give every paragraph room to breathe.
- Transitional serif over geometric sans
- Comfortable body text
- Optical sizes
- Both open source
Why STIX Two Math and DM Sans work
- Transitional serif over geometric sans: characterful headlines, clear body text.
- DM Sans has regular, italic and bold styles and a generous x-height: comfortable at 16 px.
- DM Sans has optical sizes: finer details at headline sizes, sturdier shapes in text.
- Both open source: free to modify, share, self-host and subset, including for commercial use.
STIX Two Math and DM Sans compared
| Detail | STIX Two MathHeadings | DM SansText |
|---|---|---|
| Style | Transitional serif | Geometric sans |
| Stroke contrast | Not listed | Low |
| x-height | 0.47 em | 0.50 em |
| Average width | 0.48 em | 0.52 em |
| Weights | 400 only | 9 weights, 100-900 (variable) |
| Italics | No | Yes |
| Scripts | Latin | Latin and Latin Extended |
| Designer | Tiro Typeworks, Ross Mills, John Hudson and Paul Hanslow | Colophon Foundry |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |
- x-height: at the same size, DM Sans’s lowercase is 7% taller than STIX Two Math’s. When the two share a line, set DM Sans at 94% to even them out.
- Width: DM Sans runs 9% wider than STIX Two Math on average.
- Weights: STIX Two Math at 400 for headings, DM Sans at 400 for text and 700 for bold.
- Scripts: both cover Latin. Only DM Sans covers Latin Extended.
The two fonts
Heading
STIX Two Math
Open sourceSerif · TransitionalGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
Body
DM Sans
Open sourceSans Serif · GeometricGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
CSS for this pairing
@import url('https://fonts.googleapis.com/css2?family=STIX+Two+Math&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
h1, h2, h3 {
font-family: 'STIX Two Math', Georgia, "Times New Roman", serif;
font-weight: 400;
}
body {
font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
Pair STIX Two Math with…
STIX Two Math
Google Sans Good typography is invisible until it is missing.
STIX Two Math
Roboto Good typography is invisible until it is missing.
STIX Two Math
Lato Good typography is invisible until it is missing.
STIX Two Math
Open Sans Good typography is invisible until it is missing.
STIX Two Math
Hanken Grotesk Good typography is invisible until it is missing.
STIX Two Math
Barlow Semi Condensed Good typography is invisible until it is missing.
Pair DM Sans with…
DM Serif Display
DM Sans Good typography is invisible until it is missing.
DM Serif Text
DM Sans Good typography is invisible until it is missing.
DM Mono
DM Sans Good typography is invisible until it is missing.
Playfair Display
DM Sans Good typography is invisible until it is missing.
Podkova
DM Sans Good typography is invisible until it is missing.
Unna
DM Sans Good typography is invisible until it is missing.