If you have a .tex file and want to move its content into a .doc-style workflow, especially in LibreOffice Writer, directly transferring LaTeX equations can be difficult. If that is your goal, this article is for you.

LibreOffice does not directly support LaTeX equations. It supports a format called MathML. So, you first need to convert equations from LaTeX to MathML.

That is exactly what this tool does:

  • It takes your .tex file from Overleaf or any other source.
  • It extracts all equations one by one.
  • It converts each equation into LibreOffice-compatible MathML.
  • It lets you copy the output and insert equations into the right places in your Writer document.

Tool link:

Open-Source Credit

This converter uses Temml as the LaTeX to MathML engine. Temml is open source and distributed under the MIT License.

How to Insert Equations in LibreOffice

Follow these steps:

  1. Open your LibreOffice Writer document.
  2. Go to the Insert menu.
  3. Choose OLE Object.
  4. Select Formula Object.
  5. In the formula editor, open the Tools menu.
  6. Click Import MathML from Clipboard.
  7. If you copied MathML output from our system, your equation is imported into LibreOffice immediately.

Who This Guide Is For

  • Users with many equations in TeX files
  • Users moving from Overleaf to LibreOffice
  • Students, researchers, and writers who do not want to rewrite equations manually

Short Summary

In this workflow, equations are first converted from .tex to MathML, then inserted into LibreOffice Writer using Tools -> Import MathML from Clipboard.