logoalt Hacker News

A font with built-in TeX syntax highlighting

37 pointsby LorenDBlast Saturday at 6:01 PM6 commentsview on HN

Comments

gwernyesterday at 4:06 PM

Note: this is different from https://blog.glyphdrawing.club/font-with-built-in-syntax-hig... https://news.ycombinator.com/item?id=41245159 which recently resurfaced, and is cited as prior art.

magicalhippoyesterday at 6:15 PM

From what I can gather, the underlying feature that enables this is vontextual alternates[1], primarily intended to adjust letters based on adjacent letters to improve legibility.

edit: I see the referenced inspiration[2] explains it in detail.

[1]: https://typenetwork.com/articles/opentype-at-work-contextual...

[2]: https://blog.glyphdrawing.club/font-with-built-in-syntax-hig...

punkpeyeyesterday at 3:25 PM

Fascinating

ptsptsyesterday at 4:59 PM

As a text editor user, I prefer selecting the font and the syntax highlighting independently. This font is not useful for me.

show 2 replies