WordPress Equations

So how do you publish documents in MS Word containing complex equations? You could use the Word equation editor and copy an copy an image of each equation but that would be tedious. 

Word supports a plugin called MathType that can export equations in a code called \LaTeX. Fortunately WordPress supports the use of the LaTeX shortcode for typesetting of complex equations.

You can add MathType equations directly into your document. The screenshot below shows an example equation open in the editor. mathtype-editor

From the Preferences->Cut and Copy Preferences… menu you need to select the MathML or TeX option as shown below. mathtype-dialog

Now, when you copy and paste equations from the editor into WordPress you will get a code that looks like this:

\[\int\limits_1^3 {\frac{{{{{e^3}} \mathord{\left/
 {\vphantom {{{e^3}} x}} \right.
 \kern-\nulldelimiterspace} x}}}{{{x^2}}}} dx\]

You need to modify this so it is formatted as a LaTeX short code.

$latex \int\limits_1^3 {\frac{{{{{e^3}} \mathord{\left/
 {\vphantom {{{e^3}} x}} \right.
 \kern-\nulldelimiterspace} x}}}{{{x^2}}}} dx$

Here the how it renders in WordPress:
\int\limits_1^3 {\frac{{{{{e^3}} \mathord{\left/  {\vphantom {{{e^3}} x}} \right.  \kern-\nulldelimiterspace} x}}}{{{x^2}}}} dx

You can modify the size by appending the s=X code:

$latex \int\limits_1^3 {\frac{{{{{e^3}} \mathord{\left/
 {\vphantom {{{e^3}} x}} \right.
 \kern-\nulldelimiterspace} x}}}{{{x^2}}}} dx&s=2$

\int\limits_1^3 {\frac{{{{{e^3}} \mathord{\left/  {\vphantom {{{e^3}} x}} \right.  \kern-\nulldelimiterspace} x}}}{{{x^2}}}} dx

One problem with the default LaTeX display is that it assumes you are writing an inline equation and so it does things like make fractions smaller. You can fix this by adding the displaystyle code:

$latex \displaystyle 
 \int\limits_1^3 {\frac{{{{{e^3}} \mathord{\left/
 {\vphantom {{{e^3}} x}} \right.
 \kern-\nulldelimiterspace} x}}}{{{x^2}}}} dx$

The example below uses the displaystyle code and is formatted with better proportions then the inline style.

\displaystyle  \int\limits_1^3 {\frac{{{{{e^3}} \mathord{\left/  {\vphantom {{{e^3}} x}} \right.  \kern-\nulldelimiterspace} x}}}{{{x^2}}}} dx

See Also

1 thought on “WordPress Equations

  1. For example, the simplistic model of the Solar System as a group of point-plenty orbiting round
    one other, much heavier, level-mass, is extremely helpful https://math-problem-solver.com/ .
    It is very most likely that she or he has studied
    a number of courses as much as a graduate degree.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s