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

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

 This page provides you with  information about the following articles:

> Macro (toc)


> ℹ️ ### Parameters

The following table provides you with 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. Preview is automatically generated.<br>![image](media://db0a3a96-a667-4b86-8e7e-81ae7149bfa6)<br>> ℹ️ You can paste AsciiMath or MathML to have it converted to Latex automatically. |
| *Alignment* | Center | ❌ | Choose the alignment from the drop-down menu.<br>The following are the available alignment options:<br>- *Left*
- *Cent**er*
- *Right* |
| *Anchor* | ❌ | ❌   
(With constraints) | Enter the name of the equation. The name allows you to link the math block to another section or page.<br>> ℹ️ - You must specify Anchor to use the equation as a reference on any other page or the existing page.
> ℹ️ - Numbering is supported by the Math Block macro. When you specify *Anchor*, numbering is enabled.
> ℹ️ - To link the equation, see [LaTeX Math Block Reference Macro](https://appfire.atlassian.net/wiki/spaces/LM/pages/77038669). |

> ℹ️ To change parameter configuration, refer to [Configuration](https://appfire.atlassian.net/wiki/spaces/LM/pages/77038553).


> ℹ️ ### Creating ‘LaTeX Math Block’ Macro

To create a *LaTeX Math Block*, 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. 

![image](media://d0080fd0-572d-4267-a8be-6f2b64b2142f)

3. Select *LaTeX Math Block* and Click **Insert**. The *Insert* “*LaTeX Math Block' Macro *window is displayed.

![image](media://398600a7-7a42-4232-bd5e-7e77faa9afa9)

4.  Enter the following details and click **Insert**.

a.  Enter the equation in the box.

b. (Optional) *Alignment*: Choose the alignment from the drop-down menu. By default, it is aligned to centre.

c. (Optional) *Anchor*: Enter the name of the equation.


> ℹ️ ### Editing ‘LaTeX Math Block’ Macro

To edit a *LaTeX Math Block* perform the following:

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

![image](media://02a468fe-de6f-49a3-9d1c-a9bf26657abe)


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

![image](media://6e14fac4-2e06-4cd1-a978-340c79173344)

2. You can change any of the parameters that you want to change and then click the **Save **button.


> ℹ️ ### Deleting ‘LaTeX Math Block’ Macro

To delete a *LaTeX Math Block*, select the block and click the :delete: icon. The block is deleted.

![image](media://02a468fe-de6f-49a3-9d1c-a9bf26657abe)

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