This macro implements the LaTeX equation math mode. The output is displayed on its line with the selected horizontal alignment.
To work with LaTeX Math Block, you must install the LaTeX Math application. For more information, see Installation.
This page provides you with information about the following articles:
Understanding Components
Every component in the image below is marked with a number to help you identify it.
The following table describes the components:
Number | Parameter Name | Description |
---|---|---|
1 | Syntax | This box allows you to enter the syntax in the latex-formatted math and generate the preview in the Equation box. |
2 | Equation | This box allows you to view and 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 require any of the formulas, simply click on it. |
4 | Search box | This box allows you to search for the latex commands. |
5 | Align left | This option aligns the equation to the left. |
6 | Align center | This option aligns the equation to the center. |
7 | Align right | This option aligns the equation to the right. |
8 | Undo | This option will reverse the typing action that you made recently. |
9 | Redo | This option will repeat the typing action that you made recently. |
10 | Anchor name | An anchor tag within any page connects and references equations on different pages. |
11 | Help | This option will direct you to the documentation. |
12 | Insert/Save | This option will insert the macro along with the change you made to your page. |
13 | Cancel | This option will close the macro window without saving. |
Creating ‘LaTeX Math Block’ Macro
To create a LaTeX Math Block, Perform the following steps:
Create a new page or Edit an existing page where you want to create an equation.
Type / or click the + icon on your page.
Select LaTeX Math Block and Click Insert. The LaTeX Math Block Macro window is displayed.
Type the syntax in the latex formatted math. For more information, see Understanding Components.
Click Insert.
Adding Multi-line Equations in the ‘LaTeX Math Block’ 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 \\
generates the following code in the LaTex Math Block macro and creates a new line automatically.
Syntax:
\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 Math Block’ Macro
To edit a LaTeX Math Block, do the following:
You must be in the Edit mode to edit a macro block.
Click the Edit icon. The LaTeX Math Block Macro window is displayed.
Make the required changes and then click the Save button.
Deleting ‘LaTeX Math Block’ Macro
To delete a LaTeX Math Block, select the block and click the Delete() icon.
You must be in the Edit mode to delete a macro block.
Add Comment