This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

# LaTeX2HTML

## Description

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.

## Installation

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).

## FAQ

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

1. After you updating to WordPress 5.0 or higher, in the new new block editor, you can switch to HTML code mode from Visual mode by Ctrl+Shift+Alt+M. Or you can use the Classical Editor.
User’s Manual (included in the LaTeX2HTML’s setting page)

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 Footnote
5.  The Color Scheme: How to Colorize You Content
6.  The Figure Environment
7.  How to Write a Theorem
7.1.  Definition, Lemma, Proposition, Theorem, Corollary, Remark, Proof
7.1.1.  Basic Usage of Environments
7.1.2.  Assign a Name for Your Theorem
7.1.3.  The Proof Environment
7.1.4.  More Examples of Environments
7.3.  The Exercise Environment
7.4.  The Quote Environment
8.  Auto Numbering and Referring Back
8.1.  Auto Numbering and Referring Back to Equations
8.1.1.  How to Refer back to Equation Number
8.1.2.  My Suggestion on “How to Write Equations”
8.2.  Auto Numbering and Referring Back to Environments
8.2.1.  Auto Numbering of Environments
8.2.2.  Referring Back to Environments
8.3.  Referring Back to Section
9.  BibTeX Citations
9.1.  How to Add BibTeX Data
9.2.  How to Cite
10.  Last Words and Feed Back
10.1.  How to Jump Between Links
11.  How to Get it?

A Test Example

For a test, you can do the following:

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


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!

## Reviews

### Very straightforward

January 3, 2019
I tried a couple of LaTeX plugins for my version of WP (v5), none of which worked as expected (I didn't try very hard to find out why). But this one worked straight out of the box. Very intuitive and easy to use. Kudos!

### The best LaTeX plugin in WordPress I’ve seen

November 16, 2018
Awesome! Thanks author of this plugin. You can just copy your LaTeX code into your new article without any edition, and this plugin will help you to generate a beatiful output.

### Some suggestions for improvment

December 25, 2017 2 replies
A nice plugin! [ link redacted ] And I have some suggestions for improvement: (1)The reference cannot be download; (2)I know that you have develop functions for preview latex codes, why not share it as another plugin or integrate them into this plugin; (3)Add a option: A blank line for new line.

### better than jetpack

January 15, 2017
it can also parse $code here$ syntax type which jetpack cannot

### CODING

February 7, 2017

#### 0.0.5

• the original version