WPMathPub Syntax

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 …

y=mx^2+2

y=mx^2+2

y=mx^2+2

WPMathPub Syntax: Table of Contents

Command
[pmath]
Command
[/pmath]
[pmath color=”yellow”]
Command
[/pmath] on black
LaTeX Command
[pmath latex=1]
LaTeX Command
[/pmath]
Notes
Usual commands
x+y
x+y
x+y
\x+y
x+y
x-y
x-y
x-y
x-y
x-y
x*y
x*y
x*y
x \cdot y
x * y
x/y
x/y
x/y
\frac{x}{y}
{{x}/{y}}
x^y
x^y
x^y
x^y
x^y
x_y
x_y
x_y
x_y
x_y
x=y
x=y
x=y
x=y
x=y
x lt gt y
x lt gt y
x lt gt y
x \lt \gt y
x lt gt y
x!=y
x ne y
x ne y
x \ne y
x ne y
x y gt
x y gt
x y gt
x \gt y
x gt y
x ge
x ge
x ge
x \ge y
x ge y
x lt y
x lt y
x lt y
x \lt y
x lt y
x le y
x le y
x le y
x \le y
x le y
Parenthesis
(x)
(x)
(x)
\left(x\right)
(x)
lbrace x rbrace
lbrace x rbrace
lbrace x rbrace
\left\{x\right\}
lbrace x rbrace
Math space
a~b
a~b
a~b
a~b
a~b
Greek letters
alpha
alpha
alpha
\alpha
alpha
beta
beta
beta
\beta
beta
gamma
gamma
gamma
\gamma
gamma
delta
delta
delta
\delta
delta
epsilon
epsilon
epsilon
\epsilon
epsilon
varepsilon
varepsilon
varepsilon
\varepsilon
varepsilon
zeta
zeta
zeta
\zeta
zeta
eta
eta
eta
\eta
eta
theta
theta
theta
\theta
theta
vartheta
vartheta
vartheta
\vartheta
vartheta
iota
iota
iota
\iota
iota
kappa
kappa
kappa
\kappa
kappa
lambda
lambda
lambda
\lambda
lambda
mu
mu
mu
\mu
mu
nu
nu
nu
\nu
nu
xi
xi
xi
\xi
xi
pi
pi
pi
\pi
pi
varpi
varpi
varpi
\varpi
varpi
rho
rho
rho
\rho
rho
varrho
varrho
varrho
\varrho
varrho
sigma
sigma
sigma
\sigma
sigma
varsigma
varsigma
varsigma
\varsigma
varsigma
tau
tau
tau
\tau
tau
upsilon
upsilon
upsilon
\upsilon
upsilon
phi
phi
phi
\phi
phi
varphi
varphi
varphi
\varphi
varphi
chi
chi
chi
\chi
chi
psi
psi
psi
\psi
psi
psi history and use: Overview
omega
omega
omega
\omega
omega
omega: Overview
Gamma
Gamma
Gamma
\Gamma
Gamma
Lambda
Lambda
Lambda
\Lambda
Lambda
Sigma
Sigma
Sigma
\Sigma
Sigma
Psi
Psi
Psi
\Psi
Psi
Psi history and use: Overview
Delta
Delta
Delta
\Delta
Delta
Xi
Xi
Xi
\Xi
Xi
Upsilon
Upsilon
Upsilon
\Upsilon
Upsilon
Omega
Omega
Omega
\Omega
Omega
Omega: Overview
Theta
Theta
Theta
\Theta
Theta
Pi
Pi
Pi
\Pi
Pi
Phi
Phi
Phi
\Phi
Phi
Symbols
infty
infty
infty
\infty
infty
Infinity: Overview
del
del
del
\nabla
del
Del operator: Overview
notin
notin
notin
\notin
notin
forall
forall
forall
\forall
forall
exists
exists
exists
\exists
exists
notexists
notexists
notexists
\nexists
notexists
partial
partial
partial
\partial
partial
Partial derivative: Overview
hbar
hbar
hbar
\hbar
hbar
Reduced Planck constant: History
approx
approx
approx
\approx
approx
pm
pm
pm
\pm
pm
inter
inter
inter
\cap
inter
union
union
union
\cup
union
ortho
ortho
ortho
\perp
ortho
parallel
parallel
parallel
\parallel
parallel
backslash
backslash
backslash
\backslash
backslash
prime
prime
prime
x'
x'
wedge
wedge
wedge
\wedge
wedge
vert
vert
vert
\vert
vert
lbrace
lbrace
lbrace
\{
lbrace
rbrace
rbrace
rbrace
\}
rbrace
circ
circ
circ
\circ
circ
varnothing
varnothing
varnothing
\varnothing
varnothing
subset
subset
subset
\subset
subset
notsubset
notsubset
notsubset
\not\subset
notsubset
cdots
cdots
cdots
\cdots
cdots
Ellipsis (and so forth): Overview
vdots
vdots
vdots
\vdots
vdots
Vertical ellipsis:
ddots
ddots
ddots
\ddots
ddots
Diagonal ellipsis:
Arrows
left
left
left
\leftarrow
left
right
right
right
\rightarrow
right
leftright
leftright
leftright
\leftrightarrow
leftright
doubleleft
doubleleft
doubleleft
\Leftarrow
doubleleft
doubleright
doubleright
doubleright
\Rightarrow
doubleright
doubleleftright
doubleleftright
doubleleftright
\Leftrightarrow
doubleleftright
nearrow
nearrow
nearrow
\nearrow
nearrow
searrow
searrow
searrow
\searrow
searrow
Sets
bbR
bbR
bbR
\mathbb{R}
bbR
bbN
bbN
bbN
\mathbb{N}
bbN
bbZ
bbZ
bbZ
\mathbb{Z}
bbZ
bbC
bbC
bbC
\mathbb{C}
bbC
Roots
sqrt{a}
sqrt{a}
sqrt{a}
\sqrt{a}
sqrt{a}
root{n}{a}
root{n}{a}
root{n}{a}
\sqrt[n]{a}
root{n}{a}
Limits
lim{a}{x}
lim{a}{x}
lim{a}{x}
\lim_{x\to a}
lim{a}{x}
Big operators
int{a}{b}{x}
int{a}{b}{x}
int{a}{b}{x}
\int_{a}^{b}x
int{a}{b}{x}
Integral: Overview
doubleint{a}{b}{x}
doubleint{a}{b}{x}
doubleint{a}{b}{x}
\iint_{a}^{b}x
doubleint{a}{b}{x}
tripleint{a}{b}{x}
tripleint{a}{b}{x}
tripleint{a}{b}{x}
\iiint_{a}^{b}x
tripleint{a}{b}{x}
oint{a}{b}{x}
oint{a}{b}{x}
oint{a}{b}{x}
\oint_{a}^{b}x
oint{a}{b}{x}
Line integral: Overview
sum{a}{b}{x}
sum{a}{b}{x}
sum{a}{b}{x}
\sum_{a}^{b}x
sum{a}{b}{x}
prod{a}{b}{x}
prod{a}{b}{x}
prod{a}{b}{x}
\prod_{a}^{b}x
prod{a}{b}{x}
bigcup{a}{b}{x}
bigcup{a}{b}{x}
bigcup{a}{b}{x}
\bigcup_{a}^{b}x
bigcup{a}{b}{x}
bigcap{a}{b}{x}
bigcap{a}{b}{x}
bigcap{a}{b}{x}
\bigcap_{a}^{b}x
bigcap{a}{b}{x}
Delimiters
delim{[}{x}{]}
delim{[}{x}{]}
delim{[}{x}{]}
\left[x\right]
delim{[}{x}{]}
delim{]}{x}{]}
delim{]}{x}{]}
delim{]}{x}{]}
\left]x\right]
delim{]}{x}{]}
delim{[}{x}{[}
delim{[}{x}{[}
delim{[}{x}{[}
\left[x\right[
delim{[}{x}{[}
delim{]}{x}{[}
delim{]}{x}{[}
delim{]}{x}{[}
\left]x\right[
delim{]}{x}{[}
delim{lbrace}{x}{rbrace}
delim{lbrace}{x}{rbrace}
delim{lbrace}{x}{rbrace}
\left\{x\right\}
lbrace x rbrace
delim{|}{x}{|}
delim{|}{x}{|}
delim{|}{x}{|}
\left|x\right|
delim{|}{x}{|}
delim{vert}{x}{vert}
delim{vert}{x}{vert}
delim{vert}{x}{vert}
\left\|x\right\|
delim{vert}{x}{vert}
Matrix
matrix{num of lines}{num of columns}{first_element … last_element}
Example
 
 
 
matrix{2}{3}{a b c d e f}
matrix{2}{3}{a b c d e f}
matrix{2}{3}{a b c d e f}
\begin{matrix}a & b & c \\ d & e & f\end{matrix}
matrix{2}{3}{a b c d e f}
Tabular
tabular{lines description}{columns description}{first_element … last_element}
lines description
columns description
Examples
 
 
 
tabular{111}{1111}{a b c d e f}
(2 lines & 3 columns)
tabular{111}{1111}{a b c d e f}
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}
tabular{111}{1111}{a b c d e f}
tabular{1001}{101}{1 2 3 4 5 6}
(3 lines & 2 columns)
tabular{1001}{101}{1 2 3 4 5 6}
tabular{1001}{101}{1 2 3 4 5 6}
\begin{tabular}{|ll|} \hline 1 & 2 \\ 3 & 4 \\ 5 & 6 \\ \hline \end{tabular}
tabular{1001}{101}{1 2 3 4 5 6}
Constructions
vec{express}
vec{express}
vec{express}
\vec{express}
vec{express}
{express}under{foo}
{express}under{foo}
{express}under{foo}
\underset{foo}{express}
{express}under{foo}
{express}over{foo}
{express}over{foo}
{express}over{foo}
\overset{foo}{express}
{express}over{foo}
overline{express}
overline{express}
overline{express}
\overline{express}
overline{express}
underline{express}
underline{express}
underline{express}
\underline{express}
underline{express}
hat{express}
hat{express}
hat{express}
\hat{express}
hat{express}