Post-process the list of atoms after they are created, changing
binary operators to ordinary atoms according to the TeXbook's
rules. This makes the `prev` argument redundant, so drop it.

This commit assumes that the math class (mop/mbin/mrel/etc.) comes
first in the `classes` list, if present. Add a TODO to change the
signature of `makeSpan/makeSymbol` to enforce this invariant.
This commit is contained in:
Eddie Kohler
2016-11-21 14:02:24 -05:00
parent 9d3cdf694c
commit c951df4269
6 changed files with 99 additions and 74 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB