Aiuto:Prontuario TeX

Da testwiki.
Vai alla navigazione Vai alla ricerca

In questa pagina presentiamo i segni e i costrutti facenti parte del sottolinguaggio TeX/LaTeX che consente l'inserimento di formule matematiche nelle pagine di Wikibooks. Le possibilità sono presentate in ordine alfabetico al fine di facilitare il ritrovamento da parte di chi possegga già qualche conoscenza di TeX, di LaTeX o delle formule per le pagine di Wikibooks.

In questa pagina si intendono anche fornire esempi tendenzialmente significativi, anche al fine di stimolare la omogeneità delle notazioni.


A - B- C - D - E - F - G - I - L - M - N - O - P - Q - R - S - T - V- VARIE


A

accenti e segni diacritici

a`   \grave{a} e´   \acute{e}
H^   \hat{H} cˇ   \check{c}
𝐯¯   \bar{\mathbf{v}}   \vec{\mathcal{M}}
ρ˙   \dot{\rho} 𝖷¨   \ddot{\mathsf{X}}
o˘   \breve{o} N~   \tilde{N}

angoli

151238   15^\circ 12' 38''       AB^C   A\hat BC       HJK^   \widehat{HJK}       AB^C   \angle A\hat BC      𝐯𝐰^   \widehat{\mathbf{vw}}       OAOB   \angle \vec{OA}\vec{OB}

B

binomiali, coefficienti

(nk):=n!k!(nk)!     {n \choose k} := \frac{n!}{k!(n-k)!}

(nk)=(n1k1)+(n1k)       {n \choose k} = (n-1 \choose k-1} + (n-1 \choose k}

C

calligrafica / fonte : v. fonti speciali

complessi / espressioni per numeri

z=x+iy=ρeiθ=|z|eiargz   z = x+iy = \rho e^{i\theta} = |z| e^{i \arg z}       (x+iy)=x   \Re(x+iy) = x       (x+iy)=y   \Im(x+iy) = y      

D

derivate

ddxf(x)   {d\over dx} f(x)       xdxx˙y¨ψ(x)   \nabla \; \partial x \; dx \; \dot x \; \ddot y \psi(x)       yF(x,y)   {\partial \over \partial y} F(x,y)

determinanti

det[xixj|1i,jn]

\det\left[ \frac{\partial}{\partial x_i}\frac{\partial}{\partial x_j} \,|\, 1\leq i,j\leq n \right]

|1111123413610141020|=1

\begin{vmatrix} 1 & 1 & 1 & 1 \\ 1 & 2 & 3 & 4 \\ 1 & 3 & 6 & 10 \\ 1 & 4 & 10 & 20 \end{vmatrix} = 1

disponibili / segni

  \heartsuit   \spadesuit   \clubsuit   \diamondsuit
ı   \imath   \ell   \wp   \mho
  \flat   \natural   \sharp 𝓍   \mathcal{x}
  \top   \bot   \Box   \Diamond

E

ebraiche / lettere       \aleph         \beth       \gimel       \daleth

entità particolari

  \empty   \infty   \hbar
  \N   \R

esponenziali

10^{a+b}   10a+b       \,10^{a+b}\,   10a+b       e^{-x^2}   ex2       4444   {{4^4}^4}^4       55555   {{{5^5}^5}^5}^5

F

fonti / confronto

𝒞𝒜𝒢𝒜𝒞𝒜   \mathcal{CALLIGRAFICA}

Corsivo (𝐼𝑡𝑎𝑙𝑖𝑐)   Corsivo\ \mathrm{(Italic)

𝔣𝔯𝔞𝔨𝔱𝔲𝔯 𝔪𝔦𝔫𝔲𝔰𝔠𝔬𝔩𝔬   \mathfrak{fraktur\ minuscolo

𝔉𝔄𝔎𝔗𝔘 𝔐𝔄𝔘𝔖𝔒𝔏𝔒   \mathfrak{FRAKTUR\ MAIUSCOLO}

𝐆𝐫𝐚𝐬𝐬𝐞𝐭𝐭𝐨(𝐛𝐨𝐥𝐝𝐟𝐚𝐜𝐞)   \mathbf{Grassetto (boldface)}

Normale (Roman)   \mathrm{Normale\ (Roman)


𝖲𝖺𝗇𝗌 𝖲𝖾𝗋𝗂𝖿   \mathsf{Sans\ Serif}

𝕊𝕋𝕀𝕃𝔼 𝕃𝔸𝕍𝔸𝔾𝔸   \mathbb{STILE\ LAVAGNA}


fraktur / fonte

𝔞𝔟𝔠𝔡𝔢𝔣𝔤𝔥𝔦𝔧𝔨𝔩𝔪𝔫𝔬𝔭𝔮𝔯𝔰𝔱𝔲𝔳𝔴𝔵𝔶𝔷   \mathfrak{abcdefghijklm} \mathfrak{nopqrstuvwxyz}

𝔄𝔅𝔇𝔈𝔉𝔊𝔍𝔎𝔏𝔐𝔑𝔒𝔓𝔔𝔖𝔗𝔘𝔙𝔚𝔛𝔜   \mathfrak{ABCDEFGHIJKLM} \mathfrak{NOPQRSTUVWXYZ}

frazioni

{a\over b}   ab       \frac{x+a}{x^2-2x+5}   x+ax22x+5

frecce

\leftarrow   \rightarrow   \uparrow  
\longleftarrow   \longrightarrow   \downarrow  
\Leftarrow   \Rightarrow   \Uparrow  
\Longleftarrow   \Longrightarrow   \Downarrow  
\leftrightarrow   \updownarrow  
\Leftrightarrow   \Longleftrightarrow   \Updownarrow  
\to   \mapsto   \longmapsto  
\hookleftarrow   \hookrightarrow   \nearrow  
\searrow   \swarrow   \nwarrow  

funzioni standard / simboli per le

\arccos \cos \csc \exp \ker \limsup \min \sinh
\arcsin \cosh \deg \gcd \lg \ln \Pr \sup
\arctan \cot \det \hom \lim \log \sec \tan
\arg \coth \dim \inf \liminf \max \sin \tanh

G

geometria / simboli per la

  \triangle               \angle      

grassetto / caratteri in

lettere normali \mathbf{x}, \mathbf{y}, \mathbf{Z} 𝐱,𝐲,𝐙
lettere greche \boldsymbol{\alpha}, \boldsymbol{\beta}, \boldsymbol{\gamma} α,β,γ

greche / lettere

\alpha , α \vartheta , ϑ \varpi , ϖ \chi , χ \Eta , H \Pi , Π
\beta , β \iota , ι \rho , ρ \psi , ψ \Theta , Θ \Rho , P
\gamma , γ \kappa , κ \varrho , ϱ \omega , ω \Iota , I \Sigma , Σ
\delta , δ \lambda , λ \sigma , σ \Alpha , A \Kappa , K \Tau , T
\epsilon , ϵ \mu , μ \varsigma , ς \Beta , B \Lambda , Λ \Upsilon , Υ
\varepsilon , ε \nu , ν \tau , τ \Gamma , Γ \Mu , M \Phi , Φ
\zeta , ζ \xi , ξ \upsilon , υ \Delta , Δ \Nu , N \Chi , X
\eta , η o (gewoon o) , o \phi , ϕ \Epsilon , E \Xi , Ξ \Psi , Ψ
\theta , θ \pi , π \varphi , φ \Zeta , Z O (gewoon O), O \Omega , Ω

I

insiemi / espressioni concernenti

f(i=1nSi)i=1nf(Si)   f\left(\bigcap_{i=1}^n S_i\right) \subseteq \bigcap_{i=1}^n f\left(S_i\right)

integrali

  \int         \iint         \iiint         \oint

2π2πf(x)dx     \int_{-2\pi}^{2\pi} f(x) dx      

dxe(xm)22σ2g(x)     \int_{-\infty}^\infty dx\;e^{-(x-m)^2\over 2\sigma^2} g(x)

L

limiti

limnxn   \lim_{n \to \infty}x_n

logica

pq¯p    p \land \wedge \; \bigwedge \; \bar{q} \to p\

lor¬¬q   lor \vee \; \bigvee \; \lnot \; \neg q \; \setminus \; \smallsetminus

M

matrici

xyvw     \begin{matrix} x & y \\ v & w \end{matrix}

(A+BBC2CB2D)     \begin{pmatrix} A+B & {B+C\over 2} \\ {B+c\over 2} & D \end{pmatrix}

|111111234513610151410203515153570|     \begin{vmatrix} 1 & 1 & 1 & 1 & 1 \\ 1 & 2 & 3 & 4 & 5 \\ 1 & 3 & 6 & 10 & 15 \\ 1 & 4 & 10 & 20 & 35 \\ 1 & 5 & 15 & 35 & 70 \end{vmatrix}

xyvw     \begin{Vmatrix} x & y \\ v & w \end{Vmatrix}


[M1,1M1,2M1,3M2,1M2,2M2,3]     \begin{bmatrix} M_{1,1}&M_{1,2}&M_{1,3}\\M_{2,1}&M_{2,2}&M_{2,3} \end{bmatrix}

{cosθsinθsinθcosθ}     \begin{Bmatrix}\cos\theta&\sin\theta\\-\sin\theta&\cos\theta\end{Bmatrix}

|[xyvw][ab][ab][1]|     \begin{vmatrix} \begin{bmatrix} x & y \\ v & w \end{bmatrix} & \begin{bmatrix} a \\ b \end{bmatrix} \\ \begin{bmatrix} a & b \end{bmatrix} & [1] \end{vmatrix}

[x11x12x1nx21x22x2nxm1xm2xmn]     \begin{bmatrix} x_{11}&x_{12}&\cdots&x_{1n} \\ x_{21}&x_{22}&\cdots&x_{2n} \\ \vdots&\vdots&\ddots&\vdots \\ x_{m1}&x_{m2}&\cdots& x_{mn} \end{bmatrix}


moduli

sk0(modm) s_k \equiv 0 \pmod{m}

amodb a \bmod b

N

negazione di relazioni si ottiene premettendo la macro \not

\not\leq   ≰)       \not\sim ≁       \not\models   ⊭       \not=   =       \not<   < . . . .

neretto / caratteri in v. grassetto / caratteri in

O

operatori binari

±   \pm   \triangleright   \setminus   \circ
  \mp ×   \times   \bullet   \star
  \vee   \wr   \ddagger   \cap
  \dagger   \oplus   \smallsetminus   \cdot
  \wedge   \otimes   \cup   \triangleleft
𝓉   \mathcal{t} 𝓊   \mathcal{u}

operatori n-ari (v.a. produttoria, sommatoria)

  \sum   \prod   \coprod
  \bigcap   \bigcup   \biguplus
  \bigodot   \bigoplus   \bigotimes
  \bigsqcup   \bigvee   \bigwedge

operatori unari

  \nabla         \partial       ¬   \neg         \sim

P

parentesi

(...)   (...) [...]   [...] {...}   \{...\}
|...|   |...| ...   \|...\|   \langle   \rangle
  \lfloor   \rfloor   \lceil   \rceil

parentesi adattabili

(x2+2bx+c)   \left(x^2+2bx+c\right)

cos(0πdxexP2k(x))   \cos\left(\int_0^\pi dx\;e^{-x} P_{2k}(x)\right)

produttoria

k=13Kk+4=K5K6K7   \prod_{k=1}^3 K_{k+4} = K_5\cdot K_6\cdot K_7

puntini       \ldots         \cdots         \vdots         \ddots   (v.a. matrici)

Q

quantificatori         \forall         \exists

i,j{0}(i/j)     \forall_{i \in \N, j \in \N \setminus \{0\}} (i/j \in \mathbb{Q})

𝐱𝕂ntale che𝐱=𝐯

\mathbf{x} \in \mathbb{K}^n \ \mbox{tale che}\ \mathcal{M} \mathbf{x} = \mathbf{v}

R

radici

7       \sqrt 7             2πρ       \sqrt{2\pi\rho}

A2+B2+C2   \sqrt{A^2+B^2+C^2}

x1,2=b±b4ac2a   x_{1,2} = \frac{-b\pm\sqrt{b^-4ac}}{2a}

33       \sqrt[3]3             a±sin(2kπ)h+k             \sqrt[h+k]{ a\pm\sin(2k\pi)} }

raggruppamenti di simboli

fgh   \overline{f\circ g\circ h} esatto_   \underline{\mbox{esatto}}
HK   \overleftarrow{HK} PQ   \overrightarrow{PQ}
x1x2xn   \overbrace{x_1x_2\cdots x_n} αβγδ   \underbrace{\alpha\beta\gamma\delta}
A2+B2   \sqrt{A^2+B^2} p3qr33   \sqrt[n]{p^3-{qr\over3}}
ABC^   \widehat{ABC} FG   \overbrace{\overline{F\circ G}}
FG^   \widehat{\overline{\overline{F\circ G}}}

relazioni

<   \,<\,   \leq >   \,>\,   \geq
  \subset   \subseteq   \supset   \supseteq
  \in   \ni   \vdash 𝒶   \mathcal{a}
  \cong   \simeq   \approx   \sim
  \perp   \|   \mid   \equiv
  \frown   \smile   \triangleleft   \triangleright
𝓋   \mathcal{v} 𝓌   \mathcal{w}   \models   \propto

S

sans serif / fonte

𝖺𝖻𝖼𝖽𝖾𝖿𝗀𝗁𝗂𝗃𝗄𝗅𝗆𝗇𝗈𝗉𝗊𝗋𝗌𝗍𝗎𝗏𝗐𝗑𝗒𝗓   \mathsf{abcdefghijklm} \mathsf{nopqrstuvwxyz}

𝖠𝖡𝖢𝖣𝖤𝖥𝖦𝖧𝖨𝖩𝖪𝖫𝖬𝖭𝖮𝖯𝖰𝖱𝖲𝖳𝖴𝖵𝖶𝖷𝖸𝖹   \mathsf{ABCDEFGHIJKLM} \mathsf{NOPQRSTUVWXYZ}

sistemi di equazioni

{ax+by=hcx+dy=k     \left\{\begin{matrix}ax+by=h \\ cx+dy=k\end{matrix}\right.

sommatoria

k=1nk2       \sum_{k=1}^n k^2

T

tensori e simili

gi j   g_i^{\ j}       Sr1r2    r3r4   S_{r_1r_2}^{\ \ \ \ r_3r_4}       T j ki h   T_{\ j\ k}^{i\ h}

12X34   {}_1^2\!X_3^4

V

vettori

𝐫=x1,x2,x3       \mathbf{r}=\langle x_1,x_2,x_3\rangle

𝐞i:=j=1,...,n:|δi,j   \mathbf{e}_i :\!= \langle j=1,...,n :| \delta_{i,j} \rangle


VARIE

100C   100\,^{\circ}\mathrm{C}

AB}X   \left. {A \over B} \right\} \to X

Voci correlate