Insert formulas & graphics in the posts and comments using native LaTeX shorthands directly in the text. Inline formulas, displayed equations auto-numbering, labeling and referencing, AMS-LaTeX, TikZ
, custom LaTeX preamble. No LaTeX installation required. Easily customizable using UI page. Actively developed and maintained. Visit QuickLaTeX homepage for more info.
$..$
or \[..\]
. No need for enclosing tags [latex] ... [/latex]
.equation, align, gather, multiline, flalign, alignat,
etc.\tag{}
LaTeX command.\label{}
, \ref{}
.\usepackage{}
and \newcommand{}
.TikZ
and pgfplots
graphics package support.size, text and background color
. Just place LaTeX math expressions into your text and enable QuickLaTeX on the page by [latexpage]
command.
WP QuickLaTeX will convert them to high-quality images and embed into post. Inline formulas will be properly aligned with the text.
Displayed equations will be auto-numbered by LaTeX rules.
To see plugin in action please visit math-pages on my blog, e.g. Central Differences,
Cubature formulas for the unit disk, Smooth noise robust differentiators, etc.
WP QuickLaTeX is based on the free web service QuickLaTeX.com and doesn’t require
LaTeX to be installed on user’s server or hosting account. Just install the plugin and you are good to go.
wp-content/plugins
folder of your blog.There are three possible ways:
[latexpage]
somewhere on the page, post, or comment. Place LaTeX expression surrounded by $..$, \[..\]
or a display environment \begin(equation}..\end{equation}
(or align, gather, multiline, flalign, alignat
). [latexpage]
.[latex] ... [/latex]
(this gives compatibility with previously-written “legacy” pages). In any case plugin will do automatic/custom equation numbering based on LaTeX rules.
Check plugin home page for more information on features, examples, tips & tricks.
Please use comments on the plugin’s web page WP-QuickLaTeX.
I’ll do my best to help you.
$latex ... $
syntax for easy switching from WP-LaTeX ;).alt
attribute. Now QuickLaTeX markup passes HTML validation without errors/warnings.!
before [latexpage]
tag to escape it from processing. $$ .. $$
processing on non-[latexpage] pages.\label{}
, \ref{}
.TikZ
graphics support, including pgfplots
and gnuplot
commands.\tag{}
overrides autonumbering.allow_url_fopen
.NOTE: For must users, we recommend using Jetpack and
its Beautiful Math feature.
WP LaTeX offers additional control since it allows you to host your own LaTeX
image server.
Writing equations and formulae is a snap with LaTeX, but really hard on a website.
No longer. This plugin combines the power of LaTeX and the simplicity of WordPress
to give you the ultimate in math blogging platforms.
Wow that sounds nerdy.
Steve Mayer’s LatexRender Plugin
is based on a LaTeX Rendering Class originally
written by Benjamin Zeiss. Its requirements are somewhat different and has a different
installation procedure.
This plugin can generate the PNG images either by using WordPress.com‘s
LaTeX server (recommended) or by using the version of LaTeX installed on your webserver
(LaTeX is not installed on most webservers; this method is recommended for advanced users only).
If you choose this advanced method, you will need several external programs to be installed and
working on your webserver, so installation is bit complicated. Many hosts will not be able to
support this method.
Server Requirements:
texlive-latex-base
tetex-math-extra
package. Both are available to most Linuxdvipng
(provided by the dvipng
package) or both dvips
and convert
(provided bydvips
and imagemagick
or graphicsmagick
packages, respectively) must installed asdvipng
is preferred.Setup:
latex/
in your wp-content/
directory and make it writable byThis plugin uses the WordPress Shortcode Syntax.
Enter your LaTeX code inside of a [latex]...[/latex]
shortcode.
[latex]e^{\i \pi} + 1 = 0[/latex]
You may alternatively use the following equivalent syntax reminiscent of LaTeX’s inline
math mode syntax.
$latex e^{\i \pi} + 1 = 0$
That is, if you would have written $some-code$
in a LaTeX document, just
write $latex some-code$
in your WordPress post.
For the curious, the shortcode syntax is slightly faster for WordPress to process, but the
inline syntax is a little easier for us humans to read. Pick your poison.
Yes. You can set the default text color and background color of the images in the
Plugins -> WP LaTeX admin page.
You can also change the colors on an image by image basis by specifying color
and background
attributes inside the LaTeX shortcode. For example:
[latex color="ff0000" background="00ff00"]e^{\i \pi} + 1 = 0[/latex]
will produce an image with a bright green background and a bright red foreground color.
Colors are specified in RGB with the standard 6 digit hex notation.
The equivalent “inline” syntax uses fg
and bg
parameters after the LaTeX code.
$latex e^{\i \pi} + 1 = 0&bg=00ff00&fg=ff0000$
You can specify a size
attribute in the LaTeX shortcode:
[latex size="4"]e^{\i \pi} + 1 = 0[/latex]
or, equivalently, an s
parameter after the LaTeX inline syntax:
$latex e^{\i \pi} + 1 = 0&s=4$
The size can be any integer from -4 to 4 (0 is the default). These numbers correspond to
the following LaTeX size commands.
size = LaTeX size
-4 \tiny
-3 \scriptsize
-2 \footnotesize
-1 \small
0 \normalsize (12pt)
1 \large
2 \Large
3 \LARGE
4 \huge
You can adjust the CSS used for the LaTeX images to suit your theme better. Go to
Settings -> WP LaTeX and edit the Custom CSS.
You can’t with this plugin. WP LaTeX forces you to stay in math mode. Formatting and
styling for your posts should be done with markup and CSS, not LaTeX.
If you really want hardcore LaTeX formatting (or any other cool LaTeX features), you
should probably just use LaTeX.
Formula does not parse
: Your LaTeX is invalid; there must be a syntax error orFormula Invalid
: Your LaTeX code attempts to use LaTeX commands that this pluginYou must stay in inline math mode
: Fairly self explanitory, don’t you think?The forumula is too long
: Break your LaTeX up into multiple images. WP LaTeXCould not open TEX file for writing
or Could not write to TEX file
: You havewp_safe_redirect()
for added security.<p>
and <br>
from shortcode contents to make multiline LaTeX easier.tmpnam()
can return an error on some setups when called with a null parameter./tmp
instead (it should fall back to the system’s temp directory). Props Marin Saric.If you want math forumals on your website and dont want the page to load 1 second slower, this is the plugin for you.
This is an optimized version of two other latex plugins. It is easy to use and the Latex syntax
gives you alot of examples how to write nice latex.
This plugin does not allow you to use your own latex server. (If you have your own latex server you would probaply not need this plugin anyway.)
This is some brief installation notes. For more information see Webfish
/wp-content/plugins/
directory/wp-content/cache/
exists and is writable.This plugin uses the WordPress Shortcode Syntax.
Enter your LaTeX code inside of a [latex]...[/latex]
shortcode.
[latex]e^{\i \pi} + 1 = 0[/latex]
You may alternatively use the following equivalent syntax reminiscent of LaTeX’s inline
math mode syntax.
$latex e^{\i \pi} + 1 = 0$
That is, if you would have written $some-code$
in a LaTeX document, just
write $latex some-code$
in your WordPress post.
For more frequent questions visit Webfish
You will find the change log at Webfish
]]>This plugin can let you add mathematical equations to your posts using latex.
Google chart API is used in this plugin to turn the latex strings to equation images.
The equation images will be stored on your site, so it will be efficient.
To add equations in your articles, just surround the latex script with [eq]
and [/eq]
tags.
For example, add following codes [eq]\alpha+\beta\geq\gamma[/eq]
in your posts.
geq4wp
fold to the /wp-content/plugins/
directoryGoogle Equation for WordPress
through the ‘Plugins’ menu in WordPress