WPMathPub
Render mathematical equations in WordPress as PNG images using pmath native syntax or LaTeX input with server-side rendering.
Mit Vorsicht verwenden
WPMathPub works, but test it on a staging site before relying on it in 2026. It runs on 300+ sites, is rated 4.2/5 and was last updated 7 months ago, and scores 50/100 on our health check.
- Kleine Benutzerbasis (300+ aktive Installationen)
- Nur getestet bis WordPress 6.9 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where WPMathPub stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| equations | #5 |
| formula | #31 |
| latex | #4 |
| math | #83 |
| mathematics | #4 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4.2 from 5 reviews
About WPMathPub
From the official readme · v3.0.5Beschreibung
WPMathPub renders mathematical equations in WordPress using the Mathpublisher rendering engine, supporting both native pmath syntax and LaTeX-style input. It generates fast, high-quality PNG images with halo-free transparent backgrounds for reliable display across posts, pages, comments, and RSS feeds.
The plugin also includes Math-Pub Rosetta, a standalone app built on the same Mathpublisher engine. Rosetta mirrors WPMathPub’s behavior outside WordPress, allowing users to publish math anywhere – as a WPMathPub pmath tag learning tool, as a gateway to any LaTeX-enabled document (including Microsoft Office and Overleaf), or directly in WordPress comments. (Launch the Rosetta app)
Unlike MathJax-based plugins, WPMathPub performs server-side rendering, producing static equation images that display consistently across browsers and devices without requiring client-side JavaScript.
This approach provides reliable rendering for:
- WordPress posts, pages, and comments
- Cached pages
- Environments where JavaScript rendering is not desirable
- RSS feeds and feed aggregators RSS example
WPMathPub extends the classic mathpublisher engine with modern WordPress integration including shortcode support, LaTeX translation, image caching, and configurable rendering options.
Mathematical Equation Rendering
Mathematical expressions can be embedded directly into WordPress content using the pmath shortcode.
Basic native usage:
[pmath]x^2 + y^2 = z^2[/pmath]
Custom size and color:
[pmath size=18 color="blue"]E = mc^2[/pmath]
LaTeX input with inline text:
This is a fraction: [pmath latex=1]\frac{a}{b}[/pmath]
Normal, upright text with the same inherited color and size:
LaTeX example – [pmath size=24 color="#006687" latex=1]\text{This is a fraction:}\,\frac{a}{b}[/pmath]
Native example – [pmath size=24 color="#006687"]text{NPV(CF, R) := } text{IV} + delim{[}{ sum{k=1}{N}{ {text{CF}_k}/{(1+text{R}/100)^k}}}{]}[/pmath]
Expressions are rendered as PNG images using the GD and FreeType libraries and cached for efficient reuse. Rosetta extends this with visual error checks and copy to clipboard buttons that move your equations into WPMathPub content, external presentation tools, or anywhere PNG images are accepted. The result lives up to Rosetta’s tagline: Your math. Any platform.
Merkmale
- pmath shortcode tag math expression rendering
- Inline text with math images using pmath shortcode tag
- Control of math image size and color
- LaTeX command translation (Check out the complete syntax list)
- Server-side PNG equation generation
- Gutenberg WPMathPub math block with PMath and LaTeX mode switching
- Halo-free color rendering with alpha transparency
- Transparent background support for dark themes
- Minimal WordPress database footprint
- Efficient PNG image caching
- Math-Pub Rosetta application
- Enter math syntax manually, starting with examples, or using the Math Insert Menu
- Paste pmath tags from WPMathPub enabled content into the Math Test Area
- Allow external users to post math content into comments after visual inspection
- Math Insert Menu includes search, category, and show all for easier syntax use
- Copy resulting math to clipboard
- Copy out and past in allows for roundtrip math syntax development with WPMathPub
- Target audience includes WPMathPub users, new LaTeX learners, and image reuse
- WordPress admin tools panel
- Configurable default equation size
- Configurable default equation color with color picker
- Installation status display
- PNG image cache status and control
- Policy control for cleanup on plugin delete
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the WordPress Plugins menu.
- Optional: change defaults under Tools → WPMathPub.
- Optional: share the Math-Pub Rosetta link in your content to support math enabled comments.
Änderungsprotokoll
New: \text{} for upright free-form text in equations, \pmb{} for pseudo-bold single symbols, and the Math-Pub Rosetta standalone tester (bundled in /demo). Cleaner small-size rendering of trig/operators/Greek capitals via Latin Modern Roman. Several LaTeX translator fixes (matrix-with-delimiters, \lim, \iiint/\iint/\int/\oint, half-open intervals, thin space, function keywords). White-screen-of-death protection if a required file is missing during upgrade. Internal translator refactor.
3.0.5
- New: Math-Pub Rosetta — bundled standalone math expression tester (demo/rosetta.php). Visit your local copy via the new “Open Rosetta” link on the Plugins page, or use the full version at math-pub.org. Same syntax engine as the plugin; works portably outside WordPress.
- New: \text{}, \mathrm{}, \mbox{} for upright free-form text — uses bundled Latin Modern Roman font. Useful for “x_{\text{init}} + 5” style annotations and equation labels. \mathit{} for italic free-form text continues to work as before. Previously all four were aliased to italic, which was wrong for \text{}.
- New: \pmb{…} pseudo-bold renderer for any single symbol (image-overprint technique). Renders bolder weight than standard. Example: \vec{\nabla} \cdot E = \frac{\rho}{\varepsilon_0} with \pmb{\rho} bolds the rho.
- New: dot-family symbols — \cdot (centered dot), \bullet (filled bullet), \times (cross multiplication), \because (∵), \therefore (∴).
- Improved: cleaner glyph rendering at small font sizes (12–15) for trig functions, math operators, and Greek capitals. Uses bundled Latin Modern Roman in place of cmr10. Resolves the blob-like appearance where letters merged together (e.g., “tan” rendering with t looking bolder than an).
- Improved: integral symbol height and vertical alignment — smaller, raised slightly to reduce gap above the integrand.
- Improved: post-update admin notice with one-click “Refresh image cache” button. Cached PNGs regenerate on first page view; URLs stay stable so existing posts and RSS feeds keep working. Per-user, per-version dismissal.
- Fixed: white-screen-of-death protection. If mathpub_latex.php or mathpublisher.php goes missing (during update, FTP transfer, or security quarantine), the plugin now shows a clear admin notice and keeps the rest of WordPress running. Previously WordPress would fatal with E_ERROR.
- Fixed: matrix-with-delimiter wrappers were silently dropped. \left[ \begin{matrix}…\end{matrix} \right] now correctly renders matrix with bracket wrapper. Same fix applies to determinant form (\left| … \right|) and piecewise form (\left{ … ).
- Fixed: half-open interval form \left[x\right[ was leaving literal “x\right[” in output. Now correctly produces delim{[}{x}{[}.
- Fixed: \lim_{x \to a} f(x) was producing wrong pmath shape with body dropped. Now produces the correct lim{x right a}{f(x)}. \rightarrow recognized as synonym for \to.
- Fixed: \iiint, \iint, \int, \oint with leading position were greedily swallowing trailing operators into their body. “\iint_{a}^{b}x \prod_{a}^{b}x” now tokenizes as two separate operators rather than one giant double-integral.
- Fixed: descender clipping in upright text — bottom row of g, j, p, q, y and lowercase Greek β γ η μ ρ φ ψ χ ξ ζ was clipped by an off-by-one in canvas height. Fix is universal — also resolves a Greek descender clipping that had existed for years but was hidden because trig/operator names have no descenders.
- Fixed: thin space \, was rendering as a regular space. Now correctly maps to ~ (pmath thin space). Also fixed \; : ! variants.
- Fixed: function keywords \sin \cos \ln \log \exp \det \ker \dim \max \min were passing through with leading backslash. Engine still rendered them, but cache fingerprints differed from bare-keyword pmath, causing duplicate cached images. Now mapped explicitly.
- Fixed: warning messages for empty or malformed pmath tags.
- Internal: extracted inline LaTeX translator into reusable mathpub_latex.php module (zero behavior change for existing shortcodes). Engine bumped to v1.4.1.
3.0.4
- Added \hbar symbol (reduced Planck constant ℏ, Unicode U+210F)
- Fixed LaTeX \frac rendering for multi-token numerators and denominators
- Fixed image rendering failure at certain font sizes caused by decimal value in cached filename
- Fixed small vertical alignment error between inline text and math images
- Removed version salt for stable RSS feed and URL links
- Changed Gutenberg block default math syntax mode from pmath native to LaTeX
- Security: added direct file access protection (ABSPATH check) to wpmathpub.php, mathpublisher.php, and fonts/index.php
- Security: replaced unlink() with wp_delete_file() in wpmathpub.php and uninstall.php
- Security: replaced rmdir() with WP_Filesystem in uninstall.php
- Security: escaped admin page output with wp_kses_post()
- Fixed readme.txt Requires at least version 5.0 mismatch
3.0.3
- Improved error handling
- Improved rendering of PNG images
3.0.2
- Added color= shortcode attribute with hex and named color support
- Added LaTeX input mode via latex=1 shortcode attribute with full PHPMathPublisher syntax coverage
- Added Gutenberg WPMathPub math block with PMath/LaTeX mode switching and real-time preview
- Added admin panel default equation color setting with WordPress color picker
- Added admin panel default equation size setting
- Added uninstall.php to remove plugin database options on delete
- Fixed Greek Omega symbol rendering (three stacked bugs resolved)
- Fixed matrix and tabular LaTeX conversion
- Fixed tabular border string parsing to respect LaTeX | and \hline markers
- Improved PNG image cache handling and cache key discipline
- Improved rendering stability across PHP 7.2 through 8.3
Screenshots
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best WPMathPub alternatives
All equations plugins →Fragen und Antworten
WPMathPub: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is WPMathPub free?
Yes. WPMathPub is free to download and use from the official WordPress.org plugin directory.
Is WPMathPub safe to use in 2026?
WPMathPub works, but test it on a staging site before relying on it in 2026. It runs on 300+ sites, is rated 4.2/5 and was last updated 7 months ago, and scores 50/100 on our health check.
How many websites use WPMathPub?
WPMathPub is active on 300+ WordPress websites and has been downloaded 26,856 times since it launched in March 2008. It was downloaded 241 times in the last 30 days.
Does WPMathPub work with WordPress 7.1?
WPMathPub is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does WPMathPub need?
WPMathPub requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was WPMathPub last updated?
The latest version, 3.0.5, was released on May 9, 2026 (7 months ago).
Who makes WPMathPub?
WPMathPub is developed and maintained by Ron Fredericks.
What are the best alternatives to WPMathPub?
The most popular alternatives to WPMathPub are WP QuickLaTeX (4K+ installs), WP LaTeX (700+ installs) and Funny Equations (10+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
