LaTeX Math Block Macro (Server/DC)
This macro is designed to execute 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.
Limitation with draw.io
The draw.io macro does not render mathematical content properly if any of the LaTeX Math app macros are present on the same page. This occurs due to the different versions of the MathJax library used by both the apps.
Parameters
The following table provides you with a description of every parameter in the LaTex Math Editor:
Number | Parameter Name | Description |
---|---|---|
1 | Syntax | You can enter the syntax in the latex-formatted math in the Syntax box, and the preview is generated in the Equation box. |
2 | Equation | This box displays a preview of the equation you entered in the Syntax box. |
3 | Most Used | This section contains the most used formulas from a particular subject/field. |
4 | Search box | Use the search box to search for any latex commands. |
5 | Align left | Align the equation to the left. |
6 | Align center | Align the equation to the center. |
7 | Align right | Align the equation to the right. |
8 | Undo | Reverse the typing action that you made recently. |
9 | Redo | Repeat the typing action that you made recently. |
10 | Anchor name | Give a name to the equation so you can refer to this equation on different pages using the LaTeX Math Block Reference macro.
|
11 | Help | This option will direct you to our detailed help documentation. |
12 | Save | Click Save to insert the macro along with the change you made on your page. |
13 | Cancel | Click Cancel to 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 where you want to insert an equation.
Click the + icon and search for the LaTeX Math Block macro.
Alternatively, type { latex in your page to display a list of LaTex macro suggestions. You can select the LaTeX Math Block macro.
Select LaTeX Math Block from the list. The LaTeX Math Block Macro window is displayed.
Type the syntax in the LaTex formatted math in the Syntax box. For more information, see the Parameters section.
Click Save/Insert.
Editing LaTeX Math Block Macro
To edit a LaTeX Math Block, perform the following:
Select the block and click Edit. The LaTeX Math Block Macro window is displayed.
You can change any of the parameters as required and then click the Save button.
Deleting LaTeX Math Block Macro
To delete a LaTeX Math Block, select the block and click the Remove button.
Â