


Most math expressions form a tree structure, known as abstract syntax tree in computer science. Similarly for the traditional notation of matrix, subscripts, sets, absolutes/norms, summation, derivative, integral, … etc.

The system should know that it is a operation applied to two things, each of which is some particular operation on symbols x. However, it is important to consider the preservation of semantic structure in building a math notation representation language. Math notation does not always have well-defined structure or meaning. Here's what you have to write: \sum_ The Structure in Math Expressions TeX - the Grand Daddy of Syntax Soup - Worse Than C sprintf This page discuss why Donald Knuth's TeX (and LaTeX) is a bad technology.
