Code Yarns ‍👨‍💻
Tech BlogPersonal Blog


📅 2013-Oct-03 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ extension, latex, libreoffice, libreoffice impress, libreoffice writer, texmaths ⬩ 📚 Archive

TexMaths is an extension to LibreOffice which enables you to insert LaTeX equations into Writer documents and Impress presentations.


  1. You will need LibreOffice and TeXLive, the common LaTeX distribution on Ubuntu. Install them if you don't have them:
$ sudo apt-get install libreoffice
$ sudo apt-get install texlive
  1. Download the TeXMaths extension from its Sourceforge download page. The extension downloads as a .oxt file.

  2. Open LibreOffice Writer and go to Tools > Extension Manager > Add and choose the downloaded .oxt file to install it.

  3. Close and start LibreOffice Writer again. It typically hangs the first time I install a new extension and its window does not appear. If this happens to you, kill its process. Starting it now should work.


TeXMaths adds a couple of icons to the toolbar in Writer and Impress. To insert a LaTeX equation, just click the equations icon, which is shown as pi. Type the equation you want and click LaTeX. The rendered equation is inserted as an image into the document or slide. To edit it again, select the image and click the equations button again.

Tried with: TeXMaths 0.38, LibreOffice and Ubuntu 12.04 LTS