Writing and rendering LaTeX in Google Docs allows you to create professional mathematical and scientific equations directly within your document. Using add-ons like Auto-LaTeX Equations, you can insert single- or multi-line formulas with fractions, Greek letters, summations, and other symbols neatly and accurately.
Steps to Write and Render LaTeX in Google Docs
There are some simple steps to be followed to write and render equations in Google Doc latex:
Step 1: Go to the Extensions Tab
Open your document in Google Docs and click on the Extensions icon, which is present at the top of your document as shown in the image below.
-660.webp)
Step 2: Select Get Add-Ons
Next, Click on Add-ons options from the displayed dropdown and select Get add-ons options.

Step 3: Search for Auto Latex
You can see Google Workspace Marketplace is opened by selecting the option Get add-ons. Now you need to search for the Auto-LaTeX Equations option in Google Workspace Marketplace.

Step 4: Install Auto-LaTeX Equations
Next, select the Auto-LaTeX Equations option and click on the install option. After that, you can log into your Google account give permissions and click allow and save. After successful installation, you can see the message below.

Step 5: Go to Auto LaTeX Equations and Select Start
Once installed you can go back to Add-ons and Select the Auto-LaTeX Equations from the Extensions Tab. After Selecting, click on Start.

Step 6: Auto LaTeX Equations Toolbar Displayed
You can see an Auto-LaTeX Equations toolbar open on the right side of your screen.

Note: To Render Equations in Google Docs remember to wrap all latex in "$$ ... $$."
For example, $$3^{4^5} + \frac{1}{2}$$ would be a valid equation.
Steps to Write Single-Line Equations in Google Docs
For using the "Render Equations" option, the document as an example is shown below:
Step 1: Wrap Text Between Dollar "$$" Symbol
For single-line equations we need to add the $$ symbol before the equation and again the $$ symbol after the equation completion as shown in the image below.

Step 2: Click on Render Equations
After wrapping the text between double dollar symbols click on the Render Equations. The mathematical equations are successfully formulated as shown in the below image.
.webp)
Step 3: Preview Result
Now here are the results of latex in Google docs.

Steps to Write Multi-Line Equations in Google Docs
Follow the steps to write multi line equation in Google Docs:
Step 1: Wrap Text Between Dollar "$$" Symbol
Start with the $$ symbol and enter the first equation. Instead of pressing Enter, Press Shift + Enter.
Step 2: Repeat for N Lines and Click on Render Equations
Wrap the text between $$ Symbols for n number of lines to render them and Press Render Equations.
TIP: surrounds:& =Ampersand symbol is surround the equals sign to provide alignment.

Example:

- Start with the $$ symbol complete the first equation code and press Shift+ Enter, next write the second equation and end with the $$ symbol.
- After completion of writing click on the Render Equations option.

- After clicking on it you can see the changes in the below image.

How to Write Mathematical Equations Using LaTeX
There are some mathematical symbols used to write mathematical equations using latex. The below symbols are some examples that help to write mathematical equations using Latex.
| Symbol Name | Latex Command |
|---|---|
| Operators like +,-,/,etc | $$ \div $$ |
| Infinity Symbol | $$\infty$$ |
| Fraction Symbol | $$ \frac{x}{y} $$ |
| Greek Letters like alpha, beta, etc | $$ \alpha $$ |
| Arrows | $$ \leftarrow $$ |
| Dots | $$ \cdot $$ |
| Accents | $$ \hat{x} $$ |
| Summation symbol | $$ \sum $$ |
| Infinity Symbol | $$ \int $$ |