Quantcast
Channel: How bad for TeX is omitting braces {}, even if the result is the same? - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 7

How bad for TeX is omitting braces {}, even if the result is the same?

$
0
0

Sometimes writing braces and omitting them produces the same result:

\tilde{\psi}  \mathrm{e}^{\mathrm{i} \pi}

vs

\tilde \psi   \mathrm e^{\mathrm i \pi}

Or (taken from Werner's comment below)

\frac{1}{2} vs \frac12

If that's the case, how bad for the quality of my code is omitting them? Of course, if one compiles a pair of formulas, there is no difference. But, since I ignore how TeX works, my point is: if one writes long codes with these habits,

  1. doesn't TeX go somehow crazy because I'm not writing as it expects?
  2. For instance, does it have any effect on how fast are long documents compiled? Any reason to keep them?

Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>