> For the complete documentation index, see [llms.txt](https://fulstech.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fulstech.gitbook.io/docs/latex/latex-for-jira/jira-data-center-and-jira-server/usage.md).

# Usage

This app renders LaTeX anywhere inside Jira– even in Issue Summary. The syntax is very simple.

![LaTeX for Jira](/files/-MfGf9LV3wp36DJXfxDv)

## Activate the app

The app only works after the license has been activated. If a license has not been purchased, please activate the trial mode <https://confluence.atlassian.com/jirakb/how-to-generate-evaluation-licenses-for-jira-apps-1021233084.html>.

## Syntax in Atlassian Wiki fields

### Inline LaTeX content

To insert LaTeX content into Atlassian Wiki editors such as Description or Comment in inline mode:

* Select the **Text** mode (you must make sure ithe editor is not in **Visual** mode.
* Wrap the content inside the `{latex-inline}...{latex-inline}` macro.
* You can go back to **Visual** mode to type other content after that.

```
{latex-inline}e = mc^2{latex-inline}
```

<figure><img src="/files/4E8qKb9A1m3VgUjQPach" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

<figure><img src="/files/LkBOGAypQEIFs16aGyad" alt="" width="287"><figcaption><p>LaTeX for Jira</p></figcaption></figure>

### Block LaTeX content

To insert LaTeX content into Atlassian Wiki editors such as Description or Comment in block mode:

* Select the **Text** mode (you must make sure ithe editor is not in **Visual** mode.
* Wrap the content inside the `{latex-block}...{latex-block}` macro.
* You can go back to **Visual** mode to type other content after that.

```
{latex-block}e = mc^2{latex-block}
```

<figure><img src="/files/I9TgcSJhxWdrBN6kceqe" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

<figure><img src="/files/bVVI6wrzKSFv2Cp0hL63" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

### Complex LaTeX content

Sometimes the symbols in complex LaTeX content can be misinterpreted by Atlassian Wiki as formatting syntax. To type such complex LaTeX content:

* You can go back to **Visual** mode to type other content after that.
* Wrap the content inside the `{noformat}//[...//]{noformat}` macro.
* Select the **Text** mode (you must make sure ithe editor is not in **Visual** mode.

```
{noformat}//[
\begin{align*}
a^2 + b^2 &= c^2, \\
e^{i\pi} + 1 &= 0, \\
\int_0^\infty e^{-x} \, dx &= 1.
\end{align*}
//]{noformat}
```

<figure><img src="/files/7ZLVwBwVYeGuT0fWd3kL" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

<figure><img src="/files/2YE5oRDKWiE1anS4TIeN" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

### Examples

#### Description

![Input](/files/-MfGffJxCmPRQsu5ZQll)

![Render](/files/-MfH8_MuYaekwoT9BOiR)

![Input](/files/-MfHs-ULY-iCTrZ6sqo6)

![Render](/files/-MfHs6mFKF__cG6pwJvE)

#### Comment

![Input](/files/-MfHCDvCW3EOvmdLP6OG)

![Render](/files/-MfHFrJoaatoAkkSLJyt)

![Input](/files/-MfHsFgPpfLT-KyyNlPq)

![Render](/files/-MfHsfuHl4PfgrbNAXyG)

## Syntax in plain-text fields

For plain-text fields like Summary, inline LaTeX must be wrapped inside `//(...//)` and LaTeX block must be wrapped inside `//[...//]`.

### Examples

#### Summary

![Input](/files/-MfHGbtZz6DFreT_xSmM)

![Render](/files/-MfHHAI48RM_sKpjOZce)

#### Text Field (multi-line)

![Input](/files/-MfHICchU71eJwrxvmdA)

![Render](/files/-MfHIKi9FDzAgN23i7Yd)

#### Text Field (single line)

![Input](/files/-MfHIWyk5ex4bXQsLmyb)

![Render](/files/-MfHIcLjlJ1JZWfz2SeK)
