Testwiki:Formulalar

testwiki maǵlıwmatı
Navigaciyaǵa ótiw Izlewge ótiw

TeX hám HTML kodları ayırmashılıǵı

TeX sintaksisi TeX kórinisi HTML sintaksisi HTML kórinisi
\alpha α {{math|''α''}} Úlgi:Math
f(x) = x^2 f(x)=x2 {{math|''f''(''x'') {{=}} ''x''<sup>2</sup>}} Úlgi:Math
<math>\{1,e,\pi\}</math> {1,e,π} {{math|{{mset|1, ''e'', ''&pi;''}}}} Úlgi:Math
<math>|z + 1| \leq 2</math> |z+1|2 {{math|{{abs|''z'' + 1}} &le; 2}} Úlgi:Math

Shep táreptegi kodlardı jazıw oń táreptegi simvollardı beredi, biraq oń táreptegi simvollardı tuwrıdan-tuwrı da wikitextke qoyıw múmkin.

HTML sintaksisi HTML kórinisi
&alpha; &beta; &gamma; &delta; &epsilon; &zeta;
&eta; &theta; &iota; &kappa; &lambda; &mu; &nu;
&xi; &omicron; &pi; &rho; &sigma; &sigmaf;
&tau; &upsilon; &phi; &chi; &psi; &omega;

α β γ δ ε ζ
η θ ι κ λ μ ν
ξ ο π ρ σ ς
τ υ φ χ ψ ω

&Gamma; &Delta; &Theta; &Lambda; &Xi; &Pi;
&Sigma; &Phi; &Psi; &Omega;

Γ Δ Θ Λ Ξ Π
Σ Φ Ψ Ω

&int; &sum; &prod; &radic; &minus; &plusmn; &infin;
&asymp; &prop; = &equiv; &ne; &le; &ge;
&times; &middot; &sdot; &divide; &part; &prime; &Prime;
&nabla; &permil; &deg; &there4; &empty;

∫ ∑ ∏ √ − ± ∞
≈ ∝ = ≡ ≠ ≤ ≥
× · ⋅ ÷ ∂ ′ ″
∇ ‰ ° ∴ ∅

&isin; &notin; &cap; &cup; &sub; &sup; &sube; &supe;
&not; &and; &or; &exist; &forall;
&rArr; &hArr; &rarr; &harr; &uarr; &darr;
&alefsym; - &ndash; &mdash;

∈ ∉ ∩ ∪ ⊂ ⊃ ⊆ ⊇
¬ ∧ ∨ ∃ ∀
⇒ ⇔ → ↔ ↑ ↓
ℵ - – —

TeX járdeminde formatlaw

Tómendegi kestelerde shep baǵanalarda arnawlı TeX sintaksisi, oń táreptegi baǵanalarda kórinetuǵın mánisi kórsetilgen. Onıń islewi ushın shep táreptegi arnawlı TeX sintaksisinen aldın <math>, al sintaksisten keyin </math> qoyılıwı kerek. Mısalı: <math> \dot{a} </math> ===> a˙

Funkciyalar, simvollar, arnawlı tańbalar

Accents and diacritics

