# Difference between revisions of "Adding mathematical formulas in quizzes"

Jump to navigation
Jump to search

Corejoomla (talk | contribs) (Created page with "Starting v5.0.3, you can add mathematical formulas inside the quiz description, question description, and answers. Community Quiz uses KaTex library to display mathematical fo...") |
Corejoomla (talk | contribs) |
||

Line 9: | Line 9: | ||

* If you enabled "Button - Maths" plugin, a button is displayed in your Joomla editor to easily add formulas. | * If you enabled "Button - Maths" plugin, a button is displayed in your Joomla editor to easily add formulas. | ||

* You can also add formulas manually anywhere in the description or the answers using the HTML code shown below | * You can also add formulas manually anywhere in the description or the answers using the HTML code shown below | ||

− | < | + | <pre><span class="math">YOUR LaTex FORMULA HERE</span></pre> |

## Latest revision as of 14:39, 24 March 2019

Starting v5.0.3, you can add mathematical formulas inside the quiz description, question description, and answers. Community Quiz uses KaTex library to display mathematical formulas and it ships with a copy of it.

### How to enable formulas?

- Make sure you have v5.0.3 or later version installed
- Enabled "Load Maths/Tex Library" option either in the component options or in the quiz options
- If you would like to insert the formulae using your Joomla editor, enable "Button - Maths" (type editors-xtd) plugin is enabled.

### How to add formulas

- If you enabled "Button - Maths" plugin, a button is displayed in your Joomla editor to easily add formulas.
- You can also add formulas manually anywhere in the description or the answers using the HTML code shown below

<span class="math">YOUR LaTex FORMULA HERE</span>