Please disable Adblockers and enable JavaScript for domain CEWebS.cs.univie.ac.at! We have NO ADS, but they may interfere with some of our course material.

Διδακτικη and itex2MML (up)

Διδακτικη is this wiki, pronounced Didaktiki, and documented by many. 
itex2MML is a parser which translates itex-code (LaTex similar code) to MML, the mathematics markup language. 
The following Fonts have to be installed: «https://developer.mozilla.org/en/Mozilla_MathML_Project/Fonts». 
 
 
The text below was copied from «Instiki's page» to CEWebS' Didaktiki, it was reorganized, parsed and put into shape to show similarities and differences of the itex implementation, i.e., you should see the commands which work and which don't. Examples added by CC, some are taken from the AMSTeX documentation. 

Basics (up)

«itex2MML»'s notation is similar to LaTeX's basic math symbols nd commands, but differs in many things: You cannot define macros, the array environment has a different syntax, and some basics like \hbox and \mbox can't be used. 
 
To obtain the mathematical symbols and formulas in Διδακτικη (Didaktiki) you have to put the itex-code either in between two $ signs (inline), or, to get a centered formula, in between an \[ - \] pair on a single line(!!), just like in plain LaTeX. 
 
The following code 
 
A simple formula like $a^2+b^2=c^2$ does not always hold
but a centered formula may look nice:
\[\sum_{k=1}^n k=\frac{n\cdot(n+1)}{2}\]
 
is parsed by Didaktiki using itex and renders 
 
A simple formula like a 2+b 2=c 2a^2+b^2=c^2 does not always hold 
but a centered formula may look nice: 
k=1 nk=n(n+1)2\sum_{k=1}^n k=\frac{n\cdot(n+1)}{2}
 

Greek Letters (up)

α,β,γ,δ,ε,϶,ε,ζ,η,θ,ϑ,ι,κ,ϰ,λ,μ,ν,ξ,,π,ϖ,ρ,ϱ,σ,ς,τ,υ,ϕ,φ,χ,ψ,ω,Α,Β,Γ,Δ,Ζ,Η,Θ,Ι,Κ,Λ,Μ,Ν,Ξ,Π,Ρ,Σ,Τ,ϒ=ϒ,Φ,Ψ,Ω,\alpha, \beta, \gamma, \delta, \epsilon, \backepsilon, \varepsilon, \zeta, \eta, \theta, \vartheta, \iota, \kappa, \varkappa, \lambda, \mu, \nu, \xi, \omicron, \pi, \varpi, \rho, \varrho, \sigma, \varsigma, \tau, \upsilon, \phi, \varphi, \chi, \psi, \omega, \Alpha, \Beta, \Gamma, \Delta, \Zeta, \Eta, \Theta, \Iota, \Kappa, \Lambda, \Mu, \Nu, \Xi, \Pi, \Rho, \Sigma, \Tau, \Upsilon = \Upsi, \Phi, \Psi, \Omega, \mho  
 
 
\Alpha, \alpha
Α,α\Alpha, \alpha
\Xi, \xi
Ξ,ξ\Xi, \xi
\Beta, \beta
Β,β\Beta, \beta
O, \omicron
O, O, \omicron
\Gamma, \gamma
Γ,γ\Gamma, \gamma
\Pi, \pi
Π,π\Pi, \pi
\Delta, \delta
Δ,δ\Delta, \delta
\varpi
ϖ\varpi
\Epsilon, \epsilon
Epsilon,ε\Epsilon, \epsilon
\Rho, \rho
Ρ,ρ\Rho, \rho
\varepsilon
ε\varepsilon
\varrho,
ϱ,\varrho,
\Zeta, \zeta
Ζ,ζ\Zeta, \zeta
\Sigma, \sigma
Σ,σ\Sigma, \sigma
\Eta, \eta
Η,η\Eta, \eta
\varsigma
ς\varsigma
\Theta, \theta
Θ,θ\Theta, \theta
\Tau, \tau
Τ,τ\Tau, \tau
\vartheta
ϑ\vartheta
\Upsilon, \upsilon
ϒ,υ\Upsilon, \upsilon
\Iota, \iota
Ι,ι\Iota, \iota
\Phi, \phi
Φ,ϕ\Phi, \phi
\Kappa, \kappa
Κ,κ\Kappa, \kappa
\varphi
φ\varphi
\varkappa
ϰ\varkappa
X, \chi
X,χX, \chi
\Lambda, \lambda
Λ,λ\Lambda, \lambda
\Psi, \psi
Ψ,ψ\Psi, \psi
\Mu, \mu
Μ,μ\Mu, \mu
\Omega, \omega
Ω,ω\Omega,\omega
\Nu, \nu
Ν,ν\Nu, \nu
\backepsilon
϶\backepsilon
 

