Getting Started

Using LaTeX Equations in Microsoft Word

How to get LaTeX equations into Microsoft Word using MathType, MathML paste, Pandoc, or images, with the trade-offs of each method for editable math.

On this page
  1. Can Word read LaTeX?
  2. Choose a method
  3. Option 1: MathType’s TeX input mode
  4. Option 2: Paste MathML from a converter
  5. Option 3: Convert a whole document with Pandoc
  6. Option 4: Insert an image
  7. Writing powers of ten: x × 10³
  8. Check the result
  9. Next steps

Can Word read LaTeX?

Not directly. Microsoft Word does not compile LaTeX, so pasting a .tex file into Word gives you raw code, not formatted math. You can still get LaTeX math into Word in four ways: MathType’s TeX input mode, pasting MathML from a converter, converting a whole document with Pandoc, or inserting an image. Which one you choose depends on whether the equation needs to stay editable.

A LaTeX document is a plain-text .tex source file that a LaTeX engine compiles into a PDF. For background, see getting started with LaTeX.

Choose a method

Method Best for Editable in Word? Effort
MathType TeX input mode A few equations in a paper Yes Low, but MathType is commercial
MathML paste from a converter One or two equations Yes, in most cases Low to medium; check each equation
Pandoc Whole documents Math yes; layout often needs fixing Medium
Image Final figures that won’t change No Lowest

Option 1: MathType’s TeX input mode

MathType is a commercial equation editor that works with Word. It has a TeX input mode in which you type LaTeX math and get an editable Word equation. The exact steps depend on your MathType version, so check its current documentation. Because MathType is a paid product, it makes sense mainly if you already own it or need it for many equations.

Option 2: Paste MathML from a converter

Some online tools render LaTeX and produce MathML, a standard web format for equations. Word can convert pasted MathML into an editable equation. One comparison of LaTeX-to-Word tools describes this workflow:

  1. Type the LaTeX math into the converter.
  2. Copy the MathML the tool shows you.
  3. Paste it where the equation belongs in your Word file, then check that you have an editable equation rather than raw code or an image.

The same comparison found that this works for most equations, but some expressions with subscripts, fractions, or integrals did not convert correctly. Check every equation you paste, and compare it with your LaTeX source.

Option 3: Convert a whole document with Pandoc

Pandoc is a free command-line tool that converts between document formats. For a full walkthrough, see how to convert LaTeX to Word with Pandoc. It can read a LaTeX file and write a Word file, converting the math into Word equations:

pandoc paper.tex -o paper.docx

Pandoc works best on plain, mostly standard LaTeX. Expect to check these parts after conversion:

  • Custom macros defined with \newcommand and packages such as TikZ often do not convert as you expect.
  • Tables, figures, and cross-references usually need manual fixes.
  • Citations need a bibliography file and the right options. Check the references in the output.
  • Proofread the whole document, not just the equations.

Option 4: Insert an image

You can compile an equation to a PDF or PNG and insert it as a picture. This looks right and takes almost no effort. The downside is that the equation can’t be edited in Word, and you must regenerate the image whenever the math changes. Use this for final figures and short notes, not for equations that you expect to revise.

Writing powers of ten: x × 10³

A common question is how to write something like x times 10 to the power 3. Here is how to do it in each tool.

In LaTeX

Inside a sentence, use math mode with dollar signs:

The value is $x \times 10^{3}$ in this case.

On its own line, use display math:

\[
  x \times 10^{3}
\]

A single-character exponent such as 3 works without braces, but braces are needed for longer exponents, such as 10^{-12}.

In Word’s equation editor

Press Alt+= or go to Insert, then Equation. Type x, then the multiplication sign, then 10. To add the exponent, use the Script structure in the Equation Tools tab and enter 3 as a superscript.

Check the result

  • Compare each converted equation with its LaTeX source.
  • Check Greek letters, arrows, and fractions, which are the most common points of failure.
  • Check equation numbers. Word and LaTeX number and label equations differently, so renumber or reference them by hand if needed.
  • Click each equation to confirm that it is editable where you need it to be.

Next steps

The complete guide to getting started

Getting Started with LaTeX: Document Preparation, Editors and Workflow
Read the guide

Keep exploring

Guides from other topics

All topics →