• We've added extra Spam Protection. if you get problem with account registration / registration rejected. please contact us
Ali Raza

Math 2.1.1

No permission to download
Description

This addon will turn all LaTeX math on your forum to a fancy, sharp and scalable math!
It also adds the "Insert math" button to an editor that greately simplifies the process of adding math to your messages, threads, pages and so on. It also works with xenForo AJAX (loading content on the fly without page reloading) system!

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

If you appreciate my work, please consider leaving a like and a review, and a contribution via PayPal (PM me for details)
___

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:

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fmath-render-demonstration-png.174038%2F&hash=33360530694747786608728dbd143406

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:


proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fstyles-png.174026%2F&hash=5447be0c0bec3a5235f39e9a2afe1fa7


"Insert math" button

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

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fnew-button-png.174031%2F&hash=9cffbb3d1d8f8d62b79d9bc6e0a662e9


This button greately simplifies the process of adding math to threads and posts. You can choose math type (inline or block) and immediately see the output when typing LaTeX math:

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Finsert-math-dialog-1-gif.174029%2F&hash=762cad387c58cc4d5103db9a3c721647


proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Finsert-math-dialog-2-gif.174030%2F&hash=f5ef5373833a6c469a99dc428e375928


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:

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Ffull-block-math-png.174032%2F&hash=38542632c8bc1ddf3b080b70eb5b02fe

Look what happens when loading the same message in narrow mode:

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Ffull-block-math-line-breaks-png.174033%2F&hash=0d6145f82bf19f3ff1c7fce509ce047a

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:

proxy.php?image=https%3A%2F%2Fxenforo.com%2Fcommunity%2Fattachments%2Fscroll-bars-gif.174034%2F&hash=928e27bc005e5dde4faa416acd10bcda


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

  1. Download the addon
  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!
Author
Ali Raza
Downloads
7
Views
117
First release
Last update
Rating
3.00 star(s) 1 ratings

More resources from Ali Raza

Resource Tags

  • Tags
    math 1.0.1
  • Latest updates

    1. Patch 2.1.1

      Fixed bugs Math is rendering correctly in all previews
    2. Update 2.1.0 – XenForo 2.1 support

      Math 2.1.0 was rewritten from scratch. It is not compatible with previous addon versions and XF...
    3. Bug fixes 1.1.1

      Fixed a bug with test help page. Installation Copy all the contents from upload folder to your...
    4. Update 1.1.0

      Added Wiris (MathType) math editor support. You can now insert math with a handy visual editor...
    5. Bug fixes 1.0.3

      Fixed bugs Fixed a critical bug that blocked other editor buttons to work. "Insert code"...
    Top

    AdBlock Detected

    We get it, advertisements are annoying!

    Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

    I've Disabled AdBlock