Settings

Theme

A font with built-in TeX syntax highlighting

rajeeshknambiar.wordpress.com

44 points by LorenDB 18 days ago · 7 comments

Reader

gwern 13 days ago

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.

magicalhippo 13 days ago

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...

punkpeye 13 days ago

Fascinating

ptspts 13 days ago

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

  • colechristensen 13 days ago

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

    Then it's not for you. This comment does not add anything to the conversation and comments like these are better left unwritten.

  • fph 13 days ago

    I suppose this gets useful in applications where you can change the font, but not add syntax highlighting. Besides being a neat trick, of course.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection