> 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](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfGf9LV3wp36DJXfxDv%2Fimage.png?alt=media\&token=db237814-c418-41a5-bd0e-747b946b623d)

## 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="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2FZNOMFjDOJjTr5JqnD5uQ%2Fimage.png?alt=media&amp;token=3af0236a-7556-4a08-8723-e02af9ecd8ad" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

<figure><img src="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2FGTwUQgRVLRvc89vnw1sw%2Fimage.png?alt=media&amp;token=af649fc6-1829-4396-8a03-3600a988d3af" 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="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2FLwXQUqO5tqRRLes4Sd3b%2Fimage.png?alt=media&amp;token=cf8bbd38-7359-4f0f-8222-13ee3aad641d" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

<figure><img src="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2FeaDdDNw7nW2IPpeQmkFi%2Fimage.png?alt=media&amp;token=dacb22ce-75bc-4c37-8745-d3811f1578a4" 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="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2Fv6Cv05VeF7tzXBAvAhaj%2Fimage.png?alt=media&amp;token=d6c4f930-fb8e-4b3b-a332-4531690c4cef" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

<figure><img src="https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma7ua4NoSptEMaVrDMS%2Fuploads%2FM10yVdICcnno4PnPZe4n%2Fimage.png?alt=media&amp;token=1dd606c6-4c3d-4f49-9253-7445c038d9d8" alt=""><figcaption><p>LaTeX for Jira</p></figcaption></figure>

### Examples

#### Description

![Input](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfGffJxCmPRQsu5ZQll%2Fimage.png?alt=media\&token=1d44d427-22c5-40ba-92ec-7f6892b4af80)

![Render](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfH8_MuYaekwoT9BOiR%2Fimage.png?alt=media\&token=502173c6-77d7-425c-b2c9-d237182131e3)

![Input](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfHN-ycsnWmlK2A1jmA%2F-MfHs-ULY-iCTrZ6sqo6%2Fimage.png?alt=media\&token=88cf3a35-081b-439c-8841-917037532821)

![Render](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfHN-ycsnWmlK2A1jmA%2F-MfHs6mFKF__cG6pwJvE%2Fimage.png?alt=media\&token=da38f86f-838e-4443-a510-bcbe17ea07e2)

#### Comment

![Input](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfHCDvCW3EOvmdLP6OG%2Fimage.png?alt=media\&token=518959e6-234f-4e8c-b4d0-64861e7cc485)

![Render](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfHFrJoaatoAkkSLJyt%2Fimage.png?alt=media\&token=2ab7cb7c-8480-4564-855a-5ff395dfae99)

![Input](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfHN-ycsnWmlK2A1jmA%2F-MfHsFgPpfLT-KyyNlPq%2Fimage.png?alt=media\&token=34c7322c-3b77-47a4-89c0-cfa6eae20252)

![Render](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfHN-ycsnWmlK2A1jmA%2F-MfHsfuHl4PfgrbNAXyG%2Fimage.png?alt=media\&token=d55b1250-f39c-4d3c-88a9-e854e1fa4e04)

## 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](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfHGbtZz6DFreT_xSmM%2Fimage.png?alt=media\&token=9868939b-230d-42dc-a815-77c8a62bec90)

![Render](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfHHAI48RM_sKpjOZce%2Fimage.png?alt=media\&token=81de8d0b-3a79-4db1-92bd-f5daab465445)

#### Text Field (multi-line)

![Input](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfHICchU71eJwrxvmdA%2Fimage.png?alt=media\&token=13e5c8ba-9fb5-4b8c-b277-617adff23c47)

![Render](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfHIKi9FDzAgN23i7Yd%2Fimage.png?alt=media\&token=43358d90-59b6-43fb-9a5b-02e13951e75d)

#### Text Field (single line)

![Input](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfHIWyk5ex4bXQsLmyb%2Fimage.png?alt=media\&token=daa78436-5810-4dc5-8ad7-9694d5f1d16b)

![Render](https://3588362646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ma7ua4NoSptEMaVrDMS%2F-MfGbKG7rYoZDkziLDjw%2F-MfHIcLjlJ1JZWfz2SeK%2Fimage.png?alt=media\&token=42684814-1b50-4084-8966-da922039cc9c)
