---
title: "LaTeX Unit Macro (Data Center)"
canonical: "https://support.appfire.com/space/LM/77038341/LaTeX%20Unit%20Macro%20(Data%20Center)"
format: markdown
---
> Macro (aura-html)

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](https://appfire.atlassian.net/wiki/spaces/LM/pages/77038471).

> ⚠️ **Limitation with draw.io **
> ⚠️ 
> ⚠️ The [draw.io](https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-whiteboards?hosting=cloud&tab=overview) 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:

![LaTeX Unit Macro editor showing the parameter fields including Syntax, Equations, Most Used, Search, Undo, Redo, Help, Save and Cancel](media://c3528675-ea3f-4829-a4bc-4c7d3d5da1ff)

| **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.

![image](media://7638b350-89ca-4216-98d0-c95f8181bb9d)

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

![image](media://e5cf7149-2875-40b1-bb94-7cad7334c562)

3. Select *LaTeX Unit* from the list. The *Insert* '*LaTeX Unit' Macro *window is displayed.
4. Type the syntax in the LaTex formatted math in the Syntax box. For more information, see the [Parameters](https://appfire.atlassian.net/wiki/spaces/~7120203c8eea836c1748a591c0e3f897f706a6/pages/593428629) section.
5. 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.

![image](media://3980259f-1fa7-42d3-80bf-373dbe72ab60)

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

> ℹ️ You must be in the **Edit** mode to delete a macro.

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

![image](media://3980259f-1fa7-42d3-80bf-373dbe72ab60)