LaTeX Equation Editor
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
The Text To Table Converter Add-On provides an Equation Editor that uses LaTeX for creating and managing mathematical notation in Google Docs™, Google Slides™, and Google Sheets™.
Accessing the Equation Editor
In your Google Workspace™ file, go to Extensions
> Text To Table Converter
> ✨ Equation Editor
. The “Equation Editor” window will open.
Creating or Editing Equations
The Equation Editor adapts to what you have selected in your document:
-
To Create a New Equation: Simply open the editor without anything selected in your document. An example equation (like
x = \left( \frac{a+b}{c-d} \right)
) will appear, allowing you to start typing your LaTeX. -
To Edit Existing Equation(s): Select the LaTeX text (e.g.,
$$E=mc^2$$
) or a previously created equation image in your document. Then, open the editor. It will load your selected equation(s) for editing.If you’ve selected multiple equations, use the
Previous
andNext
buttons to navigate between them.
Using the Equation Editor Window
The Equation Editor window provides a focused environment for crafting and customizing your equations:
-
Write and Preview Your LaTeX:
- Enter or modify your LaTeX commands in the “LaTeX Code:” text area.
- A Live Preview panel updates instantly to show your rendered equation. If there are any mistakes in your LaTeX, it will display “Invalid Syntax” here, helping you correct them.
-
Define Equation Style:
- Choose between
Block
orInline
using the Equation Style options.Block
equations are typically displayed on their own line and centered, ideal for complex or standalone formulas.Inline
equations are designed to flow seamlessly with your surrounding text.
- Choose between
-
Select Output Format:
- Use the Output Format options to decide if the equation should be inserted into your document as a high-quality
Render as Image
or as editableShow as Code
(plain LaTeX text).
- Use the Output Format options to decide if the equation should be inserted into your document as a high-quality
-
Manage Changes and Finalize:
- If you’re editing an equation that was originally plain LaTeX text in your document, a Reset Button () will be available. Clicking this reverts the equation’s code and style in the editor back to how they were when you first selected it for editing in the current session.
- Use the
Apply Changes
button to insert or update the equation(s) in your document. Note: This button is disabled if any of your equations have syntax errors (check the Live Preview). - Use the
Close
button to exit the editor without applying any of the current changes to your document.
Output Options
You have two ways to insert your equation:
- Render as Image: This option generates high-quality PNG images of your equations. The image size is automatically determined to ensure it aligns well visually with your surrounding text. Smaller equations are specially processed to maintain sharpness. This is generally recommended for the best visual presentation.
- Show as Code: This option inserts plain LaTeX text directly into your document, enclosed in appropriate delimiters (e.g.,
$$...$$
for block equations or\(...\)
for inline equations).
Behavior in different Applications
- Google Docs™ & Google Slides™:
- Images: Inserted as inline images.
Block
style equations are typically centered on their own line, whileInline
style equations flow with the text. - Code: Inserted as plain text. If you had selected an existing text-based equation, it will be replaced. Otherwise, the code is added at your cursor. In Slides, when converting selected text to an image, the new image is inserted, but the original text box is not removed. You may need to manually delete the original text or text box.
- Images: Inserted as inline images.
- Google Sheets™:
- Images: Inserted as “over-grid” images, meaning they float above the cells but are anchored to a specific cell. The LaTeX source code for the image is stored in that cell’s note. The cell itself will display placeholder text (e.g.,
[LaTeX - E=mc^2...]
) to indicate an equation image is anchored there. - Code: Inserted directly into the selected cell’s value.
- Images: Inserted as “over-grid” images, meaning they float above the cells but are anchored to a specific cell. The LaTeX source code for the image is stored in that cell’s note. The cell itself will display placeholder text (e.g.,
Customizing Equation Settings
You can adjust LaTeX-specific settings like this:
When the add-on sidebar is open, click the menu icon (☰) at the top left of the sidebar, then select Settings
.
Under the “LaTeX Equation Options” section in the settings dialog, you’ll find:
- Block Delimiter / Inline Delimiter: Define the start and end markers (e.g.,
$$...$$
,\[...\]
,\(...\)
) that will be used when you choose to output equations as code. - Block Equation Size (px) / Inline Equation Size (px): Set the target ‘x’-height (a typographic measure related to the height of the letter ‘x’) for equations rendered as images. This helps control how large the rendered images appear.
- Insert equation as multi-line code: If checked, block-level equations output as code will be formatted across multiple lines in your document, which can improve readability for complex LaTeX.