3 ms·
Some people use monospace fonts with ligatures specific to common programming languages: https://github.com/tonsky/FiraCode https://github.com/tonsky/FiraCode i
by __float 9y ago
Some people use monospace fonts with ligatures specific to common programming languages: https://github.com/tonsky/FiraCode https://github.com/tonsky/FiraCode is one such example.
- skytreader 9y agoNice example, thank you. I see how they managed to avoid my issues. (To save people the click: LaTeX ligatures != Fira ligatures. Most Fira ligatures are for programming operators/comparators and they are made to take as much space as the non-ligature version.)
- Shorel 9y agoBoth of these ligatures (fi and ->) in standard computer fonts like TTF or OTF use exactly the same technology. The only difference is that one ligature applies to alphabetic characters and the other to non-alphabetic characters. Ligatures can be used to make some font aesthetically pleasing like this: http://www.impallari.com/lobster/ http://www.impallari.com/lobster/ Or they can be abused like this: https://pixelambacht.nl/2015/sans-bullshit-sans/ https://pixelambacht.nl/2015/sans-bullshit-sans/ It is perfectly possible for a font to have alphabetic and non-alphabetic ligatures.
- Recurecur 9y agoI've been using FiraCode in Idea with ligatures, and like it. It's not a "must have", but I find it more readable and pleasing than using regular fonts.