

Example rendered equation in page
WPMathPub renders mathematical equations in WordPress using the mathpublisher rendering engine, supporting both pmath native syntax and LaTeX-style input and generating high-quality PNG images with transparent backgrounds.
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.
Example:
[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]
Expressions are rendered as PNG images using the GD and FreeType libraries and cached for efficient reuse.