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

Use the *LaTeX Math Block Reference* to link a *LaTeX Math Block* that you have created to the section where you are working.

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

> ℹ️ You must specify the *Anchor* in the *LaTex Math Block* macro to generate the reference link using *LaTex Math Block Reference* macro.

This page provides you with information about the following articles:


> ℹ️ ### Parameters

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

| **Parameter Name** | **Default** | **Mandatory** | **Description** |
| --- | --- | --- | --- |
| *Confluence page* | Current page | ❌   
(With Constraints) | Enter the name of the page containing the *LaTeX Math Block* macro. If you want to refer to the math block from the same page, leave the parameter blank. |
| *Anchor name* | ❌ | ✅ | Enter the name of the anchor that you used when you created the *LaTeX Math Block* macro. |
| *Link text* | ❌ | ❌ | Enter the text to be displayed as a reference to link the equation. If you want to refer to the math block number, leave the parameter blank. |


> ℹ️ ### Working with Parameter

[EXAMPLE 1] 

<details>
<summary>Confluence page: Selected; Link text: Default</summary>

This will display the reference in the following format:

> Format: (Page name: Numbering)

![image](media://a8005534-cd60-4c55-940f-cc1f595f4a23)
</details>

[Example 2] 

<details>
<summary>Confluence page: Default (current page); Link text: Default</summary>

This will display the reference in the following format:

> Format: (Numbering)

![image](media://c6334eb1-0c02-435e-af9a-366eb79007a3)
</details>

[example 3] 

<details>
<summary>Confluence page: Selected; Link text: Specified</summary>

This will display the reference in the following format:

> Format: (Page name: link text)

![image](media://b117a866-cd7d-459e-b87f-4af22438b681)
</details>

[example 4] 

<details>
<summary>Confluence page: Default  (current page); Link text: Specified</summary>

This will display the reference in the following format:

> Format: (link text)

![image](media://bd1718c2-f33d-4772-8aec-05e5e37c9184)
</details>

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


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

To create *LaTeX Math Block Reference* macro, perform the following steps:

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

 2. Click the **+ **icon and search for the *LaTeX Math Block Reference* macro.

![image](media://5ddb8d45-1587-4b60-a75a-df0ec3b676de)

(or) you can type* ****{ latex***, the list with latex macro suggestions is displayed, and you can select the *LaTeX Math Block Reference* macro.

![image](media://d1c4fc90-8cf3-4f4d-8a53-60d77f2352bc)

3. Select *LaTeX Math Block Reference* and Click **Insert**. The* Insert ‘*LaTeX Math Block Reference’ Macro window is displayed.

![image](media://13ff03f0-239d-48fb-a25a-e3738817d69d)

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

*a. Confluence page*

*b. Anchor name *

*c. Link Text*

> ℹ️ For more details, refer Parameters.


> ℹ️ ### Editing and Deleting ‘LaTeX Math Block Reference’ Macro

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

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

1. Select the block and click the** Edit** button. The* Edit ‘LaTeX Math Block Reference’ Macro *window is displayed.

![image](media://cca71ce1-dc2c-4360-b4df-2e91dede853c)

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


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

To delete the* LaTeX Math Block Reference*, select the block and click the **Remove** button. The block is deleted.

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