Adjuta:Formulas TeX
De Wikipedia, le encyclopedia libere
Le software usate per Wikipedia, MediaWiki, usa un linguage de etiquettage de typo TeX pro designar formulas mathematic. Le systema genera imagines de formato PNG o etiquettage HTML simplice, dependente super le preferentias del usator e super le complexitate del expression. In le futuro, quando navigatores del web deveni plus intelligente, il essera possibile generar HTML avantiate o mesmo MathML in multe casos.
Le etiquettage de mathematica va inter le etiquettas <math> ... </math>. Le separationes inter le lineas inter iste etiquettas non se monstrara in le resultato final; de facto il es un bon idea render le codice plus legibile per introducer un nove linea p.ex. post cata termino o rango de un matrice.
Non usa iste function como parte de un linea de texto regular, pro evitar que le formulas non se alinea ben e que le typo de litteras sia troppo grande.
Concernente le color de fundo, nota que iste pagina es un pagina special e pro isto ha un fundo jalne. Paginas normal in Wikipedia es blanc, dunque le quadros blanc non essera visibile in uso normal.
Tabula de contento |
[modificar] Characteres special
Function | Syntaxe | Como se monstra |
---|---|---|
functiones commun (bon) | \sin x + \ln y +\operatorname{sgn} z | ![]() |
functiones commun (mal) | sin x + ln y + sgn z | ![]() |
Derivativos | \nabla \partial dx | ![]() |
Collectiones | \forall x\not\in\empty\subseteq A\cap B\cup \exists \{x,y\} \times C | ![]() |
Logica | p\wedge \bar{q} \rightarrow p\vee \bar{q} \Rightarrow \Leftrightarrow | ![]() |
Radical | \sqrt{2}\approx 1.4 | ![]() |
\sqrt[n]{x} | ![]() |
|
Relationes | \sim \simeq \cong \le \ge \equiv \approx \ne | ![]() |
Geometria | \angle \perp \| | ![]() |
Special | \oplus \otimes \pm \mp \hbar \dagger \ddagger \star \circ \cdot \bullet \infty | ![]() |
[modificar] Subscriptos, superscriptos
Function | Syntaxe | Como se monstra |
---|---|---|
Superscripto | a^2 | a2 |
Subscripto | a_2 | a2 |
Gruppamento | a^{2+2} | a2 + 2 |
a_{i,j} | ai,j | |
Combination sub & super | x_2^3 | ![]() |
Derivativo (bon) | x' | x' |
Derivativo (mal in HTML) | x^\prime | ![]() |
Derivativo (mal in PNG) | x\prime | ![]() |
Summa | \sum_{k=1}^N k^2 | ![]() |
Producto | \prod_{i=1}^N x_i | ![]() |
Limite | \lim_{n \to \infty}x_n | ![]() |
Integral | \int_{-N}^{N} e^x\, dx | ![]() |
Integral de linea | \oint_{C} x^3\, dx + 4y^2\, dy | ![]() |
[modificar] Fractiones, matrices, multilineas
Function | Syntaxe | Como se monstra |
---|---|---|
Fractiones | \frac{2}{4} or {2 \over 4} | ![]() |
Coefficientes binomial | {n \choose k} | ![]() |
Matrices | \begin{pmatrix} x & y \\ z & v \end{pmatrix} | ![]() |
\begin{bmatrix} 0 & \cdots & 0 \\ \vdots &
\ddots & \vdots \\ 0 & \cdots & 0\end{bmatrix} |
![]() |
|
\begin{Bmatrix} x & y \\ z & v \end{Bmatrix} | ![]() |
|
\begin{vmatrix} x & y \\ z & v \end{vmatrix} | ![]() |
|
\begin{Vmatrix} x & y \\ z & v \end{Vmatrix} | ![]() |
|
\begin{matrix} x & y \\ z & v \end{matrix} | ![]() |
|
Distinctiones de caso | f(n)=\left\{\begin{matrix} n/2, & \mbox{if }n\mbox{ is
even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{matrix}\right. |
![]() |
Equations multilinear | \begin{matrix}f(n+1)&=& (n+1)^2 \\ \ & =& n^2 + 2n + 1\end{matrix} | ![]() |
[modificar] Typos de littera
Function | Syntaxe | Como se monstra |
---|---|---|
Litteras grec | \alpha \beta \gamma \Gamma \phi \Phi \Psi\ \tau \Omega | ![]() |
Blackboard bold | x\in\mathbb{R}\sub\mathbb{C} | ![]() |
grasse (vectores) | \mathbf{x}\cdot\mathbf{y} = 0 | ![]() |
grasse (grec) | \boldsymbol{\alpha}+\boldsymbol{\beta}+\boldsymbol{\gamma} | ![]() |
Typo de litteras Fraktur | \mathfrak{a} \mathfrak{B} | ![]() |
Scripto | \mathcal{ABC} | ![]() |
Hebree | \aleph \beth \gimel \daleth | ![]() |
characteres non cursive | \mbox{abc} | abc |
[modificar] Parenthesisation de grande expressiones
Function | Syntaxe | Como se monstra |
---|---|---|
Non bon | ( \frac{1}{2} ) | ![]() |
Melior | \left( \frac{1}{2} \right) | ![]() |
Tu pote usar varie delimitatores con \left e \right:
Function | Syntaxe | Como se monstra |
---|---|---|
Parentheses | \left( A \right) | ![]() |
Parentheses recte | \left[ A \right] | ![]() |
Braciales | \left\{ A \right\} | ![]() |
Parentheses angular | \left\langle A \right\rangle | ![]() |
Barras | \left| A \right| | ![]() |
Usa \left. e \right. si tu non vole que un delimitator appare: | \left. {A \over B} \right\} \to X | ![]() |
[modificar] Spatiamento
Nota que TeX face le major parte del spatiamento automaticamente, ma es possibile que tu vole a vices controlo manual.
Function | Syntaxe | Como se monstra |
---|---|---|
spatio quadruple duple | a \qquad b | ![]() |
spatio quadruple | a \quad b | ![]() |
spatio de texto | a\ b | ![]() |
spatio grande | a\;b | ![]() |
spatio medie | a\>b | [non appoiate] |
spatio parve | a\,b | ![]() |
nulle spatio | ab | ![]() |
spatio negative | a\!b | ![]() |
[modificar] Ligamines externe
- Un documento PDF introducente TeX -- vide pagina 39 e ulterior pro un bon introduction al latere mathematic del cosas: http://www.ctan.org/tex-archive/info/gentle/gentle.pdf
- Lista referential complete de symbolos: http://wso.williams.edu/how/lshort2e/node61.html
- Software AMSLaTeX (extension pro LaTeX): http://www.ams.org/tex/amslatex.html
- Un collection de graphicos mathematic de grandor fixe in le dominio public: http://us.metamath.org/symbols/symbols.html