Title: WP QuickLaTeX
Author: advanpix
Published: <strong>May 23, 2009</strong>
Last modified: June 26, 2024

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-quicklatex.svg)

# WP QuickLaTeX

 By [advanpix](https://profiles.wordpress.org/advanpix/)

[Download](https://downloads.wordpress.org/plugin/wp-quicklatex.3.8.8.zip)

 * [Details](https://pcd.wordpress.org/plugins/wp-quicklatex/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/wp-quicklatex/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/wp-quicklatex/#installation)
 * [Development](https://pcd.wordpress.org/plugins/wp-quicklatex/#developers)

 [Support](https://wordpress.org/support/plugin/wp-quicklatex/)

## Description

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](http://www.holoborodko.com/pavel/quicklatex/) for more
info.

 * Standard LaTeX expressions can be cut and pasted directly into WordPress posts,
   pages, and comments; display environments require no enclosures, other expressions
   require only a surrounding `$..$` or `\[..\]`. No need for enclosing tags `[latex]...[/
   latex]`.
 * Correct vertical positioning of inline formulas relative to baseline of surrounding
   text. Say “NO” to jumpy equations produced by other plugins!
 * SVG vector graphics support, so that formulas are crisp regardless of scaling
   in browser.
 * (AMS)LaTeX displayed math environments support: `equation, align, gather, multiline,
   flalign, alignat,` etc.
 * Automatic numbering of displayed equations. Override autonumbering with `\tag{}`
   LaTeX command.
 * Equation hyper-referencing by standard LaTeX rules with `\label{}`, `\ref{}`.
 * Custom LaTeX document preamble, allowing added `\usepackage{}` and `\newcommand{}`.
 * `TikZ` and `pgfplots` graphics package support.
 * Preview formulas in comments before publishing. Additionally [AJAX Comment Preview](http://blogwaffe.com/ajax-comment-preview/)
   plugin should be installed to enable this feature.
 * Meaningful error messages for mistakes in LaTeX code.
 * Precise font properties tuning: `size, text and background color`.
 * Easy style customization using UI or CSS file.
 * No LaTeX installation is required.
 * QuickLaTeX.com automatically provides formula images, which are then cached on
   user’s server.
 * Administrative settings page for setting global parameters; AJAX-ified.

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](http://www.holoborodko.com/pavel/numerical-methods/numerical-derivative/central-differences/),
[Cubature formulas for the unit disk](http://www.holoborodko.com/pavel/numerical-methods/numerical-integration/cubature-formulas-for-the-unit-disk/),
[Smooth noise robust differentiators](http://www.holoborodko.com/pavel/numerical-methods/numerical-derivative/smooth-low-noise-differentiators/),
etc.

## Screenshots

 * [[
 * LaTeX – enabled post in WordPress editor.
 * [[
 * Same post – published.
 * [[
 * TikZ drawing inclusion (up: source code in the post editor, down: published post).
 * [[
 * Admin page – Basic settings.
 * [[
 * Admin page – LaTeX Syntax Sitewide & Custom preamble
 * [[
 * Admin page – Image format and other system settings.
 * [[
 * Debug Mode – Error message triggered by misspelled `\sqrt` command.

## Installation

WP QuickLaTeX is based on the free web service [QuickLaTeX.com](http://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.

 * Download WP QuickLaTeX plug-in.
 * Unzip the plugin file and upload its content to `wp-content/plugins` folder of
   your blog.
 * Activate WP-QuickLaTeX through the ‘Plugins’ menu in WordPress, adjust its settings
   if needed.

## FAQ

### How do I add LaTeX to my posts?

There are three possible ways:

 * Place `[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`).
 * Enable ‘Use LaTeX Syntax Sitewide’; then it is not necessary to place `[latexpage]`.
 * Wrap formulas with `[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](http://www.holoborodko.com/pavel/quicklatex/) for more 
information on features, examples, tips & tricks.

### How can I send bug reports or request new feature?

Please use comments on the plugin’s web page [WP-QuickLaTeX](http://www.holoborodko.com/pavel/quicklatex/).

I’ll do my best to help you.

## Reviews

![](https://secure.gravatar.com/avatar/ea825e439fd70c5b1083da9326b14539859ec758f8fd612bcfbcbeb551901e3d?
s=60&d=retro&r=g)

### 󠀁[Good but has privacy concern](https://wordpress.org/support/topic/good-but-has-privacy-concern/)󠁿

 [gqqnbig](https://profiles.wordpress.org/gqqnbig/) June 10, 2024

I love the author’s enthusiasm in maintaining this open source tool. But I have 
to point out, and the author implied in the README that this plugin uses QuickLaTeX.
com to render your latex code. First of all, there is a privacy concern as QuickLaTeX.
com sees all your latex code, whether in your public page or private. Second, the
usability of this plugin depends on QuickLaTeX.com. If QuickLaTeX.com is down for
maintenance, no new latex code will be generated.

![](https://secure.gravatar.com/avatar/60657a77fa9494b15764ac9ba00d6fa3ea9322412fafddf65ad3657d435b1d88?
s=60&d=retro&r=g)

### 󠀁[Plugin getting discontinued](https://wordpress.org/support/topic/plugin-getting-discontinued/)󠁿

 [luisyep](https://profiles.wordpress.org/luisyep/) June 9, 2023 1 reply

I am extremely sorry for writting this review but people must know this plugin is
outdated. I had massively used it since 2016 and have worked really well. However,
during the last years / months it has not received enough updates (last update 3
years ago, not even “tested” on WP 6). It has gave problem some times (not rendering
equation due to server problems or whatever) and since yesterday it hugely lags 
my website. This was the last drop to take the decision to change the plugin as 
it seems it will have less updates time to time… So I had to adapt all my posts (
more than 100 full of equations) to another plugin that seems to be more active 
and has future. Thank you for creating this amazing plugin but if you are a new 
user don’t get used to it / adapt equations to this plugin.

![](https://secure.gravatar.com/avatar/f03c805f7da00bda2b3919a7131e1575ef16c1c164d8db07d684934e7c663aaf?
s=60&d=retro&r=g)

### 󠀁[Doesn’t support all Latex environments](https://wordpress.org/support/topic/doesnt-support-all-latex-environments/)󠁿

 [dogunter](https://profiles.wordpress.org/dogunter/) March 13, 2021 1 reply

It is an incomplete plugin. Tables, for one, are not supported. As such, it should
not be promoted as a full-featured Latex plugin.

![](https://secure.gravatar.com/avatar/b92ab4dc9ad20b8aad103e4c1c48b5853c22bcf5c24b0da2388a1528b2da19ea?
s=60&d=retro&r=g)

### 󠀁[Simple and works well so far](https://wordpress.org/support/topic/simple-and-works-well-so-far/)󠁿

 [lynneinjapan](https://profiles.wordpress.org/lynneinjapan/) September 16, 2020

Needed a plugin that would allow me add mathematical notation to web pages / blog
posts. This one seems to be perfect for my needs, and worked well once I worked 
out that you need a shortcode block for the “latexpage” but all the rest of the 
content can go anywhere. (WordPress newbie here!) Initially I couldn’t get the LaTeX
content to appear inline with the rest of the text but the plugin author was very
helpful in resolving that issue, which was caused by the theme’s CSS settings. In
case anyone else needs the solution, here it is: 1. Find a CSS file belonging to
your theme that contains “img{display:block; …}” – 2. Remove the “display:block;”
bit and save the file. 3. Clear the browser cache using Ctrl-F5.

![](https://secure.gravatar.com/avatar/0428d2ce65cedc300cc77fbea17fc8fdeee4e7d92b137a1f2cd3efc80bb88069?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-8712/)󠁿

 [Philip Faster](https://profiles.wordpress.org/philipfaster/) March 2, 2020 1 reply

Excellent

![](https://secure.gravatar.com/avatar/cc1fa8fe3014e161d0e87594f94ec34245f540ac6a4b0b0ae43d6408da5f3af9?
s=60&d=retro&r=g)

### 󠀁[Quicklatex is the best](https://wordpress.org/support/topic/quicklatex-server-is-down/)󠁿

 [arindam4u](https://profiles.wordpress.org/arindam4u/) October 15, 2019

Best plugin for Latex Equations

 [ Read all 31 reviews ](https://wordpress.org/support/plugin/wp-quicklatex/reviews/)

## Contributors & Developers

“WP QuickLaTeX” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ advanpix ](https://profiles.wordpress.org/advanpix/)
 *   [ cityjin ](https://profiles.wordpress.org/cityjin/)
 *   [ kirkpatrick ](https://profiles.wordpress.org/kirkpatrick/)

[Translate “WP QuickLaTeX” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-quicklatex)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-quicklatex/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wp-quicklatex/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/wp-quicklatex/) 
by [RSS](https://plugins.trac.wordpress.org/log/wp-quicklatex/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.8.8

 * More fixes to prevent XSS attack on admin settings page (suggested by WPScan 
   team).
 * Minor changes to improve PHP code (suggested by Mike Witt).

#### 3.8.7

 * Added extra checks on input settings on admin page (to prevent the possibility
   of XSS attack).
 * Minor changes and new version release.

#### 3.8.6

 * Plugin and servers have been switched to work in HTTPS mode.

#### 3.8.5

 * Fixed issue with retrieving settings from database reported by Ned Zimmerman.
 * Minor code polishes to silence the notices from PHP interpreter.

#### 3.8.4

 * Added compatibility with PHP7.

#### 3.8.3

 * Image size reduction using OptiPNG.
 * Minimized memory usage. Useful for restricted PHP configurations.

#### 3.8.2

 * Added support for `$latex ... $` syntax for easy switching from WP-LaTeX ;).
 * Server has been upgraded. Now QuickLaTeX server is located in Germany.

#### 3.8.1

 * Switched to non-blocking connection with server to avoid delays/freeze if server
   is down.

#### 3.8.0

 * Added rendering to SVG.
 * Fixed minor bug on a server side.

#### 3.7.9

 * Fixed critical bug in parsing. Update is strongly recommended.
 * Minor changes in settings page.

#### 3.7.8

 * Diagnostics on HTTP connection errors caused by server/PHP configuration have
   been added.

#### 3.7.7

 * Server has been updated to include newest packages and changes.
 * Settings page has been improved.
 * Fixed few minor bugs in plugin.
 * Improved rendering of TikZ pictures with overlays.
 * Improved support of chemistry-related packages: ChemFig, myChemistry.

#### 3.7.6

 * Fixed sanitization of LaTeX source code to be placed in `alt` attribute. Now 
   QuickLaTeX markup passes HTML validation without errors/warnings.

#### 3.7.5

 * Added compatibility with [AJAX Comment Preview](http://blogwaffe.com/ajax-comment-preview/)
   plugin to allow formulas preview in comments before publishing. Just update QuickLaTeX
   to 3.7.5 and install AJAX Comment Preview. You can test this feature on [any post on my site ](http://www.holoborodko.com/pavel/).

#### 3.7.4

 * Use `!` before `[latexpage]` tag to escape it from processing.
 * Disabled `$$ .. $$` processing on non-[latexpage] pages.

#### 3.7.3

 * Equation hyper-referencing with `\label{}`, `\ref{}`.
 * Fixed bug with CSS styles for TikZ drawings.

#### 3.7.2

 * Fixed vertical misalignment caused by CSS collisions with some “bossy” themes.

#### 3.7.1

 * Support of native LaTeX syntax embedded directly in the posts. Copy-paste exchange
   with offline LaTeX papers.
 * `TikZ` graphics support, including `pgfplots` and `gnuplot` commands.
 * Automatic displayed equations numbering facility; `\tag{}` overrides autonumbering.
 * Styles are in separate CSS file now for easy customization.
 * Redesign of UI admin page. AJAX submission of options
 * Improved rendering quality (PNG image output).
 * Support of Thesis theme.
 * Numerous small fixes and improvements.
 * Server software is updated to support TexLive 2010 package.

#### 3.0.0

 * Server [QuickLaTeX.com](http://quicklatex.com/) and plugin [WP-QuickLaTeX](http://www.holoborodko.com/pavel/quicklatex/)
   have been completely rewritten.
 * Support of multiline environments.
 * Font properties tuning.
 * Custom LaTeX document preamble support.
 * UI Settings page.

#### 2.5.4

 * Support of the latest WordPress 3.0.

#### 2.5.3

 * Convert entities from extended HTML symbol table to ASCII for correct compilation
   by LaTeX.

#### 2.5.2

 * Optimize cURL options to support safe mode.

#### 2.5.1

 * Support of $$!..$$ to center formulas horizontally (_displayed_ formulas).

#### 2.5

 * Show detailed error messages from LaTeX compiler.
 * Increase speed by formula images caching.
 * Support of $$..$$ tags.

#### 2.4.1

 * Increase speed by minor code refactoring.

#### 2.4

 * Increase speed by using cURL if allowed by the server configuration.
 * Support of restricted servers with disabled `allow_url_fopen`.

#### 2.3

 * Increase speed by formula properties caching.

## Meta

 *  Version **3.8.8**
 *  Last updated **2 years ago**
 *  Active installations **5,000+**
 *  WordPress version ** 2.8 or higher **
 *  Tested up to **6.5.8**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-quicklatex/)
 * Tags
 * [equations](https://pcd.wordpress.org/plugins/tags/equations/)[gnuplot](https://pcd.wordpress.org/plugins/tags/gnuplot/)
   [latex](https://pcd.wordpress.org/plugins/tags/latex/)[math](https://pcd.wordpress.org/plugins/tags/math/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/wp-quicklatex/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  27 5-star reviews     ](https://wordpress.org/support/plugin/wp-quicklatex/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/wp-quicklatex/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wp-quicklatex/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-quicklatex/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/wp-quicklatex/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/wp-quicklatex/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-quicklatex/reviews/)

## Contributors

 *   [ advanpix ](https://profiles.wordpress.org/advanpix/)
 *   [ cityjin ](https://profiles.wordpress.org/cityjin/)
 *   [ kirkpatrick ](https://profiles.wordpress.org/kirkpatrick/)

## Support

Issues resolved in last two months:

     0 out of 1

 [View support forum](https://wordpress.org/support/plugin/wp-quicklatex/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.holoborodko.com/pavel/quicklatex/)