Legible is set in B612, the typeface Airbus commissioned for cockpit screens. Intactile DESIGN drew it in 2012. Its name comes from the Little Prince's asteroid, in honor of the aviator Antoine de Saint-Exupéry.
B612 follows three rules:
Keep every letter true to its basic shape.
Make each letter look as unlike the others as possible.
Give shapes and spaces an even rhythm.
What is essential is invisible to the eye.
— Antoine de Saint-Exupéry, The Little Prince
Text can be bold, italic, highlighted, code or a link. Press Ctrl / (⌘ / on a Mac) to see this page as markdown.
Light theme
Dark theme
Your next document
xKNOT_IN_KMH = 1.852 # exact, by definition
def to_kmh(knots: float) -> float: """Convert an airspeed in knots to kilometers per hour.""" return round(knots * KNOT_IN_KMH, 1)
print(to_kmh(250)) # 463.0Taxi
Takeoff
Cruise
Landing
Note
The fonts come with the theme. There is nothing else to install.
Tip
Wider windows fit longer lines of code.
Important
Copy the legible folder along with both CSS files.
Warning
Typora lists new themes only after a restart.
Caution
Renaming the legible folder breaks the fonts.
Code blocks fit 80 columns. Windows 1400 px and wider fit 100, and 1800 px and wider fit 120. Each ruler stays on one line once the window is wide enough.
xxxxxxxxxx 1 2 3 4 5 6 7 812345678901234567890123456789012345678901234567890123456789012345678901234567890xxxxxxxxxx 1 2 3 4 5 6 7 8 9 101234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890xxxxxxxxxx 1 2 3 4 5 6 7 8 9 10 11 12123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890| Convention | Limit | Fits on screen | Fits in an A4 PDF |
|---|---|---|---|
| PEP 8 (Python) | 79 | Every width | Yes |
| Prettier default | 80 | Every width | Yes |
| markdownlint MD013 default | 80 | Every width | Yes |
| Black (Python) | 88 | 1400px and wider | No |
| rustfmt default | 100 | 1400px and wider | No |
| Google Java Style | 100 | 1400px and wider | No |
| JetBrains IDEs hard wrap | 120 | 1800px and wider | No |
B612 and Lato are free fonts.1