Symbols (up)

,,,,ı,ȷ,ð,,,=,=\aleph,\beth,\ell,\hbar,\Im\imath,\jmath,\eth,\Re,\wp,\infty=\infinity,\emptyset =\varnothing 
 
\aleph
\aleph
\beth
\beth
\ell
\ell
\hbar
\hbar
\Im
\Im
\imath
ı \imath
\jmath
ȷ \jmath
\eth
ð \eth
\Re
\Re
\wp
\wp
\infty=\infinity
= \infty=\infinity
\emptyset =\varnothing
= \emptyset =\varnothing
\digamma
ϝ \digamma
 

Mathematical Functions (up)

arccos,arcsin,arctan,arg,cos,cosh,cot,coth,csc,deg,det,dim,exp,gcd,inf,hom,ker,lg,lim,liminf,limsup,ln,log,max,min,mod,(mod5),Pr,sec,sin,sinh,sup,tan,tanh\arccos,\arcsin,\arctan,\arg,\cos,\cosh,\cot,\coth,\csc,\deg,\det,\dim,\exp,\gcd,\inf,\hom,\ker,\lg,\lim,\liminf,\limsup,\ln,\log,\max,\min,\mod,\pmod5,\Pr,\sec,\sin,\sinh,\sup,\tan,\tanh  
 
 
\arccos
arccos\arccos
\lg
lg\lg
\arcsin
arcsin\arcsin
\lim
lim\lim
\arctan
arctan\arctan
\liminf
liminf\liminf
\arg
arg\arg
\limsup
limsup\limsup
\cos
cos\cos
\ln
ln\ln
\cosh
cosh\cosh
\log
log\log
\cot
cot\cot
\max
max\max
\coth
coth\coth
\min
min\min
\csc
csc\csc
\mod
mod\mod
\deg
deg\deg
\pmod{5}
(mod5)\pmod{5}
\det
det\det
\Pr
Pr\Pr
\dim
dim\dim
\sec
sec\sec
\exp
exp\exp
\sin
sin\sin
\gcd
gcd\gcd
\sinh
sinh\sinh
\inf
inf\inf
\sup
sup\sup
\hom
hom\hom
\tan
tan\tan
\ker
ker\ker
\tanh
tanh\tanh
 

Arrows (up)

