WP QuickLaTeX

Beschreibung

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.

  • 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 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,
Cubature formulas for the unit disk, Smooth noise robust 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 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

Installation Instructions

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.

  • 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.
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 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.
I’ll do my best to help you.

Rezensionen

Latest Version is Broken

Some sloppy code in there that I had to manually fix. Also, this plugin was last updated 2 years ago. For example, 'eqlabel' > null has broken a multitude of websites.

Obvious fix is to deal with the typo, which shows me they didn’t even test before deployment. For those that need to fix it before moving to something better, here’s the „obvious“ fix for that „eqlabel“ snafoo:
'eqlabel' => null
You can fix that in the plugin file at /your-websites-root-directory/wp-content/plugins/wp-quicklatex/wp-quicklatex.php

Is what I needed for my bbPress forum

For my regular posts I used JetPack renderer ($latex … $)
However, it is not available in BBPress forum. Though QuickLaTeX is per default neither available, this hack solves the problem
https://wordpress.org/support/topic/quicklatex-bbpress-buddypress/

@antonv, thank you, keep up a good work and I suggest to integrate the support for BBPress by default.
И как услуга за услугу – если тебе нужна персональная консультация по инвестициям или финансовым вопросам – обращайся 🙂

Lies alle 24 Rezensionen

Mitwirkende & Entwickler

„WP QuickLaTeX“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „WP QuickLaTeX“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

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 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 .

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 and plugin WP-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.