Quick Equation: Insert & Edit
Use the sidebar's Quick Equation tool to create, edit, and manage LaTeX equations for math, chemistry, and physics in Docs™, Slides™, and Sheets™.
With the Text To Table Converter Add-on, you can create and manage complex LaTeX notation for math, chemistry, and physics directly within Google Docs™, Google Slides™, and Google Sheets™. The Quick Equation tool in the sidebar lets you write, insert, and edit equations without leaving your document.
Introduction#
Accessing the Equation Tools#
All equation features are located in the main add-on sidebar.
- Open the sidebar by going to
Extensions>Text To Table Converter>⚡ Launch Sidebar. - Click Insert & Create, then find Quick Equation in the list.
The same screen has an Equations (LaTeX) group with the Equation Editor and Convert selected LaTeX buttons. Quick Equation sits below it.
The Quick Equation Component#
This component is your go-to for everyday equation needs, from writing a new formula to making a quick correction. It intelligently adapts based on what you're doing.
- Live Editor & Preview: Type your LaTeX code in the input area. A live preview below renders your equation instantly, so you can catch any syntax errors as you type.
- Equation history: Click the history icon (Show recent equations) to see your 5 most recent equations. Select one to reuse it.
- Read selection: The sidebar does not detect a selected equation by itself. Select the equation image or LaTeX text in your document, then click Read selection. If nothing is selected, it loads the equations in the whole document.
- Equation Style: Toggle between Inline (flows within a sentence) and Block (larger, centered, on its own line).
- Action Button: It says Insert when creating a new equation and Apply Changes when editing loaded equations. Pressing Enter in the input box also inserts.
Customize Your Defaults: The default delimiters are
$$...$$for block equations and$...$for inline equations. You can switch to\[...\]and\(...\)in Settings. Learn more about equation settings.
Examples for Different Fields#
LaTeX is a versatile system that extends far beyond standard mathematics. Here are a few examples of what you can type into the Quick Equation editor, along with their rendered output.
- Mathematics (Quadratic Formula):
x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}- Chemistry (Chemical Reaction):
Note: The renderer supports the
mhchempackage for easy chemistry notation.
\ce{CH4 + 2O2 -> CO2 + 2H2O}- Statistics (Normal Distribution):
f(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2}- Economics (Cobb-Douglas Production Function):
Y = A L^{\alpha} K^{\beta}- Physics (Maxwell's Equations):
\nabla \cdot \mathbf{B} = 0Workflows#
Creating a New Equation#
- Place your cursor where you want the equation in your document.
- In the sidebar, type or paste your LaTeX code into the input area.
- Choose the desired Equation Style (
InlineorBlock). - Click Insert. The equation will be added to your document as a high-quality image.
Editing an Existing Equation#
You can edit any equation you've previously created, whether it's an image or plain LaTeX code. Loading an equation puts the component into "Edit Mode."
- In your document, select the equation image or LaTeX text you want to edit.
- In the sidebar, click Read selection. The component enters "Edit Mode." Its border turns blue, the equation's code loads into the input area, and the button changes to Apply Changes.
- If you loaded several equations, use the **** arrows to move between them.
- Make your changes. The live preview updates as you type.
- Click Apply Changes. The original equations in your document are replaced with your updated versions. Click × to leave Edit Mode without changing anything.
How does editing an image work?: When an equation is inserted as an image, its original LaTeX source code is automatically stored within the image's metadata. This "hidden" code allows the Quick Equation tool to perfectly reload your work for future edits, giving you the best of both worlds: a clean image in your doc and fully editable source code.
Other Equation Tools#
The sidebar is your hub for all equation actions. From here, you can also access more specialized tools for complex tasks.
- Advanced Equation Editor - For complex formatting, a virtual math keyboard, and numbered equations in Google Docs.
- Convert Selection - A one-click tool to turn selected LaTeX code into rendered images, or images back into code.