Tweets on TeX, LaTeX, and typography. @JohnDCook.

Houston
Joined April 2010
TeX and Typography retweeted
I nerded out a bit and let Claude recreate the 1947 look in LaTeX.
Which looks better to you?
26
40
4
807
72,171
TeX and Typography retweeted
28
233
17
3,402
49,448
TeX and Typography retweeted
23
731
63
5,559
135,999
TeX and Typography retweeted
Did you know that Unicode has a symbol for "really equals, but this time I mean it"? It could come in handy for JavaScript U+003D = EQUALS SIGN U+2261 ≡ IDENTICAL TO U+2263 ≣ STRICTLY EQUIVALENT TO
17
159
11
4,523
117,872
TeX and Typography retweeted
When a mathematician says they prefer writing with Word over LaTeX
26
69
19
1,042
30,533
My least favorite letter in the frak alphabet is this one here. It corresponds to the letter k, often used for the compact form of a semisimple Lie algebra -- so $\frak{k}$ would be the Lie algebra of a compact Lie group. #math #algebra #geometry
2
15
3,037
TeX and Typography retweeted
New symbols in Unicode 17 johndcook.com/blog/2025/09/1…
2
5
16
2,796
TeX and Typography retweeted
>>> c = chr(0x131) >>> c.islower() True >>> c == c.upper().lower() False
1
1
7
4,228
TeX and Typography retweeted
Mathematicians without LaTeX
11
20
3
230
11,223
TeX and Typography retweeted
Most legible font for crypto wallet keys (WIF) johndcook.com/blog/2025/07/3…
1
2
10
2,672
TeX and Typography retweeted
Annuity and factorial notation johndcook.com/blog/2025/07/2…
1
5
1
23
5,329
TeX and Typography retweeted
Currency symbols often contain parallel lines.
3
1
1
21
3,234
TeX and Typography retweeted
>>> print("\N{SNOWMAN}") ☃
1
7
1
28
5,271
TeX and Typography retweeted
A fundamental rule in mathematics: LaTeX is usually pronounced LAY teck sometimes LAH teck and never LAY tex
55
48
11
621
39,454
TeX and Typography retweeted
TeX has a tool called a vphantom that let's you add an invisible structure to an equation that takes up no horizontal space but takes up exactly as much vertical space as it would if it were visible. This is very useful for aligning different parts of an equation for aesthetic purposes. Neither MathType nor Word's equation editor has a similar feature, so I've had to resort to ugly hacks for many years to get things aligned well, and the results usually were usually less than perfect. So of course, I included phantoms in Radical Pie, and you can see a couple examples below where I used them recently. In Radical Pie, you can select any piece of an equation and make a phantom out of it. Then it becomes invisible and has no horizontal size, but it still retains the same vertical extent upward and downward within its subexpression group.
4
6
60
6,639
TeX and Typography retweeted
1
12
1
76
8,596
TeX and Typography retweeted
New post: Unicode surrogates johndcook.com/blog/2025/03/0…
1
2
4
3,766
TeX and Typography retweeted
A huge amount of detail goes into mathematical typesetting. These are all the things I have to consider just for a simple radical. radicalpie.com
12
35
1
337
27,302
TeX and Typography retweeted
"Do you remember math before LaTeX?" Me:
6
6
2
150
7,956