Hacker News new | ask | show | jobs
by C-x_C-f 1143 days ago
I've always used \iffalse as a way to comment out text in TeX without losing syntax highlighting, and never thought much about its main use. It's cool to see that it's a crucial ingredient in the definition of \newif (also this SE answer [0] goes in more detail; tldr the basic \if is bad at parsing nested \fi's).

[0] https://tex.stackexchange.com/questions/46377/what-is-iffals...