\dot{a}, \ddot{a}, \acute{a}, \grave{a} a˙,a¨,a´,a`
\check{a}, \breve{a}, \tilde{a}, \bar{a} aˇ,a˘,a~,a¯
\hat{a}, \widehat{a}, \vec{a} a^,a^,a

Standard numerical functions

\exp_a b = a^b, \exp b = e^b, 10^m expab=ab,expb=eb,10m
\ln c = \log c, \lg d = \log_{10} d lnc=logc,lgd=log10d
\sin a, \cos b, \tan c, \cot d, \sec f, \csc g sina,cosb,tanc,cotd,secf,cscg
\arcsin h, \arccos i, \arctan j arcsinh,arccosi,arctanj
\sinh k, \cosh l, \tanh m, \coth n sinhk,coshl,tanhm,cothn
\operatorname{sh}k, \operatorname{ch}l, \operatorname{th}m, \operatorname{coth}n shk,chl,thm,cothn
\operatorname{argsh}o, \operatorname{argch}p, \operatorname{argth}q argsho,argchp,argthq
\sgn r, \left\vert s \right\vert sgnr,|s|
\min(x,y), \max(x,y) min(x,y),max(x,y)

Bounds

\min x, \max y, \inf s, \sup t minx,maxy,infs,supt
\lim u, \liminf v, \limsup w limu,lim infv,lim supw
\dim p, \deg q, \det m, \ker\phi dimp,degq,detm,kerϕ

Projections

\Pr j, \hom l, \lVert z \rVert, \arg z Prj,homl,z,argz

Differentials and derivatives

dt, \mathrm{d}t, \partial t, \nabla\psi dt,dt,t,ψ
dy/dx, \mathrm{d}y/\mathrm{d}x, \frac{dy}{dx}, \frac{\mathrm{d}y}{\mathrm{d}x} dy/dx,dy/dx,dydx,dydx
\frac{\partial^2}{\partial x_1\partial x_2}y, \left.\frac{\partial^3 f}{\partial^2 x \partial y}\right\vert_{p_0} 2x1x2y,3f2xy|p0
\prime, \backprime, f^\prime, f', f'', f^{(3)}, \dot y, \ddot y ,,f,f,f,f(3),y˙,y¨

Letter-like symbols or constants

\infty, \aleph, \complement, \backepsilon, \eth, \Finv, \hbar, \N, \R, \Z, \C, \Q ,,,,ð,,,,,,,
\Im, \imath, \jmath, \Bbbk, \ell, \mho, \wp, \Re, \circledS, \S, \P, \AA ,ı,ȷ,𝕜,,,,,,§,,Å

Modular arithmetic

s_k \equiv 0 \pmod{m} sk0(modm)
a \bmod b amodb
\gcd(m, n), \operatorname{lcm}(m, n) gcd(m,n),lcm(m,n)
\mid, \nmid, \shortmid, \nshortmid ,,,

Radicals

\surd, \sqrt{2}, \sqrt[n]{2}, \sqrt[3]{\frac{x^3+y^3}{2}} ,2,2n,x3+y323

Operators

+, -, \pm, \mp, \dotplus +,,±,,
\times, \div, \divideontimes, /, \backslash ×,÷,,/,
\cdot, * \ast, \star, \circ, \bullet ,,,,
\boxplus, \boxminus, \boxtimes, \boxdot ,,,
\oplus, \ominus, \otimes, \oslash, \odot ,,,,
\circleddash, \circledcirc, \circledast ,,
\bigoplus, \bigotimes, \bigodot ,,

Sets

\{ \}, \O \empty \emptyset, \varnothing {},,
\in, \notin \not\in, \ni, \not\ni ,∉,,∌
\cap, \Cap, \sqcap, \bigcap ,,,
\cup, \Cup, \sqcup, \bigcup, \bigsqcup, \uplus, \biguplus ,,,,,,
\setminus, \smallsetminus, \times ,,×
\subset, \Subset, \sqsubset ,,
\supset, \Supset, \sqsupset ,,
\subseteq, \nsubseteq, \subsetneq, \varsubsetneq, \sqsubseteq ,,,,
\supseteq, \nsupseteq, \supsetneq, \varsupsetneq, \sqsupseteq ,,,,
\subseteqq, \nsubseteqq, \subsetneqq, \varsubsetneqq ,,,
\supseteqq, \nsupseteqq, \supsetneqq, \varsupsetneqq ,,,

Relations

=, \ne, \neq, \equiv, \not\equiv =,,,,≢
\doteq, \doteqdot, \overset{\underset{\mathrm{def}}{}}{=}, := ,,=def,:=
\sim, \nsim, \backsim, \thicksim, \simeq, \backsimeq, \eqsim, \cong, \ncong ,,,,,,,,
\approx, \thickapprox, \approxeq, \asymp, \propto, \varpropto ,,,,,
<, \nless, \ll, \not\ll, \lll, \not\lll, \lessdot <,,,≪̸,,⋘̸,
>, \ngtr, \gg, \not\gg, \ggg, \not\ggg, \gtrdot >,,,≫̸,,⋙̸,
\le, \leq, \lneq, \leqq, \nleq, \nleqq, \lneqq, \lvertneqq ,,,,,,,
\ge, \geq, \gneq, \geqq, \ngeq, \ngeqq, \gneqq, \gvertneqq ,,,,,,,
\lessgtr, \lesseqgtr, \lesseqqgtr, \gtrless, \gtreqless, \gtreqqless ,,,,,
\leqslant, \nleqslant, \eqslantless ,,
\geqslant, \ngeqslant, \eqslantgtr ,,
\lesssim, \lnsim, \lessapprox, \lnapprox ,,,
\gtrsim, \gnsim, \gtrapprox, \gnapprox ,,,
\prec, \nprec, \preceq, \npreceq, \precneqq ,,,,
\succ, \nsucc, \succeq, \nsucceq, \succneqq ,,,,
\preccurlyeq, \curlyeqprec ,
\succcurlyeq, \curlyeqsucc ,
\precsim, \precnsim, \precapprox, \precnapprox ,,,
\succsim, \succnsim, \succapprox, \succnapprox ,,,

Geometric

\parallel, \nparallel, \shortparallel, \nshortparallel ,,,
\perp, \angle, \sphericalangle, \measuredangle, 45^\circ ,,,,45
\Box, \square, \blacksquare, \diamond, \Diamond, \lozenge, \blacklozenge, \bigstar ,,,,,,,
\bigcirc, \triangle, \bigtriangleup, \bigtriangledown ,,,
\vartriangle, \triangledown ,
\blacktriangle, \blacktriangledown, \blacktriangleleft, \blacktriangleright ,,,

Logic

\forall, \exists, \nexists ,,
\therefore, \because, \And ,,&
\lor \vee, \curlyvee, \bigvee

don't use \or which is now deprecated

,,,
\land \wedge, \curlywedge, \bigwedge

don't use \and which is now deprecated

,,,
\bar{q}, \bar{abc}, \overline{q}, \overline{abc},

\lnot \neg, \not\operatorname{R}, \bot, \top

q¯,abc¯,q,abc,

¬¬,R,,

\vdash \dashv, \vDash, \Vdash, \models ,,,,
\Vvdash \nvdash \nVdash \nvDash \nVDash ,,,,
\ulcorner \urcorner \llcorner \lrcorner

Arrows

\Rrightarrow, \Lleftarrow ,
\Rightarrow, \nRightarrow, \Longrightarrow, \implies ,,,
\Leftarrow, \nLeftarrow, \Longleftarrow ,,
\Leftrightarrow, \nLeftrightarrow, \Longleftrightarrow, \iff ,,,
\Uparrow, \Downarrow, \Updownarrow ,,
\rightarrow, \to, \nrightarrow, \longrightarrow ,,,
\leftarrow, \gets, \nleftarrow, \longleftarrow ,,,
\leftrightarrow, \nleftrightarrow, \longleftrightarrow ,,
\uparrow, \downarrow, \updownarrow ,,
\nearrow, \swarrow, \nwarrow, \searrow ,,,
\mapsto, \longmapsto ,
\rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \leftrightharpoons ,,,,,,,,,
\curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \rightarrowtail \looparrowright ,,,,,,,
\curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \leftarrowtail \looparrowleft ,,,,,,,
\hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow \twoheadrightarrow \twoheadleftarrow ,,,,,,

Special

\amalg \P \S \% \dagger \ddagger \ldots \cdots \vdots \ddots ⨿§%
\smile \frown \wr \triangleleft \triangleright
\diamondsuit, \heartsuit, \clubsuit, \spadesuit, \Game, \flat, \natural, \sharp ,,,,,,,

Unsorted (new stuff)

\diagup \diagdown \centerdot \ltimes \rtimes \leftthreetimes \rightthreetimes ,,,,,,
\eqcirc \circeq \triangleq \bumpeq \Bumpeq \doteqdot \risingdotseq \fallingdotseq ,,,,,,,
\intercal \barwedge \veebar \doublebarwedge \between \pitchfork ,,,,,
\vartriangleleft \ntriangleleft \vartriangleright \ntriangleright ,,,
\trianglelefteq \ntrianglelefteq \trianglerighteq \ntrianglerighteq ,,,


Quramalı ańlatpalar

Tómengi indeksler, joqarǵı indeksler, integrallar

Funkciya Sintaksis Nátiyje kórinisi
Superscript a^2, a^{x+3} a2,ax+3
Subscript a_2 a2
Grouping 10^{30} a^{2+2} 1030a2+2
a_{i,j} b_{f'} ai,jbf
Combining sub & super without and with horizontal separation x_2^3 x23
{x_2}^3 x23
Super super 10^{10^{8}} 10108
Preceding and/or additional sub & super \sideset{_1^2}{_3^4}\prod_a^b 3412ab
{}_1^2\!\Omega_3^4 12Ω34
Stacking \overset{\alpha}{\omega} ωα
\underset{\alpha}{\omega} ωα
\overset{\alpha}{\underset{\gamma}{\omega}} ωγα
\stackrel{\alpha}{\omega} ωα
Derivatives x', y'', f', f'' x,y,f,f
x^\prime, y^{\prime\prime} x,y
Derivative dots \dot{x}, \ddot{x} x˙,x¨
Underlines, overlines, vectors \hat a \ \bar b \ \vec c a^ b¯ c
\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f} ab cd def^
\overline{g h i} \ \underline{j k l} ghi jkl_
Arc (workaround) \overset{\frown} {AB} AB
Arrows A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C An+μ1BTn±i1C
Overbraces \overbrace{ 1+2+\cdots+100 }^{5050} 1+2++1005050
Underbraces \underbrace{ a+b+\cdots+z }_{26} a+b++z26
Sum \sum_{k=1}^N k^2 k=1Nk2
Sum (force \textstyle) \textstyle \sum_{k=1}^N k^2 k=1Nk2
Sum in a fraction (default \textstyle) \frac{\sum_{k=1}^N k^2}{a} k=1Nk2a
Sum in a fraction (force \displaystyle) \frac{\displaystyle \sum_{k=1}^N k^2}{a} k=1Nk2a
Sum in a fraction (alternative limits style) \frac{\sum\limits^{^N}_{k=1} k^2}{a} k=1Nk2a
Product \prod_{i=1}^N x_i i=1Nxi
Product (force \textstyle) \textstyle \prod_{i=1}^N x_i i=1Nxi
Coproduct \coprod_{i=1}^N x_i i=1Nxi
Coproduct (force \textstyle) \textstyle \coprod_{i=1}^N x_i i=1Nxi
Limit \lim_{n \to \infty}x_n limnxn
Limit (force \textstyle) \textstyle \lim_{n \to \infty}x_n limnxn
Integral \int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx 13e3/xx2dx
Integral (alternative limits style) \int_{1}^{3}\frac{e^3/x}{x^2}\, dx 13e3/xx2dx
Integral (force \textstyle) \textstyle \int\limits_{-N}^{N} e^x dx NNexdx
Integral (force \textstyle, alternative limits style) \textstyle \int_{-N}^{N} e^x dx NNexdx
Double integral \iint\limits_D dx\,dy Ddxdy
Triple integral \iiint\limits_E dx\,dy\,dz Edxdydz
Quadruple integral \iiiint\limits_F dx\,dy\,dz\,dt Fdxdydzdt
Line or path integral \int_{(x,y)\in C} x^3\, dx + 4y^2\, dy (x,y)Cx3dx+4y2dy
Closed line or path integral \oint_{(x,y)\in C} x^3\, dx + 4y^2\, dy (x,y)Cx3dx+4y2dy
Intersections \bigcap_{i=1}^n E_i i=1nEi
Unions \bigcup_{i=1}^n E_i i=1nEi

Bólshekler, matricalar, multiliniyalar

Funkciya Sintaksis Nátiyje kórinisi
Fractions \frac{2}{4}=0.5 or {2 \over 4}=0.5 24=0.5
Small fractions (force \textstyle) \tfrac{2}{4} = 0.5 24=0.5
Large (normal) fractions (force \displaystyle) \dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a 24=0.52c+2d+24=a
Large (nested) fractions \cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a 2c+2d+24=a
Cancellations in fractions \cfrac{x}{1 + \cfrac{\cancel{y}}{\cancel{y}}} = \cfrac{x}{2} x1+yy=x2
Binomial coefficients \binom{n}{k} (nk)
Small binomial coefficients (force \textstyle) \tbinom{n}{k} (nk)
Large (normal) binomial coefficients (force \displaystyle) \dbinom{n}{k} (nk)
Matrices
\begin{matrix}
x & y \\
z & v
\end{matrix}
xyzv
\begin{vmatrix}
x & y \\
z & v
\end{vmatrix}
|xyzv|
\begin{Vmatrix}
x & y \\
z & v
\end{Vmatrix}
xyzv
\begin{bmatrix}
0 & \cdots & 0 \\
\vdots & \ddots & \vdots \\
0 & \cdots & 0
\end{bmatrix}
[0000]
\begin{Bmatrix}
x & y \\
z & v
\end{Bmatrix}
{xyzv}
\begin{pmatrix}
x & y \\
z & v
\end{pmatrix}
(xyzv)
\bigl( \begin{smallmatrix}
a&b\\ c&d
\end{smallmatrix} \bigr)
(abcd)
Case distinctions
f(n) =
\begin{cases}
n/2, & \text{if }n\text{ is even} \\
3n+1, & \text{if }n\text{ is odd}
\end{cases}
f(n)={n/2,if n is even3n+1,if n is odd
Simultaneous equations
\begin{cases}
3x + 5y + z \\
7x - 2y + 4z \\
-6x + 3y + 2z
\end{cases}
{3x+5y+z7x2y+4z6x+3y+2z
Multiline equations
\begin{align}
f(x) & = (a+b)^2 \\
& = a^2+2ab+b^2 \\
\end{align}
f(x)=(a+b)2=a2+2ab+b2
\begin{alignat}{2}
f(x) & = (a-b)^2 \\
& = a^2-2ab+b^2 \\
\end{alignat}
f(x)=(ab)2=a22ab+b2
Multiline equations with multiple alignments per row
\begin{align}
f(a,b) & = (a+b)^2 && = (a+b)(a+b) \\
& = a^2+ab+ba+b^2  && = a^2+2ab+b^2 \\
\end{align}
f(a,b)=(a+b)2=(a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2
\begin{alignat}{3}
f(a,b) & = (a+b)^2 && = (a+b)(a+b) \\
& = a^2+ab+ba+b^2  && = a^2+2ab+b^2 \\
\end{alignat}
f(a,b)=(a+b)2=(a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2
Multiline equations (must define number of columns used ({lcl})) (should not be used unless needed)
\begin{array}{lcl}
z & = & a \\
f(x,y,z) & = & x + y + z
\end{array}
z=af(x,y,z)=x+y+z
Multiline equations (more)
\begin{array}{lcr}
z & = & a \\
f(x,y,z) & = & x + y + z
\end{array}
z=af(x,y,z)=x+y+z
Multiline alignment using & to left align (top example) versus && to right align (bottom example) the last column
\begin{alignat}{4}
F:\; && C(X) && \;\to\;     & C(X) \\
     && g    && \;\mapsto\; & g^2
\end{alignat}
\begin{alignat}{4}
F:\; && C(X) && \;\to\;     && C(X) \\
     && g    && \;\mapsto\; && g^2
\end{alignat}
F:C(X)C(X)gg2

F:C(X)C(X)gg2

Breaking up a long expression so that it wraps when necessary, at the expense of destroying correct spacing
<math>f(x) \,\!</math>
<math>= \sum_{n=0}^\infty a_n x^n </math>
<math>= a_0+a_1x+a_2x^2+\cdots</math>
f(x)=n=0anxn=a0+a1x+a2x2+
Arrays
\begin{array}{|c|c|c|} a & b & S \\
\hline
0 & 0 & 1 \\
0 & 1 & 1 \\
1 & 0 & 1 \\
1 & 1 & 0 \\
\end{array}
abS001011101110

Úlken ańlatpalar, qawıslar, barlardı qawısqa alıw

Funkciya Sintaksis Nátiyje kórinisi
Úlgi:CrossBad ( \frac{1}{2} )^n (12)n
GoodÚlgi:Tick \left ( \frac{1}{2} \right )^n (12)n

Siz \left hám \right buyrıqları kómeginde hár qıylı bóliwshilerden paydalanıwıńız múmkin:

Funkciya Sintaksis Nátiyje kórinisi
Parentheses \left ( \frac{a}{b} \right ) (ab)
Brackets \left [ \frac{a}{b} \right ] \quad
\left \lbrack \frac{a}{b} \right \rbrack
[ab][ab]
Braces \left \{ \frac{a}{b} \right \} \quad
\left \lbrace \frac{a}{b} \right \rbrace
{ab}{ab}
Angle brackets \left \langle \frac{a}{b} \right \rangle ab
Bars and double bars \left | \frac{a}{b} \right \vert \quad
\left \Vert \frac{c}{d} \right \|
|ab|cd
Floor and ceiling functions: \left \lfloor \frac{a}{b} \right \rfloor \quad
\left \lceil \frac{c}{d} \right \rceil
abcd
Slashes and backslashes \left / \frac{a}{b} \right \backslash /ab\
Up, down, and up-down arrows \left \uparrow \frac{a}{b} \right \downarrow \quad
\left \Uparrow \frac{a}{b} \right \Downarrow \quad
\left \updownarrow \frac{a}{b} \right \Updownarrow
ababab
Delimiters can be mixed,
as long as \left and \right match
\left [ 0,1 \right )
\left \langle \psi \right |
[0,1)
ψ|
Use \left. and \right. if you
do not want a delimiter to appear
\left . \frac{A}{B} \right \} \to X AB}X
Size of the delimiters (add "l" or "r" to indicate the side for proper spacing) ( \bigl( \Bigl( \biggl( \Biggl( \dots \Biggr] \biggr] \Bigr] \bigr] ] (((((]]]]]
\{ \bigl\{ \Bigl\{ \biggl\{ \Biggl\{ \dots
\Biggr\rangle \biggr\rangle \Bigr\rangle \bigr\rangle \rangle
{{{{{
\| \big\| \Big\| \bigg\| \Bigg\| \dots \Bigg| \bigg| \Big| \big| | |||||
\lfloor \bigl\lfloor \Bigl\lfloor \biggl\lfloor \Biggl\lfloor \dots
\Biggr\rceil \biggr\rceil \Bigr\rceil \bigr\rceil \ceil
\uparrow \big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots
\Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow \Downarrow
\updownarrow \big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots
\Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow \Updownarrow
/ \big/ \Big/ \bigg/ \Bigg/ \dots
\Bigg\backslash \bigg\backslash \Big\backslash \big\backslash \backslash
/////\\\\