kpeeters / cadabra2

A field-theory motivated approach to computer algebra.
https://cadabra.science/
GNU General Public License v3.0
215 stars 37 forks source link

minor change to TeX output for components #171

Closed leo-brewin closed 4 years ago

leo-brewin commented 4 years ago

Hi Kasper, Line 736 in core/DisplayTeX.cc is currently

str << "= & ";

This is not usual in TeX as it will produce uneven whitespace around the equal sign. The usual alignment would be

str << "&= ";

or if you do want the alignment after the equal sign

str << "={}& ";

It's a small change that probably nobody would notice. But I though I'd just mention it.

kpeeters commented 4 years ago

Ok, fixed.