LaTeX Unit Macro (Server/DC)

This macro is designed to execute 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 the LaTeX Unit macro, 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.

This page provides you with information about the following articles:

Parameters

The following table provides you with a description of the parameter:

Number

Parameter Name

Description

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

Equations

This box shows a preview of the equation you entered in the Syntax box.
You can also directly edit the equation in this box, which is reflected in the Syntax box.

3

Most Used

This section contains the most used formulas from a particular subject/field.
You can simply click on the required formulas/equations, which will appear on the Syntax and Equation boxes.

4

Search box

Use the search box to search for any latex commands.

5

Undo

Reverse the typing action that you made recently.

6

Redo

Repeat the typing action that you made recently.

7

Help

This option will direct you to our detailed help documentation.

8

Save

Click Save to insert the macro along with the change you made on your page.

9

Cancel

Click Cancel to close the macro window without saving.

Creating LaTeX Unit Macro

To create a LaTeX Unit Macro, perform the following steps:

  1. Create a new page or Edit where you want to insert an equation.

  2. Click the + icon and search for the LaTeX Unit macro.

Alternatively, type { latex in your page to display a list of LaTex macro suggestions. You can select the LaTeX Math Block macro.

  1. Select LaTeX Unit from the list. The Insert 'LaTeX Unit' Macro window is displayed.

  2. Type the syntax in the LaTex formatted math in the Syntax box. For more information, see the Parameters section.

  3. Click Save/Insert.

     

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 Edit button. The LaTeX Unit Macro window is displayed.

  2. You can change any of the parameters as required and then click the Save button.

Alternatively, you can also edit the equation in the Equations box.

Deleting LaTeX Unit Macro

To delete a LaTeX Unit, select the unit and click the Remove button on the unit you want to delete.