---
title: "LaTeX Math Block macro"
canonical: "https://support.appfire.com/space/LM/77168773/LaTeX%20Math%20Block%20macro"
format: markdown
---
> Macro (aura-html)

## Parameters

The following table provides a description of the parameters:

| **Parameter name** | **Default** | **Mandatory** | **Description** |
| --- | --- | --- | --- |
| **LaTeX Math Block** | ❌ | ✅ | In the LaTeX-formatted math, enter the equation.<br>For example: (a+b)^2=a^2+b^2+2ab.<br>![image](media://cb0ecd4d-8f20-409b-98d3-3661725f2711)<br>> ℹ️ A preview displays in the window.
> ℹ️ 
> ℹ️ The equations are left aligned. |
| **Anchor** | ❌ | ❌   
(With constraints) | Enter the name of the equation. The name allows you to link the math block to another section or a page.<br>> ℹ️ - You must specify an **Anchor **to use the equation as a reference on any other page or on the existing page.
> ℹ️ - Numbering is supported by the Math Block macro. When you specify **Anchor**, numbering is enabled.
> ℹ️ - To link the equation, see [https://appfire.atlassian.net/wiki/spaces/LML/pages/77168661](https://appfire.atlassian.net/wiki/spaces/LML/pages/77168661). |

## Create a LaTeX Math Block macro

1. Create a new page or **Edit** the page where you want create an equation.
2. Type **/** or click the **+** icon from the toolbar.
3. Select **LaTeX Math Block**. The *Insert* '*LaTeX Math Block' Macro *window is displayed.

![Latex math block.png](media://06898f25-f0a2-48bc-9261-dd8ee48d567f)

3. Enter the following details and click **Insert**.
  1. Enter the equation in the box.
  2. (Optional) **Anchor**: Enter the name of the equation.

![math block.png](media://d5f170ab-4f9a-4de0-a538-571c4b3f3608)


## Edit a LaTeX Math Block macro

1. **Edit **the page where you want to edit the macro block.
2. Select the block and click the **pencil**.

![edit math block.png](media://a799bb78-6b5d-473d-aa25-9dd5484625f6)

3. The *Edit* '*LaTeX Math Block' Macro *window is displayed. Change any of the parameters, then click **Save**.

![Edited math block'.png](media://3f12ff8c-c14f-4afc-8014-416ee84e742d)


## Delete a LaTeX Math Block macro

1. **Edit **the page where you want to delete the macro block.
2. Select the block and click the **trash**. The block is deleted.

![delete math block.png](media://7d6762cd-f320-4b4d-9991-15a910f6f759)