\rightarrow
\rightarrow
\leftsquigarrow
\leftsquigarrow
\to
\to
\rightsquigarrow
\rightsquigarrow
\longrightarrow
\longrightarrow
\leftrightsquigarrow
\leftrightsquigarrow
\Rightarrow
\Rightarrow
\upuparrows
\upuparrows
\implies
\implies
\rightleftarrows
\rightleftarrows
\hookrightarrow
\hookrightarrow
\rightrightarrows
\rightrightarrows
\embedsin
\embedsin
\dashleftarrow
\dashleftarrow
\mapsto
\mapsto
\dashrightarrow
\dashrightarrow
\map
\map
\curvearrowleft
\curvearrowleft
\leftarrow
\leftarrow
\curvearrowbotright
\curvearrowbotright
\longleftarrow
\longleftarrow
\downdownarrows
\downdownarrows
\Leftarrow
\Leftarrow
\leftleftarrows
\leftleftarrows
\impliedby
\impliedby
\leftrightarrows
\leftrightarrows
\hookleftarrow
\hookleftarrow
\righttoleftarrow
\righttoleftarrow
\leftrightarrow
\leftrightarrow
\lefttorightarrow
\lefttorightarrow
\Leftrightarrow
\Leftrightarrow
\circlearrowleft
\circlearrowleft
\Longleftrightarrow
\Longleftrightarrow
\circlearrowright
\circlearrowright
\iff
\iff
\curvearrowright
\curvearrowright
\nearrow
\nearrow
\leftarrowtail
\leftarrowtail
\nearr
\nearr
\rightarrowtail
\rightarrowtail
\nwarrow
\nwarrow
\leftrightsquigarrow
\leftrightsquigarrow
\nwarr
\nwarr
\Lleftarrow
\Lleftarrow
\searrow
\searrow
\Rrightarrow
\Rrightarrow
\searr
\searr
\looparrowleft
\looparrowleft
\swarrow
\swarrow
\looparrowright
\looparrowright
\swarr
\swarr
\Lsh
\Lsh
\neArrow
\neArrow
\Rsh
\Rsh
\neArr
\neArr
\twoheadleftarrow
\twoheadleftarrow
\nwArrow
\nwArrow
\twoheadrightarrow
\twoheadrightarrow
\nwArr
\nwArr
\nLeftarrow
\nLeftarrow
\seArrow
\seArrow
\nleftarrow
\nleftarrow
\seArr
\seArr
\nLeftrightarrow
\nLeftrightarrow
\swArrow
\swArrow
\nleftrightarrow
\nleftrightarrow
\swArr
\swArr
\nRightarrow
\nRightarrow
\darr
\darr
\nrightarrow
\nrightarrow
\Downarrow
\Downarrow
\downharpoonleft
\downharpoonleft
\uparr
\uparr
\downharpoonright
\downharpoonright
\Uparrow
\Uparrow
\leftrightharpoons
\leftrightharpoons
\downuparrow
\downuparrow
\rightleftharpoons
\rightleftharpoons
\duparr
\duparr
\upharpoonleft
\upharpoonleft
\updarr
\updarr
\upharpoonright
\upharpoonright
\Updownarrow
\Updownarrow

Delimiters (up)

(,),[,]
(,),[,] (,),[,]
\lfloor
\lfloor
\langle = \lang
= \langle = \lang
\rfloor
\rfloor
\rangle = \rang
= \rangle = \rang
\uparrow
\uparrow
\lbrace = \{
{={ \lbrace = \{
\downarrow
\downarrow
\rbrace = \}
}=} \rbrace = \}
\updownarrow
\updownarrow
\lceil
\lceil
\vert = |,
|=|, \vert = |,
\rceil
\rceil
\Vert = \|
= \Vert = \|
In TeX, delimiters are non-stretchy, by default. Stretchy delimiters are obtained with \left<delim> and \right<delim>. Each \left<delim> must be matched with a corresponding \right<delim>. If you don't want a visible matching delimiter, you can match with the invisible delimiters, \left. and \right. . 
 
Fixed-size large delimiters are generated with the modifiers 
 
\big    \Big    \bigg    \Bigg
\bigl   \Bigl   \biggl   \Biggl
\bigr   \Bigr   \biggr   \Biggr
 
For example, \Biggr) generates )\Biggr), a very large (3× natural size) right parenthesis; \bigl\vert generates |\bigl\vert, a large (1.2× natural size) left vertical bar. 
 

Operators (up)

