

Example rendered equation in page
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:
WPMathPub extends the classic mathpublisher engine with modern WordPress integration including shortcode support, LaTeX translation, image caching, and configurable rendering options.
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.