Jetpack Plugin
1. Install and Activate Jetpack
- Go to your WordPress Dashboard.
- Navigate to Plugins > Add New.
- Search for Jetpack.
- Click Install and then Activate.
2. Enable LaTeX Support
Jetpack includes built-in LaTeX support, but it needs to be enabled:
- Go to Jetpack > Settings in the WordPress Dashboard.
- Scroll down to the Writing section.
- Enable the “LaTeX support.
3. Write LaTeX in Your Post
Once LaTeX is enabled, you can use it directly in your posts or pages. The syntax for writing LaTeX math is simple:
- Inline Math: Use the format .
- Own line Math: use double dollar signs
$$
.$$ \int_a^b f(x) \, dx = F(b) - F(a) $$
4. Customize Appearance (Optional)
Jetpack provides customization for LaTeX rendering:
- Add CSS in your WordPress theme to style math elements (e.g., font size, alignment).
- Use optional arguments in the LaTeX code to control the output style.
Example: