[Tex/LaTex] Why doesn’t TeX/LaTeX have reasonable defaults in certain cases

math-mode

I am in constant search for an alternative to LaTeX, but it seems I am stuck for it for a long time, and I am trying to see the bright side of it.

The other day one thought struck me, I think, LaTeX is missing many reasonable defaults, especially math environment. For example, it is very unlikely that you have three variables named l, o and g at the same time, and you are writing product of those three variables in that order. But still you have to write \log to indicate you meant the function log(). In other words, when someone writes log, they (almost) always mean the log function.

Same is true for parentheses and braces, in math environment when one uses a parenthesis again they most probably mean a \left(. I know, I can introduce my own \( commands but again they are not by default.

Because I am using LaTeX mostly for math typesetting, I am only aware of those kind of non-defaults. My question is why are the things are not designed such that these most basic, fundamental things are not handled by default? I read that Knuth is considered math typesetting specialist, he should have noticed these burdens while he is using TeX in my opinion.

Best Answer

Well, to answer your question. The behaviour is reasonable, because it is consistent. I use, besides \log, the functions \det, \tr, \tg, \inv, \abs, etc. If you made the "most-used" ones "backslash-less", then you don't know which ones have backslash and which don't. As well, some of us generate automated LaTeX codes and such exceptions would change our work to a true hell.

For parentheses, you get into serious troubles with things like [0,1[ for semi-open intervals, or even [0,1) for that.

Remember, LaTeX is good because it is consistent hence predictable, once you learn the basics.