Daniel-Diaz / HaTeX

The Haskell LaTeX library.
BSD 3-Clause "New" or "Revised" License
199 stars 46 forks source link

New symbols for AMSSymb; new coproduct, bigcap, bigcup for AMSMath; n… #123

Closed 0xCM closed 5 years ago

0xCM commented 5 years ago

…ew quaternions number set for AMSFonts

leftaroundabout commented 5 years ago

Nice; I assume you have read https://github.com/Daniel-Diaz/HaTeX/pull/120? There we discussed the problematic of the maths commands being currently, inconsistently, all in AMSMath. I've started factoring this out into a Text.LaTeX.Base.Math module (which turns out to be less straightforward than expected, because the AMS-LaTeX documention hardly bothers listing what exactly each package does).

Are the symbols you're adding to the AMSSymb module here all really from the amssymb package?

leftaroundabout commented 5 years ago

I adapted your commit to the intended new module structure which better mirrors the way the commands are actually defined in LaTeX. Please check https://github.com/Daniel-Diaz/HaTeX/pull/124/commits/46db4e2b464e690fc2fbcf79b6410e1979cfe521.

leftaroundabout commented 5 years ago

https://github.com/Daniel-Diaz/HaTeX/pull/124

0xCM commented 5 years ago

Nice; I assume you have read #120? Sorry it's taken me so long to respond; I didn't notice I had any pending messages. And no, I wasn't aware of #120; I just needed a couple of arrows and added a batch of them. And yeah, I did notice there was confusion regarding which symbols required the additional AMS package; as you note, the documentation on the packages wasn't really helpful. Thanks for getting it sorted out.