LaTeX Unit Macro - (Cloud)
This macro implements the LaTeX Unit mode. Formulas or symbols that are part of a paragraph are written in Inline math mode (e.g., "\tau").
To work with LaTeX Unit, you must install the LaTeX Math application. For more information, see Installation.
Understanding Components
Every component in the below image is marked with a number to help you identify it.
The following table describes the components:
Number | Component | Description |
---|---|---|
1 | Syntax | This box allows you to enter the syntax in the latex-formatted math and the preview is generated in the Equation box. |
2 | Equation | This box allows you to view the equation and you can edit the equation. The same is reflected in the Syntax box. |
3 | Most Used | This section contains the most used formulas from a particular subject. If you may require any of the formulas simply click on it. |
4 | Search box | This box allows you to search for the latex commands. |
5 | Undo | This option will reverse the typing action that you made recently. |
6 | Redo | This option will repeat the typing action that you made recently. |
7 | Help | This option will direct you to the documentation. |
8 | Insert/Save | This option will insert the macro along with the change you made to your page. |
9 | Cancel | This option will close the macro window without saving. |
Creating LaTeX Unit Macro
To create a LaTeX Unit, Perform the following steps:
1. Create a new page or Edit the page where you want to create an equation.
2. Type / or click the + icon and search for the LaTeX Unit macro.
3. Select LaTeX Unit and Click Insert. The Insert 'LaTeX Unit' Macro window is displayed.
4. Type the syntax in the latex formatted math. For more information, see Understanding Components.
5. Click the Insert button.
Adding Multi-line Equations in the LaTeX Unit Macro
In LaTeX formats equations, the double backslash command \\ is used to create a new line or initiate a line break. The double backslash command \\ in the LaTex Math Unit macro generates the following code and creates a new line automatically.
\begin{align}
<equation 1> \\
<equation 2> \\
<equation 3>
\end{align}
Note:
The \\
command is used to create a new line and automatically aligns equations to the right. To have equations left-aligned, place the &
symbol before each equation when entering them.
Editing LaTeX Unit Macro
To edit a LaTeX Unit, perform the following:
You must be in the Edit mode to edit a macro.Â
1. Click the icon. The Edit LaTeX Unit Macro window is displayed.
2. Make the required changes and then click the Save button.
Deleting LaTeX Unit Macro
To delete a LaTeX Unit, select the macro and click the icon.