Laila + M PLUS 1 Code
Font pairing: Laila for headings, M PLUS 1 Code 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.
- Shared skeleton
- Similar x-height
- Both open source
Why Laila and M PLUS 1 Code work
- M PLUS 1 Code is a humanist sans: it shares Laila’s calligraphic skeleton, like the two halves of a superfamily.
- Matching x-heights (52% and 52% of the font size), so they mix evenly on one line.
- Both open source: free to modify, share, self-host and subset, including for commercial use.
Laila and M PLUS 1 Code compared
| Detail | LailaHeadings | M PLUS 1 CodeText |
|---|---|---|
| Style | Humanist (Venetian) serif | Monospace |
| Stroke contrast | Moderate | Low |
| x-height | 0.52 em | 0.52 em |
| Average width | 0.52 em | 0.50 em |
| Weights | 5 weights, 300-700 | 7 weights, 100-700 (variable) |
| Italics | No | No |
| Scripts | Devanagari, Latin and Latin Extended | Japanese, Latin, Latin Extended and Vietnamese |
| Designer | Indian Type Foundry | Coji Morishita |
| Licence | SIL Open Font License 1.1 | SIL Open Font License 1.1 |
- x-height: within 1% of each other, so the two can share a line at the same size.
- Width: Laila and M PLUS 1 Code have similar average widths (within 3%).
- Weights: Laila at 700 for headings, M PLUS 1 Code at 400 for text and 700 for bold. M PLUS 1 Code has no italics, so browsers slant it for emphasis.
- Scripts: both cover Latin and Latin Extended. Only Laila covers Devanagari. Only M PLUS 1 Code covers Japanese and Vietnamese.
The two fonts
Heading
Laila
Open sourceSerif · HumanistGoogle Fonts
Free for personal and commercial use. You can self-host, subset and embed it.
Body
M PLUS 1 Code
Open sourceMonospace · MonospaceGoogle 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=Laila:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1+Code:wght@100;200;300;400;500;600;700&display=swap');
h1, h2, h3 {
font-family: 'Laila', Georgia, "Times New Roman", serif;
font-weight: 700;
}
body {
font-family: 'M PLUS 1 Code', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
Pair Laila with…
Laila
Hind Good typography is invisible until it is missing.
Laila
Google Sans Good typography is invisible until it is missing.
Laila
Poppins Good typography is invisible until it is missing.
Laila
Noto Sans Good typography is invisible until it is missing.
Laila
Palanquin Good typography is invisible until it is missing.
Laila
Martel Sans Good typography is invisible until it is missing.
Pair M PLUS 1 Code with…
M PLUS 1
M PLUS 1 Code Good typography is invisible until it is missing.
M PLUS Code Latin
M PLUS 1 Code Good typography is invisible until it is missing.
M PLUS 2
M PLUS 1 Code Good typography is invisible until it is missing.
Playfair Display
M PLUS 1 Code Good typography is invisible until it is missing.
PT Serif
M PLUS 1 Code Good typography is invisible until it is missing.
Neuton
M PLUS 1 Code Good typography is invisible until it is missing.