User:Omegatron/sandbox
Alt, title, and caption texts should be treated differently
edit
Forced PNG rendering on TeX page
edit
test
Subscripts, superscripts
editFeature | Syntax | How it looks rendered | |
---|---|---|---|
Superscript | a^2 | ||
Subscript | a_2 | ||
Grouping | a^{2+2} | ||
a_{i,j} | |||
Combining sub & super | x_2^3 | ||
Derivative (good) | x' | ||
Derivative (wrong in HTML) | x^\prime | ||
Derivative (wrong in PNG) | x\prime | ||
Derivative dots | \dot{x}, \ddot{x} | ||
Underlines & overlines | \hat a \bar b \vec c \widehat {d e f} \overline {g h i} \underline {j k l} | ||
Sum | \sum_{k=1}^N k^2 | ||
Product | \prod_{i=1}^N x_i | ||
Limit | \lim_{n \to \infty}x_n | ||
Integral | \int_{-N}^{N} e^x\, dx | ||
Line Integral | \oint_{C} x^3\, dx + 4y^2\, dy |
Fonts
editFeature | Syntax | How it looks rendered | |
---|---|---|---|
Greek letters | \alpha \beta \gamma \Gamma \phi \Phi \Psi\ \tau \Omega | ||
Blackboard bold | x\in\mathbb{R}\sub\mathbb{C} | ||
boldface (vectors) | \mathbf{x}\cdot\mathbf{y} = 0 | ||
boldface (greek) | \boldsymbol{\alpha} + \boldsymbol{\beta} + \boldsymbol{\gamma} | ||
Fraktur typeface | \mathfrak{a} \mathfrak{B} | ||
Script | \mathcal{ABC} | ||
Hebrew | \aleph \beth \gimel \daleth | ||
non-italicised characters | \mbox{abc} | ||
mixed italics (bad) | \mbox{if} n \mbox{is even} | ||
mixed italics (good) | \mbox{if }n\mbox{ is even} |