# MathX - LaTeX formulas in MODx

MathX - LaTeX formulas in MODx is an extra by madmage, first released on 2012-04-01.

## Package Description

Initial content

## Usage/Installation Instructions

With this plugin you can render your LaTeX formulas in a MODx resource. Use <math></math> for your block formulas and <m></m> for your inline formulas. For example, after installing this plugin, you can write:

This is a well-known formula:

<math>E=mc^2</math>

this is more complex formula:

<math>\theta + \Omega^2 + \frac{\pi}{sqrt{x^2 + y^2}}</math>

Moreover, you can write inline formulas like this: <m>E=mc^2</m>.

Formulas are rendered using the online services of http://www.codecogs.com/ and cached once forever (in /assets/components/mathx), so that you do not have problems with CodeCogs quotas.

You can freely change the style of rendered formulas. The block formulas <math></math> are rendered with an image of class mathx_block, surrounded by a div of the same class. Inline formulas <m></m> are rendered with an image of class mathx_inline, surrounded by a span of the same class. For example, on my website (http://www.mindreamz.net), the stylesheet contains these lines:

/* MathX styles */

div.mathx_block { text-align:center; padding:10px }

div span img.mathx_inline { margin: 0; padding: 0; vertical-align: baseline; border:0 }

## Details

- Developer(s)
- madmage
- Released
- 2012-04-02
- First seen
- 2012-04-01
- License
- GPLv2
- Supported databases
- MySQL
- Minimum MODX Requirement
- 2

## MathX - LaTeX formulas in MODx Releases

Vendor | Signature | Released on |
---|---|---|

MODX.com | 1.0-beta1 | 2012-04-02 (8 years ago) |