---
title: "LaTeX Unit Macro (Cloud)"
canonical: "https://support.appfire.com/space/LM/77037584/LaTeX%20Unit%20Macro%20(Cloud)"
format: markdown
---
> ⚠️ Click [here](https://appfire.atlassian.net/wiki/spaces/LM/pages/297337215/LaTeX+Unit+Macro+-+Cloud) to view the user guide for the new editor.

This macro implements the LaTeX Unit mode. Formulas or symbols that are part of a paragraph are written Inline math mode (e.g. "\tau"). 

> ℹ️ To work with *LaTeX Unit*, you must install the *LaTeX Math* application. For more information, see [Installation](https://appfire.atlassian.net/wiki/spaces/LM/pages/77038624).

This page provides you with information about the following articles:

> Macro (toc)


> ℹ️ ### Parameter

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

| **Parameter Name** | **Description** |
| --- | --- |
| *LaTeX Unit* | In the LaTeX formatted math, enter the unit.<br>> For example 32 mg kg^{-1}. The preview is automatically rendered.<br>![image](media://55932031-7de4-4fbf-9938-df36cee1fea0)<br>> ℹ️ You can paste AsciiMath or MathML to have it converted to Latex automatically. |

> ℹ️ ### Creating LaTeX Unit Macro

To create a *LaTeX Unit*, Perform the following steps:

1. Create a new page or go to** Edit** the page where you want to create an equation.

2. Type / or click the + icon and search for the *LaTeX Unit* macro.

![image](media://047ca5bf-3d22-4906-8324-a51ec06d87e3)

3. Select *LaTeX Unit* and Click **Insert**. The *Insert* '*LaTeX Unit' Macro *window is displayed.

![image](media://94a0ae35-4fe8-4528-9fda-6243935d18fd)



4. Enter the unit in the box. 

5. Click the** Insert **button.


> ℹ️ ### 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://c62084d9-8750-4eba-a668-427c421b7a94)


1. Click the :edit-pencil: icon. The *Edit* “*LaTeX Unit' Macro *window is displayed.

2. You can change the parameter and then click the **Save **button.

![image](media://079fb7e9-b823-42ff-bfd1-700dd3d55fbe)



> ℹ️ ### Deleting LaTeX Unit Macro

To delete a *LaTeX Unit*, select the macro and click the :delete: icon. The macro is deleted.

![image](media://c62084d9-8750-4eba-a668-427c421b7a94)


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