Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Local file option gives the ability to upload the actual MathJax JS file and to be stored under Confluence-home directory > shared-home > latex-mathjax. It will create and store the JS file content in the file named ppl-mathjax.js. Once the file is uploaded successfully; the info of that file will appear in the table indicating the original file name, size, uploaded date and it will give the ability to delete the file.

Usage

Using MathJax you have the availability to display your macro in two ways either as Block or Inline.

Info

Please note, that prefixes and suffixes of the block and inline macros are precoded, therefore you should not include them in your macro.

Inline macro

You can access inline macro in two ways either via page editor directly using a shortcut { mathjax and select inline macro

...

or via Other macros as per example

...

Then you can type your macro in the equation field and preview it by clicking the Preview button. If happy with the outcome then press Insert and the macro will be populated in the page editor:

...

The final result on the page:

...

Macro as a Block

You can access block macro in two ways either via page editor directly using a shortcut { mathjax and select block macro

...

or via Other macros as per example

...

Then in the appeared block in the page editor, you can type your macro. If you want to preview it, you can press on the block and click Edit

...

The final result on the page:

...

Combination of Inline and Block macros

In this example has been used 2 inline macros and 1 block:

...

result of it

...

Files

In order to obtain the actual MathJax JS files, please review the following documentation - Hosting Your Own Copy of MathJax as a guide.
Once the steps are completed to get JS files, you will be able to see different types of JS file under mathjax/es5 directory.

...