This article will walk you through the process of configuring the LaTeX Math application.
Panel | ||
---|---|---|
| ||
Configuring LaTeX Math Application |
...
Info |
---|
The LaTeX macro requires a full LaTeX implementation and will always export as PNG using the external renderer. |
Parameter Name | Default | Description | ||
---|---|---|---|---|
Preferred output | MATHJAX | Select the renderer(s) you want to use to display your LaTeX math. The following are the available options:
| ||
PNG renderer | Built-in renderer (MathJax-based) | Select the default PNG renderer. The following are the available options:
|
...
This option allows you to configure MathJax settings
Parameter Name | Default | Description | ||
---|---|---|---|---|
Enable MathJax context menu | Unchecked | Select the check box to display the MathJax context menu when using client-side MathJax rendering (i.e. right-click menu). | ||
Font | TeX | Select the font. The following are the available font options:
| ||
Render non-macro math | Unchecked | Check this option to render non-macro math. This will use MathJax to search for math delimited with $ $, $$ $$, \( \), and \[ \]. Any content in pages delimited by these standard LaTeX math-mode delimiters will be rendered as if it were a LaTeX Math macro.
| ||
Disable $ $ | Checked | Uncheck this option to avoid false positives when using the Render non-macro math option. |
...
This option allows you to configure the font size of the Confluence text and LaTeX Math text.
Parameter Name | Default | Description | ||
---|---|---|---|---|
Font size (Confluence text) | 14 | Specify the font size at which your Confluence setup renders text.
| ||
Font size (LaTeX Math) | 10 | Specify the font size for LaTeX Math exports to PDF and Word. |
Automatic conversion
Parameter Name | Default | Description |
---|---|---|
Automatic conversion to math macros | Unchecked | Check this box to automatically convert old latex macros (including user macros) to newer math mode only macros where possible. No changes will be made to pages until a new version of the page is saved. This will have no effect if there are no macros to be migrated and can safely be disabled. |
...
Info |
---|
|
Parameter Name | Default | Description |
---|---|---|
Feature discovery visibility | Checked | Uncheck this box to remove the feature discovery. |
...
This option allows you to customize how the LaTeX macros are displayed.
Parameter Name | Default | Description | ||||
---|---|---|---|---|---|---|
Horizontal alignment | Center | Specify the default horizontal alignment. The following are the available options:
| ||||
Number all Math Blocks | Unchecked. | Check this option to enable numbering on all the Math Block macros. The macros are numbered only if the Anchor parameter is specified. By checking this option all the macros are numbered. | ||||
Math Block velocity template |
| Modify the template as per your requirement.
| ||||
Math Block Reference velocity template |
| Modify the template as per your requirement.
|
...
This option allows you to customize your LaTeX macros.
Parameter Name | Default | Description |
---|---|---|
User defined LaTeX macros | None | Custom LaTeX macros can be defined and used in all LaTeX Math macros. You can use this option to create new "commands" for frequently used combinations.
|
Editor Placeholder Settings
...
Info |
---|
When the rendered images are smaller than the specified value, white space is added on the top and right. |
Parameter Name | Default | Description |
---|---|---|
Minimum height | 16 | Specify the minimum height for the macro placeholder to render. This ensures that the placeholder is large enough to click on in the page editor. |
Minimum width | 6 | Specify the minimum width for the macro placeholder to render. This ensures that the placeholder is large enough to click on in the page editor. |
...
This option allows you to configure the rendering timeout.
Parameter Name | Default | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Rendering timeout (milliseconds) | 10000 | Specify the length of the rendering timeout.
|
...
Note |
---|
The external renderer must be correctly configured before using the 'LaTeX' macro. |
Parameter Name | Default | Description | ||
---|---|---|---|---|
LaTeX executable | latex | Specify a path to the LaTeX executable.
| ||
Dvipng executable | dvipng | Specify a path to the LaTeX executable.
| ||
Show latex macro in the macro browser. This does not affect Math macros | Unchecked | Check this option to display the LaTeX macro in the macro browser.
|
...
Warning |
---|
You should only update these if you are confident in your abilities. |
Parameter Name | Default | Description | ||||
---|---|---|---|---|---|---|
LaTeX header |
| All LaTeX rendered as png will have this appended to the beginning.
| ||||
LaTeX footer |
| This will be added at the end of all LaTeX rendered as png. | ||||
Disable preview package for LaTeX macro | Unchecked | Check this option to disable the preview package when using the LaTeX macro. The macro will not render properly if the preview package is disabled.
|
Help us improve the product
Parameter Name | Default | |||||||
---|---|---|---|---|---|---|---|---|
Allow reporting of anonymous statistics | Checked | LaTeX Math application gathers and transmits some basic information like, usage data to continually improve the product. By enabling you authorize us to collect the information.
|