In preparation of my book patch, I would like to let TexFormat output
LaTeX code.

My patch is at https://github.com/hemmecke/fricas/commits/tex-latex .

Perhaps the most important changes are

Instead of := you will get \coloneqq. ---> \usepackage{mathtools}

Matrices are done via \begin{pmatrix} ... \end{pmatrix} ---> amsmath

The math is encapsulated into \begin{LaTeXMath} .. \end{LaTeXMath}
instead of $$ ... $$. Since there are nowadays several packages that can
be uses like amsmath, mathtool or even breqn (\begin{dmath}), a user
should define

\newenvironment{LaTeXMath}{\begin{gather}}{\end{gather}}

or whatever he/she likes.

Can I commit?

Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to