TexMaths is a brilliant extension to integrate LaTeX in LibreOffice to produce beautiful scientific & mathematical expressions in LibreOffice document. If you are accustomed to LaTeX, but want to use LibreOffice, then TexMaths is for you. TexMath can be used in Writer, Impress, and Draw documents. So the output document will be in OpenDocument Format (.odt, .odp, .odg). TexMath is a free software by Roland Baudin based on OOoLaTeX by Geoffroy Piroux. This article introduce how to install it including an example and further references.

Requirement

TexMaths makes use of LaTeX program in your system to produce the output on LibreOffice document. So of course to run it you need LaTeX itself. In Ubuntu, it's enough to install texlive-latex-base package with its small dependencies:

2. Install The Extension

3. Restart LibreOffice

Close LibreOffice and start it again.

4. Start Writing Equations

Now you see a new TexMaths toolbar on your window. Start typing LaTeX syntax such as \int_{a}^{b} f (x) d x > highlight the syntax > press the blue pi button on TexMaths toolbar. The result should be like this.

Syntax References

If you need references about writing LaTeX syntax for mathematical expressions, here are good links: