About This File
ipbLatex enables the use of LaTeX mathematical typesetting on your forum, providing professional-looking equations with comparatively simple syntax. You can see some examples of the results at my forum -- click on the equations to see how they were created.
ipbLatex is fast, efficient, and easy to install. Features:
Normal display math — the $$ math $$ environment in LaTeX.
Inline math, as in the $math$ environment.
Typeset chemical equations, using mhchem.
PNG and GIF output, with customizable background colors and transparency.
A popup showing the raw LaTeX code upon clicking on an image, allowing users to find out how a LaTeX equation was made so they can type their own
Caching of every equation
As many LaTeX packages as you want to use
There is experimental support for PGF, but it is not enabled and incomplete, so you’d have to finish it yourself.
Note there are some requirements:
A working distribution of LaTeX. This kind of goes without saying – if you’re using Linux, look into the TeXlive distribution.
You absolutely must have a copy of dvipng installed. This plugin will not work without it.
If you want GIF output, then dvipng must have GIF support compiled into it. Things may otherwise break. Versions supplied as a part of many distributions will have this support.
The mhchem package needs to be accessible by LaTeX; either put the mhchem.sty file in the tmp directory or install the package properly. It is not bundled with ipbLatex by default (although this may change in the future).
mogrify is recommended for prettier images. If you do not have mogrify, be sure to set ‘resample’ to FALSE as instructed in the configuration. You’ll want to change ‘density’ and ‘gamma’ to the recommended values in the comment above if you cannot use mogrify.
For installation instructions and more detailed information on support, features, and use, see my blog. Important note on support: I am a student. The blog post gives contact info, but I cannot guarantee a speedy reply, so please be careful. Install on a test board first, for safety -- LaTeX can be fickle.
Demo:
[url="http://www.scienceforums.net/topic/3751-quick-latex-tutorial/"]http://www.scienceforums.net/topic/3751-quick-latex-tutorial/[/url]
What's New in Version 1.1
Version 1.1: support for IPB 3.4. (Download ipbLatex-3.4.zip.) Some bugs may persist due to changes in BBCode handling in 3.4; let me know if you spot any.
ipbLatex is fast, efficient, and easy to install. Features:
Normal display math — the $$ math $$ environment in LaTeX.
Inline math, as in the $math$ environment.
Typeset chemical equations, using mhchem.
PNG and GIF output, with customizable background colors and transparency.
A popup showing the raw LaTeX code upon clicking on an image, allowing users to find out how a LaTeX equation was made so they can type their own
Caching of every equation
As many LaTeX packages as you want to use
There is experimental support for PGF, but it is not enabled and incomplete, so you’d have to finish it yourself.
Note there are some requirements:
A working distribution of LaTeX. This kind of goes without saying – if you’re using Linux, look into the TeXlive distribution.
You absolutely must have a copy of dvipng installed. This plugin will not work without it.
If you want GIF output, then dvipng must have GIF support compiled into it. Things may otherwise break. Versions supplied as a part of many distributions will have this support.
The mhchem package needs to be accessible by LaTeX; either put the mhchem.sty file in the tmp directory or install the package properly. It is not bundled with ipbLatex by default (although this may change in the future).
mogrify is recommended for prettier images. If you do not have mogrify, be sure to set ‘resample’ to FALSE as instructed in the configuration. You’ll want to change ‘density’ and ‘gamma’ to the recommended values in the comment above if you cannot use mogrify.
For installation instructions and more detailed information on support, features, and use, see my blog. Important note on support: I am a student. The blog post gives contact info, but I cannot guarantee a speedy reply, so please be careful. Install on a test board first, for safety -- LaTeX can be fickle.
Demo:
[url="http://www.scienceforums.net/topic/3751-quick-latex-tutorial/"]http://www.scienceforums.net/topic/3751-quick-latex-tutorial/[/url]
What's New in Version 1.1
Version 1.1: support for IPB 3.4. (Download ipbLatex-3.4.zip.) Some bugs may persist due to changes in BBCode handling in 3.4; let me know if you spot any.