Note: Some commands and symbols presented here require WPMathPub v3.0.5 (released!)
The WPMathPub plugin is built around the pmath shortcode block. More details and examples here>
pmath tag parameters
Enter a shortcode block like this…
[pmath size-control color-control pmath-syntax-processing]y=mx^2+b[/pmath]
Demonstration of color, size, native vs. LaTeX parameters
Enter this shortcode…
[pmath color=”#009900″ size=16]y=mx^2+2[/pmath]
[pmath color=”gray” size=20]y=mx^2+2[/pmath]
[pmath color=”red” size=14 latex=1]y=mx^2+2[/pmath]
The result looks like this …



WPMathPub Syntax: Table of Contents
Description
PMath Command
[pmath]
PMath Command
[/pmath]
PMath Command
[/pmath]
[pmath color="#ffffff"]
PMath Command
[/pmath] on #1a3a4a
PMath Command
[/pmath] on #1a3a4a
LaTeX Command
[pmath latex=1]
LaTeX Command
[/pmath]
LaTeX Command
[/pmath]
Notes
Usual commands
Superscript
x^2

x^2
Subscript
x_2

x_2
Superscript group
x^{a+b}

x^{a+b}
Subscript group
x_{a+b}

x_{a+b}
Fraction
{x+y}/{z}

\frac{x+y}{z}
Addition
x+y

x+y
Subtraction
x-y

x-y
Multiplication (cross)
x times y

x \times y
Multiplication (dot)
x cdot y

x \cdot y
Division / inline fraction
x/y

\frac{x}{y}
Equality
x=y

x=y
Less than and greater than
x lt gt y

x \lt \gt y
Not equal
x!=y

x \ne y
Greater than
x y gt

x \gt y
Greater than or equal
x ge

x \ge y
Less than
x lt y

x \lt y
Less than or equal
x le y

x \le y
Prime / first derivative
f prime

f^{\prime}
Double prime / second derivative
f prime prime

f^{\prime\prime}
Brackets and Parentheses
Round brackets — direct
(x)

\left(x\right)
Square brackets
delim{[}{x+y}{]}![delim{[}{x+y}{]} delim{[}{x+y}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_91a3e0629555094cb818af25910a0216.png)
![delim{[}{x+y}{]} delim{[}{x+y}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_c5710122af3784d4bf3dc80e5cfd0c2d.png)
\left[ x+y \right]![delim{[}{x+y}{]} delim{[}{x+y}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_91a3e0629555094cb818af25910a0216.png)
Absolute value
delim{|}{x+y}{|}

\left| x+y \right|
Curly braces
delim{lbrace}{x+y}{rbrace}

\left\{ x+y \right\}
Left curly brace standalone
lbrace

\{
Right curly brace standalone
rbrace

\}
Silent curly braces
a{b}

a{b}
Half-open interval
delim{]}{x}{]}![delim{]}{x}{]} delim{]}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_4489de8f593ba63a98b5125b76b1bb29.png)
![delim{]}{x}{]} delim{]}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_1fbdf5bc3ae9134c9f1be46cbf0fa0d4.png)
\left]x\right]![delim{]}{x}{]} delim{]}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_4489de8f593ba63a98b5125b76b1bb29.png)
Half-open interval
delim{[}{x}{[}

\left[x\right[
Open interval
delim{]}{x}{[}![delim{]}{x}{[} delim{]}{x}{[}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_d8b879221e8a2868245f5133843e2156.png)
![delim{]}{x}{[} delim{]}{x}{[}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_cbda62a08c9c32ce1afe36fab7aaf061.png)
\left]x\right[![delim{]}{x}{[} delim{]}{x}{[}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_d8b879221e8a2868245f5133843e2156.png)
Math space
Thin space
a~b

a\,b
Greek letters
alpha
alpha

\alpha
beta
beta

\beta
gamma
gamma

\gamma
delta
delta

\delta
epsilon
epsilon

\epsilon
varepsilon
varepsilon

\varepsilon
zeta
zeta

\zeta
eta
eta

\eta
theta
theta

\theta
vartheta
vartheta

\vartheta
iota
iota

\iota
kappa
kappa

\kappa
nu
nu

\nu
xi
xi

\xi
varpi
varpi

\varpi
varrho
varrho

\varrho
varsigma
varsigma

\varsigma
upsilon
upsilon

\upsilon
varphi
varphi

\varphi
Xi
Xi

\Xi
Upsilon
Upsilon

\Upsilon
Symbols
Plus or minus
pm

\pm
Times
times

\times
Centered dot
cdot

\cdot
Bullet
bullet

\bullet
Because
because

\because
Therefore
therefore

\therefore
Less than or equal
le

\le
Greater than or equal
ge

\ge
Less than
lt

\lt
Greater than
gt

\gt
Not equal
ne

\ne
Approximately equal
approx

\approx
Does not exist
notexists

\nexists
Not element of
notin

\notin
Prime symbol
prime

x'
Vertical bar
vert

\vert
Backslash
backslash

\backslash
Vertical ellipsis
vdots

\vdots
Used in matrices
Diagonal ellipsis
ddots

\ddots
Used in matrices
Not subset
notsubset

\not\subset
Trigonometry
arc sine
arcsin

\arcsin
arc cosine
arccos

\arccos
hyperbolic cosine
cosh

\cosh
hyperbolic tangent
tanh

\tanh
secant
sec

\sec
cosecant
csc

\csc
cotangent
cot

\cot
hyperbolic cotangent
coth

\coth
Math operators
dimension
dim

\dim
maximum
max

\max
minimum
min

\min
degree
deg

\deg
base-2 logarithm
lg

\lg
Arrows
left arrow
left

\leftarrow
right arrow
right

\rightarrow
left-right arrow
leftright

\leftrightarrow
double left arrow
doubleleft

\Leftarrow
north-east arrow
nearrow

\nearrow
south-east arrow
searrow

\searrow
Sets
not subset
notsubset

\not\subset
not element of
notin

\notin
Roots
Limits
Constructions
overline above expression
overline{x}

\overline{x}
underline below expression
underline{x}

\underline{x}
label placed below base expression
{a}under{b}

\underset{a}{b}
label placed above base expression
{a}over{b}

\overset{a}{b}
Pseudo bold
pmb{x}

\pmb{x}
Image-overprint technique — any one symbol
italic free-form text
mathit{Share Enjoy}

\mathit{Share Enjoy}
Renders text in italic — spaces preserved
upright free-form text
text{Share Enjoy}

\text{Share Enjoy}
Renders text upright (Latin Modern Roman) — new in v3.0.5
upright text (\mathrm alias)
text{const}

\mathrm{const}
Same as
\text{}; for legacy \mathrm documentsupright text (\mbox alias)
text{const}

\mbox{const}
Same as
\text{}; for legacy \mbox documentsBig operators
double integral
doubleint{a}{b}{x}

\iint_{a}^{b}x
triple integral
tripleint{a}{b}{x}

\iiint_{a}^{b}x
big union
bigcup{a}{b}{x}

\bigcup_{a}^{b}x
big intersection
bigcap{a}{b}{x}

\bigcap_{a}^{b}x
Delimiters
square bracket delimiters
delim{[}{expr}{]}![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_adc21bc959743a15dc505267f693d89e.png)
![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_11277f59423eef6ba7192612d084cd18.png)
\left[ expr \right]![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_adc21bc959743a15dc505267f693d89e.png)
absolute value delimiters
delim{|}{expr}{|}

\left| expr \right|
curly brace delimiters
delim{lbrace}{expr}{rbrace}

\left\{ expr \right\}
round bracket delimiters
(expr)

\left( expr \right)
square brackets (unary)
delim{[}{x}{]}![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_adc21bc959743a15dc505267f693d89e.png)
![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_11277f59423eef6ba7192612d084cd18.png)
\left[x\right]![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_adc21bc959743a15dc505267f693d89e.png)
absolute value (unary)
delim{|}{x}{|}

\left|x\right|
curly braces (unary)
delim{lbrace}{x}{rbrace}

\left\{x\right\}
double bar (unary)
delim{vert}{x}{vert}

\left\|x\right\|
matrix with one left brace
delim{lbrace}{matrix{2}{1}{{a}{b}}}{~}

\left\{ \begin{matrix} a \\ b \end{matrix}
matrix with square brackets
delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]}![delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]} delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_981_b410457ea253a0bb7b5b9b3bce2a1e16.png)
![delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]} delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_981_92f322ceb823c37d06c71c2ec786c971.png)
\left[ \begin{matrix} a & b \\ c & d \end{matrix} \right]![delim{[}{matrix{2}{2}{{a} {b} {c} {d}}}{]} delim{[}{matrix{2}{2}{{a} {b} {c} {d}}}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_981_24d43e731896d036f2cce633b8fd9063.png)
determinant form
delim{|}{matrix{2}{2}{{a}{b}{c}{d}}}{|}

\left| \begin{matrix} a & b \\ c & d \end{matrix} \right|
Matrix
matrix{num of lines}{num of columns}{first_element … last_element}
2×3 matrix example
matrix{2}{3}{a b c d e f}

\begin{matrix}a & b & c \\ d & e & f\end{matrix}
2×2 matrix with brackets
delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]}![delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]} delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_981_b410457ea253a0bb7b5b9b3bce2a1e16.png)
![delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]} delim{[}{matrix{2}{2}{{a}{b}{c}{d}}}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_981_92f322ceb823c37d06c71c2ec786c971.png)
\left[ \begin{matrix} a & b \\ c & d \end{matrix} \right]![delim{[}{matrix{2}{2}{{a} {b} {c} {d}}}{]} delim{[}{matrix{2}{2}{{a} {b} {c} {d}}}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_981_24d43e731896d036f2cce633b8fd9063.png)
square brackets (unary)
delim{[}{x}{]}![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_adc21bc959743a15dc505267f693d89e.png)
![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_11277f59423eef6ba7192612d084cd18.png)
\left[x\right]![delim{[}{x}{]} delim{[}{x}{]}](https://www.biophysicslab.com/wp-content/uploads/wpmathpub/math-img/math_993_adc21bc959743a15dc505267f693d89e.png)
absolute value (unary)
delim{|}{x}{|}

\left|x\right|
curly braces (unary)
delim{lbrace}{x}{rbrace}

\left\{x\right\}
double bar (unary)
delim{vert}{x}{vert}

\left\|x\right\|
matrix with one left brace
delim{lbrace}{matrix{2}{1}{{a}{b}}}{~}

\left\{ \begin{matrix} a \\ b \end{matrix}
Piecewise functions and case notation
determinant (matrix with pipes)
delim{|}{matrix{2}{2}{{a}{b}{c}{d}}}{|}

\left| \begin{matrix} a & b \\ c & d \end{matrix} \right|
Tabular
tabular{lines description}{columns description}{first_element … last_element}
table 2 lines x 3 columns inner bars shown
tabular{111}{1111}{a b c d e f}

\begin{tabular}{|l|l|l|} \hline a & b & c \\ \hline d & e & f \\ \hline \end{tabular}
table 3 lines x 2 columns inner bars hidden
tabular{1001}{101}{1 2 3 4 5 6}

\begin{tabular}{|ll|} \hline 1 & 2 \\ 3 & 4 \\ 5 & 6 \\ \hline \end{tabular}










































































































































