How to use math equations in Word using Latex Way ?


πŸ‘€Β Diwas Poudel Β Β  πŸ•’ 18 Mar 2023 Β Β  πŸ“ TECH

The use of LaTex Software has become the industry standard for the communication, and publication of scientific documents. It is an application that does not require any fees to be paid in order to use it, as it is entirely free.

However, you can use the LaTex Option in Word if you are a regular user of Microsoft Word and enjoy using various mathematical expressions and equations. If that's the case, this article will be helpful to you.

Since Latex Software provides many features for quickly typing complex mathematical equations, Microsoft recognizes Latex's ease of use, and MS Office, such as MS Word, began supporting Latex in Office 365 Version 1707 or later.

Please keep in mind that if your thesis contains complex math equations, I recommend that you use Latex Software instead of Word. Word with Latex is appropriate for simple, usable math expressions and equations. This is my personal choice.

How to use Latex in Office 365 Version 1707 or Later?

Using Latex Syntax in Office 365 Version 1707 or Later is very simple. Here are the steps.

1 Open MS WordΒ 

2 Open the Latex Option by going to Insert > Equations > Latex or press the keyboard shortcut ALT + =Β 

This will open a small Latex Equation Box.Β 

3 Β Type your desired Mathematical equation inside that box in Latex Ways.

For example: \frac{-b\pm\sqrt{b^2-4ac}}{2a}

4 In that box, at the bottom right corner, click on the Down arrow and select "Professional"

5 Now, the above Latex will be processed into Equation Editors as shown below.

laTex in Word
fig. Solution to How to use Latex in Word?

How to convert back from Equation format to Latex Format in Word?

If you like to convert it back to Latex format you can easily do that. For this, again click on the down arrow and select Linear or simply press Ctrl + Shift + =.

In this case, MS Word does not have an integrated Tex Processor; rather, it relies on pattern matching in order to transform straightforward LaTeX syntax into the format used by the system's native mathematical equations.

Also read: How to set break line color and style in MS Word?

The formatting of the mathematical expressions and equations is merely an attempt to generate a Latex-style for MS Word.

The vast majority of the commonly used syntax in LaTeX is supported in the most recent version of Word. But even some of the Latex Keywords like \Bar , \Middle, ,\Lbrack , \normal ,\|div ,\end , \dsmash , \norm etc are not supported properly.As may be seen in the following table, the Microsoft Official website provides a list of 20 different syntaxes that are not supported.

latex syntax not supported in word
fig. latex syntax not supported in word (source: Microsoft)

I really hope Microsoft will fix this issue in the near future.

Conclusion:

In this way, we can use Latex in MS Word.

Also read: How do I count words in Microsoft OneNote?

Some Popular used Math Equations in Latex:

Integral Equation

\int_{a}^{b} f(x) dx

Area of Circle

A = \pi r^2

Geometric Series

\sum_{k=0}^{\infty} ar^k = \frac{a}{1-r}, \quad |r| < 1

Binomial Coefficient

\binom{n}{k} = \frac{n!}{k!(n-k)!}

Normal Distribution

f(x) = \frac{1}{\sigma \sqrt{2\pi}} e^{-\frac{(x-\mu)^2}{2\sigma^2}}

Laplace Transformation of a function

F(s) = \int_0^\infty e^{-st} f(t) dt

Fourier Transform of a function

\hat{f}(\omega) = \int_{-\infty}^\infty f(t) e^{-i\omega t} dt

Gravitational Force between two bodies m1 and m2

F = G \frac{m_1 m_2}{r^2}

Formula for the Taylor series expansion of a function

f(x) = \sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!}(x-a)^n

Note that you can simply copy and paste these equations into Word Equations Editor. Then the equations will appear in a word document.

FAQ:

How to convert LaTex and Tex documents to Word?

Documents written in LaTeX, AMS-LaTeX, Plain TeX, or AMS-TeX can be converted to the Microsoft Word file format with GrindEQ LaTeX-to-Word. Visit here.

LaTeX for Word math equations: any restrictions?

Word's Equation editor limits LaTeX's math equation creation power. The editor may not support all LaTeX commands and have fewer formatting choices than a dedicated LaTeX editor. LaTeX in Word may require extra configuration.

Can I edit a Word-inserted LaTeX equation?

Double-clicking a LaTeX equation in Word opens the Equation tool, allowing you to edit it. From there, you can edit the LaTeX code or format the solution using the editor.

Is creating math calculations in Word only possible through the use of LaTeX?

No, Word also has an in-built Equation editor that offers a graphical user interface for the purpose of generating mathematical expressions and equations. Users who are not familiar with LaTeX may find the Equation editor to be a useful choice because it offers a variety of symbols and formatting options and because it is included in the software.