# [Maxima] breqn and maxima

Morten Høgholm mh.ctan at gmail.com
Sat Dec 15 07:59:20 CST 2007

On Dec 14, 2007, at 12:13 PM, Constantine Frangos wrote:

Hi Constantine,

> As far as I understand breqn,  can modify the latex code output from
> the
> Maxima command tex(), in order to split very long expressions over
> multiple
> lines, etc
>
> and how
> to install this under suse linux versions 10.1, 10.2.

Getting breqn and its components is easy as it is on ctan now. Just
search for "breqn" which will take you to the TeX Catalogue and
onward. How to extract the files are described in each source file.

Once you have done this, see <http://www.tex.ac.uk/cgi-bin/texfaq2html?label=install-where
> for how to put them where your TeX distribution will find them.
Sorry I cannot be of more help here but I am on OS X, where the
location of such files are different from that of linuxes.

> Also, a sample latex file showing how to use breqn would be helpful.

The documentation contains some examples you can copy. A very small
example from my thesis (which was on breqn):

\documentclass{article}
\usepackage{breqn}
\begin{document}
\begin{dmath}
f(x) = \sum_{k=0}^{\infty} \frac{f^{(k)}(c)}{k!}(x-c)^{k}
= f(c)+f'(c)(x-c) +\frac{f''(c)}{2!}(x-c)^{2}
+ \frac{f^{(3)}(c)}{3!}(x-c)^{3}+\cdots
\end{dmath}
\end{document}

dmath for numbered equation, dmath* for unnumbered. dgroup and dgroup*
environments for groups of equations consisting of dmath or dmath*
environments.

Morten
Maintainer email for questions regarding the "mh" packages
on CTAN: breqn, empheq, mathtools, etc.