Merge pull request #569 from Altariarite/Fonts.lagda.md

changed codeblocks to displays in Fonts.lagda.md
This commit is contained in:
Philip Wadler 2021-07-02 15:20:15 +01:00 committed by GitHub
commit 5a5706ed5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,113 +11,101 @@ module plfa.backmatter.Fonts where
Preferably, all vertical bars should line up. Preferably, all vertical bars should line up.
``` --------------------------|
{- abcdefghijklmnopqrstuvwxyz|
--------------------------| ABCDEFGHIJKLMNOPQRSTUVWXYZ|
abcdefghijklmnopqrstuvwxyz| ᵃᵇᶜᵈᵉᶠᵍʰⁱʲᵏˡᵐⁿᵒᵖ ʳˢᵗᵘᵛʷˣʸᶻ|
ABCDEFGHIJKLMNOPQRSTUVWXYZ| ᴬᴮ ᴰᴱ ᴳᴴᴵᴶᴷᴸᴹᴺᴼᴾ ᴿ ᵀᵁⱽᵂ |
ᵃᵇᶜᵈᵉᶠᵍʰⁱʲᵏˡᵐⁿᵒᵖ ʳˢᵗᵘᵛʷˣʸᶻ| ₐ ₑ ₕᵢⱼₖₗₘₙₒₚ ᵣₛₜᵤ ₓ |
ᴬᴮ ᴰᴱ ᴳᴴᴵᴶᴷᴸᴹᴺᴼᴾ ᴿ ᵀᵁⱽᵂ | --------------------------|
ₐ ₑ ₕᵢⱼₖₗₘₙₒₚ ᵣₛₜᵤ ₓ | ----------|
--------------------------| 0123456789|
----------| ⁰¹²³⁴⁵⁶⁷⁸⁹|
0123456789| ₀₁₂₃₄₅₆₇₈₉|
⁰¹²³⁴⁵⁶⁷⁸⁹| ----------|
₀₁₂₃₄₅₆₇₈₉| ------------------------|
----------| αβγδεζηθικλμνξοπρστυφχψω|
------------------------| ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ|
αβγδεζηθικλμνξοπρστυφχψω| ------------------------|
ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ| ----|
------------------------| ≠≠≠≠|
----| ηημμ|
≠≠≠≠| ΓΓΔΔ|
ηημμ| ΣΣΠΠ|
ΓΓΔΔ| λλλλ|
ΣΣΠΠ| ƛƛƛƛ|
λλλλ| ····|
ƛƛƛƛ| ××××|
····| |
××××| ≡≡≡≡|
| ¬¬¬¬|
≡≡≡≡| ≤≤≥≥|
¬¬¬¬| ∅∅∅∅|
≤≤≥≥| ————|
∅∅∅∅| ††‡‡|
————| ^^^^|
††‡‡| ''""|
^^^^| ``~~|
''""| ⊎⊎⊃⊃|
``~~| ∧∧∨∨|
⊎⊎⊃⊃| ⊗⊗⊗⊗|
∧∧∨∨| ⊔⊔⊔⊔|
⊗⊗⊗⊗| cᶜbᵇ|
⊔⊔⊔⊔| lˡrʳ|
cᶜbᵇ| ⁻⁻⁺⁺|
lˡrʳ| |
⁻⁻⁺⁺| ∀∀∃∃|
| ′′″″|
∀∀∃∃| ∘∘∘∘|
′′″″| ‌≢≢≃≃|
∘∘∘∘| ≲≲≳≳|
‌≢≢≃≃| ≟≟≐≐|
≲≲≳≳| ∸∸∸∸|
≟≟≐≐| ⟨⟨⟩⟩|
∸∸∸∸| ⌊⌊⌋⌋|
⟨⟨⟩⟩| ⌈⌈⌉⌉|
⌊⌊⌋⌋| ↑↑↓↓|
⌈⌈⌉⌉| ⇔⇔↔↔|
↑↑↓↓| →→⇒⇒|
⇔⇔↔↔| ←←⇐⇐|
→→⇒⇒| ↞↞↠↠|
←←⇐⇐| ∈∈∋∋|
↞↞↠↠| ⊢⊢⊣⊣|
∈∈∋∋| ⊥⊥⊤⊤|
⊢⊢⊣⊣| ∷∷∷∷|
⊥⊥⊤⊤| ∎∎∎∎|
∷∷∷∷| ⦂⦂⦂⦂|
∎∎∎∎| ∥∥∥∥|
⦂⦂⦂⦂| ★★★★|
∥∥∥∥| ∌∌∉∉|
★★★★| ⨟⨟⨟⨟|
∌∌∉∉| ⨆⨆⨆⨆|
⨟⨟⨟⨟| |
⨆⨆⨆⨆| ----|
|
----|
-}
```
In the book we use the em-dash to make big arrows. In the book we use the em-dash to make big arrows.
``` ----|
{- —→—→|
----| ←—←—|
—→—→| ↞—↞—|
←—←—| —↠—↠|
↞—↞—| ----|
—↠—↠|
----|
-}
```
Here are some characters that are often not monospaced. Here are some characters that are often not monospaced.
``` ----|
{- 😇😇|
----| 😈😈|
😇😇| ⁗⁗|
😈😈| ‴‴|
⁗⁗| ----|
‴‴| ------------|
----| ------------|
------------| ----------|
------------| 𝔸𝔹𝔻𝔼𝔽𝔾𝕀𝕁𝕂𝕃𝕄𝕆𝕊|
----------| 𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛|
𝔸𝔹𝔻𝔼𝔽𝔾𝕀𝕁𝕂𝕃𝕄𝕆𝕊| 𝑎𝑏𝑐𝑑𝑒𝑓𝑔𝑖𝑗𝑘|
𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛| |
𝑎𝑏𝑐𝑑𝑒𝑓𝑔𝑖𝑗𝑘| ----------|
|
----------|
-}
```