\amalg
⨿ \amalg
\angle
\angle
\measuredangle
\measuredangle
\sphericalangle
\sphericalangle
\approx
\approx
\approxeq
\approxeq
\thickapprox
\thickapprox
\ast
* \ast
\asymp
\asymp
\backslash
\ \backslash
\because
\because
\between
\between
\bottom = \bot
= \bottom = \bot
\boxminus = \minusbox
=minusbox \boxminus = \minusbox
\boxplus = \plusbox
=plusbox \boxplus = \plusbox
\boxtimes = \timesbox
=timesbox \boxtimes = \timesbox
\boxdot
\boxdot
\bowtie
\bowtie
\bullet
\bullet
\cap = \intersection
= \cap = \intersection
\cup = \union
= \cup = \union
\Cap
\Cap
\Cup
\Cup
\cdot
\cdot
\circledast
\circledast
\circledcirc
\circledcirc
\clubsuit
\clubsuit
\curlyvee
\curlyvee
\curlywedge
\curlywedge
\diamondsuit
\diamondsuit
\divideontimes
\divideontimes
\dotplus
\dotplus
\heartsuit
\heartsuit
\spadesuit
\spadesuit
\circ
\circ
\bigcirc
\bigcirc
\cong
\cong
\ncong
\ncong
\dagger
\dagger
\ddagger
\ddagger
\dashv
\dashv
\Vdash
\Vdash
\vDash
\vDash
\nvDash
\nvDash
\VDash
\VDash
\nVDash
\nVDash
\vdash
\vdash
\nvdash
\nvdash
\Vvdash
\Vvdash
\Diamond
\Diamond
\diamond
\diamond
\div
÷ \div
\equiv
\equiv
\nequiv
\nequiv
\eqcirc
\eqcirc
\neq = \ne
= \neq = \ne
\Bumpeq
\Bumpeq
\bumpeq
\bumpeq
\circeq
\circeq
\doteq
\doteq
\doteqdot
\doteqdot
\fallingdotseq
\fallingdotseq
\risingdotseq
\risingdotseq
\exists
\exists
\nexists
\nexists
\flat
\flat
\forall
\forall
\frown
\frown
\smallfrown
\smallfrown
\gt
> \gt
\ngtr
\ngtr
\gg
\gg
\ggg
\ggg
\geq = \ge
= \geq = \ge
\ngeq
\ngeq
\geqq
\geqq
\ngeqq
≧̸ \ngeqq
\geqslant
\geqslant
\ngeqslant
⩾̸ \ngeqslant
\eqslantgtr
\eqslantgtr
\gneq
\gneq
\gneqq
\gneqq
\gnapprox
\gnapprox
\gnsim
\gnsim
\gtrapprox
\gtrapprox
\gtrsim
\gtrsim
\gtrdot
\gtrdot
\gtreqless
\gtreqless
\gtreqqless
\gtreqqless
\gtrless
\gtrless
\gvertneqq
≩︀ \gvertneqq
\in
\in
\notin
\notin
\ni
\ni
\notni
\notni
\intercal
\intercal
\invamp = \parr
= \invamp = \parr
\lhd
\lhd
\unlhd
\unlhd
\leftthreetimes
\leftthreetimes
\rightthreetimes
\rightthreetimes
\lt
< \lt
\nless
\nless
\ll
\ll
\lll
\lll
\leq = \le
= \leq = \le
\nleq
\nleq
\leqq
\leqq
\nleqq
≦̸ \nleqq
\leqslant
\leqslant
\nleqslant
⩽̸ \nleqslant
\eqslantless
\eqslantless
\lessapprox
\lessapprox
\lessdot
\lessdot
\lesseqgtr
\lesseqgtr
\lesseqqgtr
\lesseqqgtr
\lessgtr
\lessgtr
\lesssim
\lesssim
\lnapprox
\lnapprox
\lneq
\lneq
\lneqq
\lneqq
\lnsim
\lnsim
\ltimes
\ltimes
\lvertneqq
≨︀ \lvertneqq
\lozenge
\lozenge
\blacklozenge
\blacklozenge
\mid = \shortmid
= \mid = \shortmid
\nmid
\nmid
\nshortmid
\nshortmid
\models
\models
\multimap
\multimap
\nabla = \Del
= \nabla = \Del
\natural
\natural
\not = \neg
¬=¬ \not = \neg
\odot
\odot
\odash = \circleddash
= \odash = \circleddash
\otimes
\otimes
\oplus
\oplus
\ominus
\ominus
\oslash
\oslash
\parallel
\parallel
\nparallel
\nparallel
\shortparallel
\shortparallel
\nshortparallel
\nshortparallel
\partial
\partial
\Perp = \Vbar
= \Perp = \Vbar
\perp
\perp
\pitchfork
\pitchfork
\pm
± \pm
\mp
\mp
\prec
\prec
\nprec
\nprec
\precapprox
\precapprox
\precnapprox
\precnapprox
\preceq
\preceq
\npreceq
⪯̸ \npreceq
\preccurlyeq
\preccurlyeq
\curlyeqprec
\curlyeqprec
\precsim
\precsim
\precnsim
\precnsim
\prime
\prime
\backprime
\backprime
\propto
\propto
\varpropto
\varpropto
\rhd
\rhd
\unrhd
\unrhd
\rtimes
\rtimes
\setminus
\setminus
\smallsetminus
\smallsetminus
\sharp
\sharp
\sim
\sim
\nsim
\nsim
\backsim
\backsim
\simeq
\simeq
\backsimeq
\backsimeq
\thicksim
\thicksim
\smile
\smile
\smallsmile
\smallsmile
\sslash
\sslash
\subset
\subset
\nsubset
⊂⃒ \nsubset
\subseteq
\subseteq
\nsubseteq
\nsubseteq
\subseteqq
\subseteqq
\nsubseteqq
⫅̸ \nsubseteqq
\subsetneq
\subsetneq
\subsetneqq
\subsetneqq
\varsubsetneq
⊊︀ \varsubsetneq
\varsubsetneqq
⫋︀ \varsubsetneqq
\Subset
\Subset
\succ
\succ
\nsucc
\nsucc
\succeq
\succeq
\nsucceq
⪰̸ \nsucceq
\succapprox
\succapprox
\succnapprox
\succnapprox
\succcurlyeq
\succcurlyeq
\curlyeqsucc
\curlyeqsucc
\succsim
\succsim
\succnsim
\succnsim
\supset
\supset
\nsupset
⊃⃒ \nsupset
\supseteq
\supseteq
\nsupseteq
\nsupseteq
\supseteqq
\supseteqq
\supsetneq
\supsetneq
\supsetneqq
\supsetneqq
\varsupsetneq
⊋︀ \varsupsetneq
\varsupsetneqq
⫌︀ \varsupsetneqq
\Supset
\Supset
\square = \Box
= \square = \Box
\blacksquare = \qed
= \blacksquare = \qed
\sqcup
\sqcup
\sqcap
\sqcap
\sqsubset
\sqsubset
\sqsubseteq
\sqsubseteq
\sqsupset
\sqsupset
\sqsupseteq
\sqsupseteq
\star
\star
\bigstar
\bigstar
\therefore
\therefore
\times
× \times
\top
\top
\triangle
\triangle
\triangledown
\triangledown
\triangleleft
\triangleleft
\triangleright
\triangleright
\blacktriangle
\blacktriangle
\blacktriangledown
\blacktriangledown
\bigtriangleup
\bigtriangleup
\bigtriangledown
\bigtriangledown
\blacktriangleleft
\blacktriangleleft
\blacktriangleright
\blacktriangleright
\ntriangleleft
\ntriangleleft
\ntriangleright
\ntriangleright
\ntrianglelefteq
\ntrianglelefteq
\ntrianglerighteq
\ntrianglerighteq
\trianglelefteq
\trianglelefteq
\trianglerighteq
\trianglerighteq
\triangleq
\triangleq
\vartriangleleft
\vartriangleleft
\vartriangleright
\vartriangleright
\uplus
\uplus
\vee
\vee
\veebar
\veebar
\wedge
\wedge
\barwedge
\barwedge
\doublebarwedge
\doublebarwedge
\wr
\wr
\coloneqq
\coloneqq
\Coloneqq
\Coloneqq
\coloneq
∶− \coloneq
\Coloneq
∷− \Coloneq
\eqqcolon
\eqqcolon
\Eqqcolon
=∷ \Eqqcolon
\eqcolon
\eqcolon
\Eqcolon
−∷ \Eqcolon
\colonapprox
∶≈ \colonapprox
\Colonapprox
∷≈ \Colonapprox
\colonsim
∶∼ \colonsim
\Colonsim
∷∼ \Colonsim
\dblcolon
\dblcolon
In keeping with AMSLaTeX rater than MathML's conventions, \smallsetminus (? = U+FE68) is designated as a small (non-stretchy) reverse solidus, 
\backslash is a reverse solius (\ = U+05C). \setminus (\ = U+2216) is stretchy. 

