LaTeX2HTML makes you write blog like in LaTeX doc. You can just copy and paste to create a new post in WP from your tex source file, then it will looks like amsart document style. It support a lot of raw latex command including theorem like environment and BibTeX style citation.

Main Functions

  • Enable MathJax to render math formula.
  • Translate raw LaTeX (almost all the command of amsart) to HTML+CSS markup.
  • Almost every thing is customizable, but also works perfect by default. e.g., support \newcommand


Good news, this plugin is free for everyone! Since it’s released under the GPL2, you can use it free of charge on your personal or commercial blog.


  • MathJax Setting
    1. LaTeX Setting
  • BibTeX Setting
  • Support


  1. (Recommend: Automatically installation) If you install from WP plugin page, just search latex2html and click Install.
  2. (Manually installation) Extract the zip file (that’s you will get latex2html–A file directory) and just drop it in the wp-content/plugins/directory of your WordPress installation
  3. Then activate the Plugin from Plugins page.
  4. (Optional) Do the Test Example (see FAQ).


Any question can be feed back at there (turn to the support pannel)

User’s Manual

The full User’s Manual contains:

1.  How to Write the Basic Information of Your Post
2.  How to Write Section, Subsection and Subsubsection
3.  Itemize and Enumerate: How to List Stuffs
4.  The Color Scheme: How to Colorize You Content
5.  How to Write a Theorem
5.1.  Definition, Lemma, Proposition, Theorem, Corollary, Remark, Proof
5.1.1.  Basic Usage of Environments
5.1.2.  Assign a Name for Your Theorem
5.1.3.  The Proof Environment
5.1.4.  More Examples of Environments
5.2.  The Problem, Answer Environments
5.3.  The Exercise Environment
5.4.  The Quote Environment
6.  Auto Numbering and Referring Back
6.1.  Auto Numbering and Referring Back to Equations
6.1.1.  How to Refer back to Equation Number
6.1.2.  My Suggestion on “How to Write Equations”
6.2.  Auto Numbering and Referring Back to Environments
6.2.1.  Auto Numbering of Environments
6.2.2.  Referring Back to Environments
6.3.  Referring Back to Section
7.  BibTeX Citations
7.1.  How to Add BibTeX Data
7.2.  How to Cite
8.  Last Words and Feed Back
8.1.  How to Jump Between Links
9.  How to Get it?
A Test Example

For a test, you can do the following:

\title{Hello LaTeX2HTML}
If $f\in C^1([a,b])$ then
\int_a^b f'(x) d x=f(b)-f(a)
In \autoref{thm:NL} the main part is \eqref{eq:NL}.

Add a new post (it should be in the HTML code mode rather than the visual mode), copy the code into your new post, then preview it.

In fact, after a while you will find that it almost as if you were write your TeX doc rather than a post!



Hi i have a Sensei Woothemes wp plugin that create online courses, and the problem is that it doesn’t recognize the latex code to display the maths formulas so it should be modified(code should be integrated to its core files). can annyone help me figure out this thing i am willing to pay 100$ by paypal to the one who figure it out. this is my e-mail : feel free to contact me

Read all 2 reviews

Contributors & Developers

“LaTeX2HTML” is open source software. The following people have contributed to this plugin.




  • Fix the missing text-domain tag error in translation
  • Add the supporting of figure environments


  • Check bibtex.bib.txt existence before write bibtex data


  • Move bibtex.bib.txt to uploads root directory


  • Rename the bibtex.bib to bibtex.bib.txt for directly preview by browser


  • Fix the backup bibtex before upgrade


  • New css for print (A4 paper size)


  • fix the remove % bug


Bug fix:

  • The mathjax is not load on homepage with default setting
  • The mysql create syntax error


  • write bibtex original data to bibtex.bib


  • fix the issue of MathJax when speed up by rocket.js of Cloudfare


  • fix the database update function, the methods may not exists


Bug fix:

  • check function/methods exists before the call;
  • fix the translation in content;
  • fix the unable to delete plugin error;
  • update user\’s manual for BibTeX citation support


  • Fix section refer back by \ref{secnum} and \autoref{secnum}
  • Add full user’s manual


  • Totally rebuild based on the newest wordpress functions
  • Add BibTeX style citation support


  • Remove the auto-number function, since this can be down by mathjax after 2.1
  • Change the default mathjax config. to svg


  • Fix the wrong Custom LaTeX CSS Style place.


  • Compatible with Simple MathJaX


  • Change the default “load LaTeX2HTML only for Single Post” into an Option
  • Customlize the LaTeX CSS style
  • Fix the preamble-position bug
  • Add the Chinese language support


  • Add the LaTeX2HTML Demonstration LaTeX Doc
  • Remove the \documentclass... and \usepackage... stuff in the post, this will be convinient if your post are copy and paste from a TeX Doc
  • Add the Demo TeX doc LaTeX2HTML_TeX_Demo.tex and the PDF file which are obtained by run latex LaTeX2HTML_TeX_Demo.tex
  • Add Basic LaTeX \newcommand in preamble of LaTeX2HTML Setting page
  • Update the instruction of LaTeX2HTML Setting page


  • Solve the compatible problem with simple mathjax (if you were not stop the simple mathjax first before updating the LaTeX2HTML, there are the redeclare function error)
  • Add an setting page at the Plugins|Active page


  • Update the readme.txt


  • Integrate the simple mathjax into LaTeX2HTML
  • Only load MathJaX on the single page with math formulae (warped with $ and $ or \[ and \])


  • the original version