KenyC / ReX

ReX - typesetting mathematics
MIT License
8 stars 1 forks source link

Cells in array environment should be in textstyle regardless of whether the formula is displaystyle #15

Closed KenyC closed 6 months ago

KenyC commented 6 months ago

Currently, array cells are rendered in display style when the whole formula itself is in display style, e.g.

\begin{array}{c} \sum_0^8 \end{array}

Render with:

cargo run --example svg-basic --all-features -- "\\begin{array}{c} \\sum_0^8 \\end{array}" -o /tmp/test.svg

yields:

rex

Whereas LaTeX yields:

tex

(Ignore size differences ; the point is that one has sub/superscript limits, the other abvoe and below)