Dots (up)

,,,,,,:\dots,\ldots,\cdots,\ddots,\udots,\vdots,\colon 
 
\dots
\dots
\ldots
\ldots
\cdots
\cdots
\ddots
\ddots
\udots
\udots
\vdots
\vdots
\colon
A:BA\colon B
While ":" is allowed in mathmode, it doesn't (neither in LaTeX nor in itex) produce the desired spacing for, e.g., f:A?B. Use \colon, instead. 

Large Math Operators and Integrals (up)

=,=,,=,=,,,=,=,=,=,,=,=,=,=,==\bigcup=\Union,\bigcap=\Intersection,\bigodot,\bigoplus=\Oplus,\bigotimes=\Otimes,\bigsqcup,\biguplus,\bigwedge=\Wedge, \bigvee = \Vee, \coprod = \coproduct, \prod = \product, \sum,\int =\integral,\iint=\doubleintegral,\iiint=\tripleintegral,\iiiint=\quadrupleintegral,\oint=\conint=\contourintegral 
 
\bigcup = \Union
= \bigcup = \Union
\coprod = \coproduct
= \coprod = \coproduct
\bigcap = \Intersection
= \bigcap = \Intersection
\prod = \product
= \prod = \product
\bigodot
\bigodot
\sum
\sum
\bigoplus = \Oplus
= \bigoplus = \Oplus
\int = \integral
= \int = \integral
\bigotimes = \Otimes
= \bigotimes = \Otimes
\iint = \doubleintegral
= \iint = \doubleintegral
\bigsqcup
\bigsqcup
\iiint = \tripleintegral
= \iiint = \tripleintegral
\biguplus
\biguplus
\iiiint = \quadrupleintegral
= \iiiint = \quadrupleintegral
\bigwedge = \Wedge
= \bigwedge = \Wedge
\oint = \conint = \contourintegral
== \oint = \conint = \contourintegral
\bigvee = \Vee
= \bigvee = \Vee

