Instiki
Sandbox

Markdown+itex2MML Sandbox

Play around below. Your changes will, periodically, be rolled back.

Some examples

(1)minw hp h+w rp r+w lp l
\mathop{min} w_h p_h + w_r p_r + w_l p_l

Here’s an equation

(2) e x 2 /2 dx=2 π
\int_{-\infty}^\infty e^{-x^2/2} \mathrm{d}x = \sqrt{2\pi}

which we can later refer1 back to as (2).

The Dirac equation:

(iD+m)ψ=0
(i\slash{D}+m)\psi =0

Here’s the table of Clifford2 algebras over :

j0 1 2 3 4 5 6 7 8
𝒞 j (2 )(4 )(8 )(8 )(8 )(16 )
𝒞 j +(2 )(2 )(2 )(2 )(2 )(4 )(8 )(16 )

where the generators of 𝒞 j ± satisfy

γ iγ j+γ jγ i=±2 δ ij
\gamma_i\gamma_j +\gamma_j \gamma_i =\pm 2\delta_{i j}

and 𝒞 n+8 ±=𝒞 n ±(16 ).

(3)lim n k=1 n1 k 2 =π 2 6
\lim_{n \to \infty} \sum_{k=1}^n \frac{1}{k^2} = \frac{\pi^2}{6}

More Examples

(4)×E=Bt
\nabla \times \vec{E} = - \frac {\partial \vec{B}}{\partial t}
(5)Bdl=μ 0 I enc
\oint \mathbf{B}\cdot \mathrm{d}\mathbf{l} = \mu_0 I_\text{enc}

H 1 (𝒵,𝒪(k)) Let G=(V,E) be a graph, with w:V[0,1 ] a weight function.

(6){Q i,Q j}=δ ij.
\{Q_i, Q_j\} = \delta_{ij}\mathcal{H}.

Here is a groupoid 𝒢. 3 (mod5 ).

Problems?

Maybe the notation should be different than the Latex counterparts, but these do not seem to be rendering correctly (JD: They look fine to me. A font problem in your browser?) (JB: That was exactly the problem, thanks for the suggestion. The braces weren’t stretching correctly with my old fonts.):

  • SVG:
Box diagram d s¯ u, c, t s d¯ u, c, t W W+
K 0 K¯ 0 Mixing
  • Complicated commutative diagrams (equations in SVG)
Complicated commutative diagram, realized in SVG 1 1 1 1 Id Id A B ρ H H K K ϕ 1 ϕ 2 N A N B N A N B
  • SVG in equations.

In SU(3 ), Rank-2 Symmetric Tensor Representation Fundamental Representation = Adjoint Representation Rank-3 Symmetric Tensor Representation .

  • Cases:
r a+1 ={0 with prob.exp(θr a) max{δr a,z} with prob.1 exp(θr a)
r_{a+1} = \begin{cases} 0 & \text{with prob.}\quad \exp(-\theta r_a) \\ \max \lbrace \delta r_a, z \rbrace & \text{with prob.}\quad 1 - \exp(-\theta r_a) \\ \end{cases}
  • Stretchy Brackets:
q a(z)=σ a 1 exp[γ+zσ a]
q_a(z) = \sigma_a^{-1} \exp{\left[ -\frac{\gamma + z}{\sigma_a} \right]}
  • Linearity of Quadrature Rules
i=1 N(αf(x i)+βg(x i))w i=α i=1 Nf(x i)w i+β i=1 Ng(x i)w i
\sum_{i = 1}^N {\left( {\alpha f(x_i ) + \beta g(x_i )} \right)w_i } = \alpha \sum_{i = 1}^N {f(x_i )w_i } + \beta \sum_{i = 1}^N {g(x_i )w_i }
  • Linearity of Integrals
a b(αf(x)+βg(x))dx=α a bf(x)dx+β a bg(x)dx
{\int_a^b {\left( {\alpha f(x)\, + \beta g(x)} \right)dx = } \alpha \int_a^b {f(x)\,dx} + \beta \int_a^b {g(x)\,dx} }
  • Can we talk about x i 2 inline? What about a bx 2 dx? Inline fractions xx 2 x 1 x 2 ?

  • Big fractions

p 3 (x)=(1 2 )(x1 2 )(x3 4 )(x1 )(1 4 1 2 )(1 4 3 4 )(1 4 1 )+(1 2 )(x1 2 )(x3 4 )(x1 )(1 4 1 2 )(1 4 3 4 )(1 4 1 )+(1 2 )(x1 2 )(x3 4 )(x1 )(1 4 1 2 )(1 4 3 4 )(1 4 1 )+(1 2 )(x1 2 )(x3 4 )(x1 )(1 4 1 2 )(1 4 3 4 )(1 4 1 )
p_3 (x) = \left( {\frac{1}{2}} \right)\frac{{\left( {x - \frac{1}{2}} \right)\left( {x - \frac{3}{4}} \right)\left( {x - 1} \right)}}{{\left( {\frac{1}{4} - \frac{1}{2}} \right)\left( {\frac{1}{4} - \frac{3}{4}} \right)\left( {\frac{1}{4} - 1} \right)}} + \left( {\frac{1}{2}} \right)\frac{{\left( {x - \frac{1}{2}} \right)\left( {x - \frac{3}{4}} \right)\left( {x - 1} \right)}}{{\left( {\frac{1}{4} - \frac{1}{2}} \right)\left( {\frac{1}{4} - \frac{3}{4}} \right)\left( {\frac{1}{4} - 1} \right)}} + \left( {\frac{1}{2}} \right)\frac{{\left( {x - \frac{1}{2}} \right)\left( {x - \frac{3}{4}} \right)\left( {x - 1} \right)}}{{\left( {\frac{1}{4} - \frac{1}{2}} \right)\left( {\frac{1}{4} - \frac{3}{4}} \right)\left( {\frac{1}{4} - 1} \right)}} + \left( {\frac{1}{2}} \right)\frac{{\left( {x - \frac{1}{2}} \right)\left( {x - \frac{3}{4}} \right)\left( {x - 1} \right)}}{{\left( {\frac{1}{4} - \frac{1}{2}} \right)\left( {\frac{1}{4} - \frac{3}{4}} \right)\left( {\frac{1}{4} - 1} \right)}}
  • Diagram
P 1 (Y) P 1 (X) T T
\array{ P_1(Y) &\to& P_1(X) \\ \downarrow &\Downarrow^\sim& \downarrow \\ T' &\to& T }

Will indented code work

This should be code
And this

yep

(7) A_n Quiver v1 v2 vn1 (U(k) n 1 ,{v i})
\array{\arrayopts{\rowalign{center}}\begin{svg} A_n Quiver v1 v2 vn1 \end{svg}& \equiv \left({U(k)}^{n_1},\{v_i\}\right)}

  1. You can also refer to it as (2). Chacun à son goût!.

  2. For more information, see Wikipedia.