# Math 2.1.1

Compatible XF 2.x versions
2.0, 2.1
For 2.1+ versions:
• XenForo 2.1
• PHP 7 +
GPLv3
Visible branding
No

Description

This addon will turn all LaTeX math on your forum to a fancy, sharp and scalable math!

This is an open source addon. You can visit GitHub repository for source code.

But if you want to
• Suggest and vote for new addons
• Try beta versions
Then you can support me on my Patreon!
___

Features

LaTeX ⟶ Fancy math

Users can write math formulas and equations with LaTeX notation wich then will be turned to a fancy math by powerful MathJax engine. Here is how it works:

Two types of math are supported: inline and block math. Inline math is smaller and commonly used inside the text. In the image above the cosmological constant (green) is an example of inline math.

Block is bigger and is used for standalone big equations and formulas. In the image above the Einstein field equation (blue) is an example of block math.

All math is rendered as text and automatically inherits all its properties: color, line height, font size and so on. As a result you get scalable math that perfectly fits any style and color scheme:

"Insert math" button

With this addon you will notice a new button in text editor toolbar:

This button greately simplifies the process of adding math to threads and posts.

When typing code you will immediately see the output :

Responsive math

When loading page math is rendering with automatic line breaks applied in order to fit its container. How is it working?

Here is a block math that is shorter than its container:

Moreover, if you dynamically change the width of browser window and container becomes too narrow to render math in full width it automatically adds scroll bars to prevent layout breaking:

Options and customization

You have a full control of where and how math will be rendered on your forum:
• Render math everywhere or in 5 predefined places (Titles, Content, Pages, Signatures, About)
• Specify custom selectors where math will (or will not) be rendered
• Customize MathJax confing
___

Installation
2. Upload contents of upload folder to your forum root
3. In admin control panel go to "Addons" section and install Math
That's it!

But if you want to
• Suggest and vote for new addons
• Try beta versions
Then you can support me on my Patreon!
• 68.1 KB Views: 82
Author
CMTV
115
Views
2,089
First release
Last update
Rating
0 ratings

#### More resources from CMTV

Create fancy-looking badges and award users for valuable and unique actions!
• Rules
Easily create rules and group them into categories. Bring the power of law to your community!
Create questions and mark best answers
Ultimate username change functionality: managable history, criteria, widget, permissions and more!
• Pretty names and values in "User change log"
User change log looks ugly? Let's bring it to life!