Sizes and Styles (up)

\displaystyle \frac{a}{b}
ab \displaystyle \frac{a}{b}
\textstyle \frac{a}{b}
ab \textstyle \frac{a}{b}
\textsize \frac{a}{b}
ab \textsize \frac{a}{b}
\scriptsize \frac{a}{b}
ab \scriptsize \frac{a}{b}
\scriptscriptsize\frac{a}{b}
ab \scriptscriptsize\frac{a}{b}
\mathit{A}
A \mathit{A}
\mathbf{A} = \boldsymbol{A}
A=A \mathbf{A} = \boldsymbol{A}
\mathrm{A}
A \mathrm{A}
\mathbb{A}
𝔸 \mathbb{A}
\mathfrak{A} = \mathfr{A}
𝔄=𝔄 \mathfrak{A} = \mathfr{A}
\mathcal{A}
𝒜 \mathcal{A}
\text{A}
A \text{A}

Spaces (up)

\, = \thinspace
||=|||\,| = |\thinspace|
\: = \medspace
||=|||\:| = |\medspace|
\; = \thickspace
||=|||\;| = |\thickspace|
\quad
|||\quad|
\qquad
|||\qquad|
I\!N = I\negspace N
|IN|=|IN||I\!N| = |I\negspace N|
\phantom{AB}
|AB||\phantom{AB}|
\mathrlap
Itex2MML::Error
\mathllap
Itex2MML::Error
\mathclap
Itex2MML::Error
\space
Itex2MML::Error Itex2MML::Error
Unknown: Syntax of \space 

Accents (up)

\bar
A¯|\space{A\space{2m \bar{A}
\overline=\closure=\widebar
A¯=A¯=A¯ \overline{A}=\closure{A}=\widebar{A}
\underline
A̲ \underline{A}
\vec
A \vec{A}
\widevec
A \widevec{A}
\dot
A˙ \dot{A}
\ddot
A¨ \ddot{A}
\dddot
A \dddot{A}
\ddddot
A \ddddot{A}
\tilde
A˜ \tilde{A}
\widetilde
A˜ \widetilde{A}
\check
Aˇ \check{A}
\widecheck
Aˇ \widecheck{A}
\hat
A^ \hat{A}
\widehat
A^ \widehat{A}
\slash
A \slash{A}
\boxed
A \boxed{A}

Fractions, Sub/Superscripts and Roots (up)

\frac
ab \frac{a}{b}
\tfrac
ab \tfrac{a}{b}
\binom
(ab) \binom{a}{b}
\over
ab {a\over b}
\atop
a= {a\atop =}
\substack
ab \substack{a}{b}
\overbrace
abc \overbrace{abc}
\underbrace
abc \underbrace{abc}
\underset
ba \underset{a}{b}
\overset=\stackrel
ba=ba \overset{a}{b}=\stackrel{a}{b}
\underoverset
cab \underoverset{a}{b}{c}
\tensor
Ri j k l \tensor{R}{_i_^j^k_l}
\multiscripts
F1 2 \multiscripts{_2}{F}{_1}
\sqrt
5 \sqrt{5}
\root
53 \root{3}{5}
\operatorname
X \operatorname{X}
\mathop
aXb a\mathop{X}b
\mathbin
aXb a\mathbin{X}b
\mathrel
aXb a\mathrel{X}b

Environments (up)

\begin{env}…\end{env} 
 
where env is one of:  
matrix, pmatrix, bmatrix, Bmatrix, vmatrix, Vmatrix, smallmatrix, cases, aligned, gathered, split, svg 

Examples (up)

F={A B C DF=\begin{cases}A&amp;B\\C&amp;D\end{cases}
F=\begin{cases}A&B\\C&D\end{cases}
L =lim |x|cos1x1x 21x 2 =lim |x|cos1x1x 2x 21 =cos1=cos0=1\begin{aligned}L &amp; = \lim_{|x| \to \infty}\frac{\cos\frac{1}{x}\cdot\frac{-1}{x^2}}{\frac{-1}{x^2}}\\ &amp; = \lim_{|x| \to \infty} {\cos\frac 1x} \cdot \frac{-1}{x^2} \cdot \frac{x^2}{-1}\\ &amp; = \cos\frac 1{\infty} = \cos 0 = 1 \end{aligned}
\begin{aligned}L & = \lim_{|x| \to \infty}\frac{\cos\frac{1}{x}\cdot\frac{-1}{x^2}}{\frac{-1}{x^2}}\\ & = \lim_{|x| \to \infty} {\cos\frac 1x} \cdot \frac{-1}{x^2} \cdot \frac{x^2}{-1}\\ & = \cos\frac 1{\infty} = \cos 0 = 1 \end{aligned} (align environment of AMSTeX)
a =b+cd +ef =g+h =i\begin{split}a&amp; =b+c-d\\&amp; \quad +e-f\\&amp; =g+h\\&amp; =i\end{split}
\begin{split}a& =b+c-d\\& \quad +e-f\\& =g+h\\& =i\end{split}
a 1=b 1+c 1 a 2=b 2+c 2d 2+e 2\begin{gathered}a_1=b_1+c_1\\a_2=b_2+c_2-d_2+e_2\end{gathered}
\begin{gathered}a_1=b_1+c_1\\a_2=b_2+c_2-d_2+e_2\end{gathered} (gather environment of AMSTeX)
1 2 3 4 5 6\begin{matrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{matrix}
\begin{matrix}1&2&3\\4&5&6\end{matrix}
1 2 3 4 5 6\begin{matrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{matrix}
\begin{matrix}1&2&3\\4&5&6\end{matrix}
(1 2 3 4 5 6)\begin{pmatrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{pmatrix}
\begin{pmatrix}1&2&3\\4&5&6\end{pmatrix}
[1 2 3 4 5 6]\begin{bmatrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{bmatrix}
\begin{bmatrix}1&2&3\\4&5&6\end{bmatrix}
{1 2 3 4 5 6}\begin{Bmatrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{Bmatrix}
\begin{Bmatrix}1&2&3\\4&5&6\end{Bmatrix}
1 2 3 4 5 6\begin{vmatrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{vmatrix}
\begin{vmatrix}1&2&3\\4&5&6\end{vmatrix}
1 2 3 4 5 6\begin{Vmatrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{Vmatrix}
\begin{Vmatrix}1&2&3\\4&5&6\end{Vmatrix}
1 2 3 4 5 6\begin{smallmatrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{smallmatrix}
\begin{smallmatrix}1&2&3\\4&5&6\end{smallmatrix}
(1 2 3 4 5 6)\left(\begin{smallmatrix}1&amp;2&amp;3\\4&amp;5&amp;6\end{smallmatrix}\right)
\left(\begin{smallmatrix}1&2&3\\4&5&6\end{smallmatrix}\right)
 

Colours (up)

\color{colourspec} changes the current foreground colour. 
\bgcolor{colourspec} changes the current background colour. 
 
colourspec is either 
  aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, or yellow
  #rgb or #rrggbb, where rgb or rrggbb is a 3- or 6-digit hexadecimal number.
   #000000 is black, #FFFFFF is white, and #1AC=#11AACC.

Examples (up)

abcdea{b\color{red}c\color{#0F0}d}e
a{b\color{red}c\color{#0F0}d}e
abcdea { b \color{red} \text{c} \color{#0F0} \text{d} } e
a { b \color{red} \text{c} \color{#0F0} \text{d} } e
abcdea { b \bgcolor{red} \c \bgcolor{#0F0} \d } e
a { b \bgcolor{red} \c \bgcolor{#0F0} \d } e
 
The alternate LaTeX syntax, involving specifying a colour model, e.g. 
  \color[cmyk]{0, 0.1, 0.5, 0.3}
is not supported. 

Not implemented in Didaktiki (up)

SVG Environment (up)

The SVG Environment allows you to embed snippets of SVG in itex equations. To assist in Instiki's LaTeX export feature, you can also include a graphicx command: 
 
  \begin{svg}
      ...
   \end{svg}
   \includegraphics[width=...]{foo}
 
where foo.pdf is a file containing a PDF version of the graphic. In itex, the \includegraphics command is defined as a NOOP, and the SVG is embedded in the MathML output. In Instiki's LaTeX export, the opposite is true: the svg environment is a NOOP, and the \includegraphics command is included in the output. 
 

WebTeX-style Arrays and Array Options (up)

\array
   \arrayopts
            \collayout (=\colalign),
            \rowalign,
            \align,
            \eqcols,
            \eqrows,
            \collines,
            \rowlines,
            \frame,
            \padding
   \rowopts
            \colalign,
            \rowalign
   \cellopts
            \colalign,
            \rowalign,
            \rowspan,
            \colspan
 

Interactivity (up)

Not implemented as links and messages are implemented differently. The following syntax would have messed all up. 
 
\href{url}{expression} 
Turns a mathematical expression into a clickable link. This makes use of Xlink. 
 
expressionmessage\statusline{message}{expression} 
Displays the message text in the browser's status-line, when the user hovers his mouse over the mathematical expression. Does not work natively in Mozilla/Firefox, but is easily implemented with a touch of Javascript?. 
 
\tooltip{message}{expression} 
Displays the message text as a tooltip, when the user hovers his mouse over the mathematical expression. Also does not work natively in Mozilla/Firefox. Instead, Mozilla/Firefox supports the (nonexistent) title attribute. So, the same Javascript, below, works around the problem. 
 
\fghilight{colourspec}{expression} ( = \fghighlight) 
\bghilight{colourspec}{expression} ( = \bghighlight) 
Deprecated, and will be dropped from a future version of itex2MML. Change the foreground/background colour of an expression when the user clicks on it. The current implementation uses deprecated MathML 1.0 attributes (which do not seem to be supported by current browsers). The suggested MathML 2.0 replacements are highly non-portable. Use CSS+Javascript instead. 
 
\toggle{expression1}{expression2} 
Toggle between these two expressions when the user clicks on them. 

Equation Numbering (up)

While itex2MML, the stream filter, does not provide such facilities, various tools built around it, like the itex2MML MovableType plugin and Maruku provide enhanced features, such as equation-numbering and cross-referencing. Itex2MML::ErrorItex2MML::Error produces an unnumbered equation. \[…\] produces a numbered equation. Optionally, \[…\] can contain a label 
  \[...\label{foo}...\]
 
You can then refer back to this equation by (eq:foo) or \eqref{foo}. These are automatically turned into hyperlinks. 
Letzte Änderung: 02.09.2011, 11:22 | 1186 Worte