리브레 위키에서는 수학 공식을 간편하게 입력하기 위해, [math]\displaystyle{ {\mathrm{T\!_{\displaystyle E} \! X}} }[/math]
문법을 지원합니다.
이 기능을 사용하려면 <math> ... </math>
사이에 [math]\displaystyle{ {\mathrm{T\!_{\displaystyle E} \! X}} }[/math]
문법을 쓰면 됩니다. 이 태그 내에서의 줄바꿈은 처리되지 않습니다.
특수 문자
이와 관련한 내용은 도움말:TeX 문법/특수문자에서 볼 수 있습니다.
위, 아래 첨자
기능 | 문법 | 문서에 나타나는 식 |
---|---|---|
위 첨자 | a^2
|
[math]\displaystyle{ a^2 }[/math] |
아래 첨자 | a_2
|
[math]\displaystyle{ a_2 }[/math] |
x_s-x_D
|
[math]\displaystyle{ x_s-x_D }[/math] | |
다문자 첨자 | a^{2+2}
|
[math]\displaystyle{ a^{2+2} }[/math] |
a_{i,j}
|
[math]\displaystyle{ a_{i,j} }[/math] | |
위 아래 첨자 동시에 | x_2^3
|
[math]\displaystyle{ x_2^3 }[/math] |
미분 (옳음) | x'
|
[math]\displaystyle{ x' }[/math] |
미분 (HTML의 경우 틀림) | x^\prime
|
[math]\displaystyle{ x^\prime }[/math] |
미분 (PNG의 경우 틀림) | x\prime
|
[math]\displaystyle{ x\prime }[/math] |
시그마 | \sum_{k=1}^N k^2
|
[math]\displaystyle{ \sum_{k=1}^N k^2 }[/math] |
곱기호 | \prod_{i=1}^N x_i
|
[math]\displaystyle{ \prod_{i=1}^N x_i }[/math] |
극한 | \lim_{n \to \infty}x_n
|
[math]\displaystyle{ \lim_{n \to \infty}x_n }[/math] |
적분 | \int_{-N}^{N} e^x\, dx
|
[math]\displaystyle{ \int_{-N}^{N} e^x\, dx }[/math] |
선적분 | \oint_{C} x^3\, dx + 4y^2\, dy
|
[math]\displaystyle{ \oint_{C} x^3\, dx + 4y^2\, dy }[/math] |
분수, 행렬, 여러행
기능 | 문법 | 문서에서 보이는 식 |
---|---|---|
분수 | \frac{2}{4} or {2 \over 4}
|
[math]\displaystyle{ \frac{2}{4} }[/math] |
이항 계수 |
{n \choose k}
|
[math]\displaystyle{ {n \choose k} }[/math] |
행렬 | \begin{pmatrix} x & y \\ z & v \end{pmatrix}
|
[math]\displaystyle{ \begin{pmatrix} x & y \\ z & v \end{pmatrix} }[/math] |
\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix} |
[math]\displaystyle{ \begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0\end{bmatrix} }[/math] | |
\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}
|
[math]\displaystyle{ \begin{Bmatrix} x & y \\ z & v \end{Bmatrix} }[/math] | |
\begin{vmatrix} x & y \\ z & v \end{vmatrix}
|
[math]\displaystyle{ \begin{vmatrix} x & y \\ z & v \end{vmatrix} }[/math] | |
\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}
|
[math]\displaystyle{ \begin{Vmatrix} x & y \\ z & v \end{Vmatrix} }[/math] | |
\begin{matrix} x & y \\ z & v \end{matrix}
|
[math]\displaystyle{ \begin{matrix} x & y \\ z & v \end{matrix} }[/math] | |
경우 나누기 |
f(n)= \begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases} |
[math]\displaystyle{ f(n)=\begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases} }[/math] |
두줄 이상의 방정식 |
\begin{align} f(n+1) &= (n+1)^2 \\ &= n^2 + 2n + 1 \end{align} |
[math]\displaystyle{ \begin{align}f(n+1)&= (n+1)^2 \\ \ & = n^2 + 2n + 1\end{align} }[/math] |
글꼴
그리스어 | |
---|---|
\Alpha \Beta \Gamma \Delta \Epsilon \Zeta \Eta \Theta
|
[math]\displaystyle{ \Alpha \Beta \Gamma \Delta \Epsilon \Zeta \Eta \Theta \! }[/math] |
\Iota \Kappa \Lambda \Mu \Nu \Xi \Pi \Rho
|
[math]\displaystyle{ \Iota \Kappa \Lambda \Mu \Nu \Xi \Pi \Rho \! }[/math] |
\Sigma \Tau \Upsilon \Phi \Chi \Psi \Omega
|
[math]\displaystyle{ \Sigma \Tau \Upsilon \Phi \Chi \Psi \Omega \! }[/math] |
\alpha \beta \gamma \delta \epsilon \zeta \eta \theta
|
[math]\displaystyle{ \alpha \beta \gamma \delta \epsilon \zeta \eta \theta \! }[/math] |
\iota \kappa \lambda \mu \nu \xi \pi \rho
|
[math]\displaystyle{ \iota \kappa \lambda \mu \nu \xi \pi \rho \! }[/math] |
\sigma \tau \upsilon \phi \chi \psi \omega
|
[math]\displaystyle{ \sigma \tau \upsilon \phi \chi \psi \omega \! }[/math] |
\varepsilon \digamma \varkappa \varpi
|
[math]\displaystyle{ \varepsilon \digamma \varkappa \varpi \! }[/math] |
\varrho \varsigma \vartheta \varphi
|
[math]\displaystyle{ \varrho \varsigma \vartheta \varphi \! }[/math] |
히브리어 | |
\aleph \beth \gimel \daleth
|
[math]\displaystyle{ \aleph \beth \gimel \daleth \! }[/math] |
칠판체 로마자 | |
\mathbb{ABCDEFGHI} or \Bbb{ABCDEFGHI}
|
[math]\displaystyle{ \mathbb{ABCDEFGHI} \! }[/math] |
\mathbb{JKLMNOPQR}
|
[math]\displaystyle{ \mathbb{JKLMNOPQR} \! }[/math] |
\mathbb{STUVWXYZ}
|
[math]\displaystyle{ \mathbb{STUVWXYZ} \! }[/math] |
볼드체 로마자 | |
\mathbf{ABCDEFGHI}
|
[math]\displaystyle{ \mathbf{ABCDEFGHI} \! }[/math] |
\mathbf{JKLMNOPQR}
|
[math]\displaystyle{ \mathbf{JKLMNOPQR} \! }[/math] |
\mathbf{STUVWXYZ}
|
[math]\displaystyle{ \mathbf{STUVWXYZ} \! }[/math] |
\mathbf{abcdefghijklm}
|
[math]\displaystyle{ \mathbf{abcdefghijklm} \! }[/math] |
\mathbf{nopqrstuvwxyz}
|
[math]\displaystyle{ \mathbf{nopqrstuvwxyz} \! }[/math] |
\mathbf{0123456789}
|
[math]\displaystyle{ \mathbf{0123456789} \! }[/math] |
볼드체 그리스어 | |
\boldsymbol{\Alpha\Beta\Gamma\Delta\Epsilon\Zeta\Eta\Theta}
|
[math]\displaystyle{ \boldsymbol{\Alpha\Beta\Gamma\Delta\Epsilon\Zeta\Eta\Theta} \! }[/math] |
\boldsymbol{\Iota\Kappa\Lambda\Mu\Nu\Xi\Pi\Rho}
|
[math]\displaystyle{ \boldsymbol{\Iota\Kappa\Lambda\Mu\Nu\Xi\Pi\Rho} \! }[/math] |
\boldsymbol{\Sigma\Tau\Upsilon\Phi\Chi\Psi\Omega}
|
[math]\displaystyle{ \boldsymbol{\Sigma\Tau\Upsilon\Phi\Chi\Psi\Omega} \! }[/math] |
\boldsymbol{\alpha\beta\gamma\delta\epsilon\zeta\eta\theta}
|
[math]\displaystyle{ \boldsymbol{\alpha\beta\gamma\delta\epsilon\zeta\eta\theta} \! }[/math] |
\boldsymbol{\iota\kappa\lambda\mu\nu\xi\pi\rho}
|
[math]\displaystyle{ \boldsymbol{\iota\kappa\lambda\mu\nu\xi\pi\rho} \! }[/math] |
\boldsymbol{\sigma\tau\upsilon\phi\chi\psi\omega}
|
[math]\displaystyle{ \boldsymbol{\sigma\tau\upsilon\phi\chi\psi\omega} \! }[/math] |
\boldsymbol{\varepsilon\digamma\varkappa\varpi}
|
[math]\displaystyle{ \boldsymbol{\varepsilon\digamma\varkappa\varpi} \! }[/math] |
\boldsymbol{\varrho\varsigma\vartheta\varphi}
|
[math]\displaystyle{ \boldsymbol{\varrho\varsigma\vartheta\varphi} \! }[/math] |
기울임체 로마자 | |
\mathit{0123456789}
|
[math]\displaystyle{ \mathit{0123456789} \! }[/math] |
기울임체 그리스어 | |
\mathit{\Alpha\Beta\Gamma\Delta\Epsilon\Zeta\Eta\Theta}
|
[math]\displaystyle{ \mathit{\Alpha\Beta\Gamma\Delta\Epsilon\Zeta\Eta\Theta} \! }[/math] |
\mathit{\Iota\Kappa\Lambda\Mu\Nu\Xi\Pi\Rho}
|
[math]\displaystyle{ \mathit{\Iota\Kappa\Lambda\Mu\Nu\Xi\Pi\Rho} \! }[/math] |
\mathit{\Sigma\Tau\Upsilon\Phi\Chi\Psi\Omega}
|
[math]\displaystyle{ \mathit{\Sigma\Tau\Upsilon\Phi\Chi\Psi\Omega} \! }[/math] |
로만체 | |
\mathrm{ABCDEFGHI}
|
[math]\displaystyle{ \mathrm{ABCDEFGHI} \! }[/math] |
\mathrm{JKLMNOPQR}
|
[math]\displaystyle{ \mathrm{JKLMNOPQR} \! }[/math] |
\mathrm{STUVWXYZ}
|
[math]\displaystyle{ \mathrm{STUVWXYZ} \! }[/math] |
\mathrm{abcdefghijklm}
|
[math]\displaystyle{ \mathrm{abcdefghijklm} \! }[/math] |
\mathrm{nopqrstuvwxyz}
|
[math]\displaystyle{ \mathrm{nopqrstuvwxyz} \! }[/math] |
\mathrm{0123456789}
|
[math]\displaystyle{ \mathrm{0123456789} \! }[/math] |
산세리프체 | |
\mathsf{ABCDEFGHI}
|
[math]\displaystyle{ \mathsf{ABCDEFGHI} \! }[/math] |
\mathsf{JKLMNOPQR}
|
[math]\displaystyle{ \mathsf{JKLMNOPQR} \! }[/math] |
\mathsf{STUVWXYZ}
|
[math]\displaystyle{ \mathsf{STUVWXYZ} \! }[/math] |
\mathsf{abcdefghijklm}
|
[math]\displaystyle{ \mathsf{abcdefghijklm} \! }[/math] |
\mathsf{nopqrstuvwxyz}
|
[math]\displaystyle{ \mathsf{nopqrstuvwxyz} \! }[/math] |
\mathsf{0123456789}
|
[math]\displaystyle{ \mathsf{0123456789} \! }[/math] |
산세리프체 그리스어 | |
\mathsf{\Alpha \Beta \Gamma \Delta \Epsilon \Zeta \Eta \Theta}
|
[math]\displaystyle{ \mathsf{\Alpha \Beta \Gamma \Delta \Epsilon \Zeta \Eta \Theta} \! }[/math] |
\mathsf{\Iota \Kappa \Lambda \Mu \Nu \Xi \Pi \Rho}
|
[math]\displaystyle{ \mathsf{\Iota \Kappa \Lambda \Mu \Nu \Xi \Pi \Rho} \! }[/math] |
\mathsf{\Sigma \Tau \Upsilon \Phi \Chi \Psi \Omega}
|
[math]\displaystyle{ \mathsf{\Sigma \Tau \Upsilon \Phi \Chi \Psi \Omega}\! }[/math] |
흘림체 | |
\mathcal{ABCDEFGHI}
|
[math]\displaystyle{ \mathcal{ABCDEFGHI} \! }[/math] |
\mathcal{JKLMNOPQR}
|
[math]\displaystyle{ \mathcal{JKLMNOPQR} \! }[/math] |
\mathcal{STUVWXYZ}
|
[math]\displaystyle{ \mathcal{STUVWXYZ} \! }[/math] |
흑자체 | |
\mathfrak{ABCDEFGHI}
|
[math]\displaystyle{ \mathfrak{ABCDEFGHI} \! }[/math] |
\mathfrak{JKLMNOPQR}
|
[math]\displaystyle{ \mathfrak{JKLMNOPQR} \! }[/math] |
\mathfrak{STUVWXYZ}
|
[math]\displaystyle{ \mathfrak{STUVWXYZ} \! }[/math] |
\mathfrak{abcdefghijklm}
|
[math]\displaystyle{ \mathfrak{abcdefghijklm} \! }[/math] |
\mathfrak{nopqrstuvwxyz}
|
[math]\displaystyle{ \mathfrak{nopqrstuvwxyz} \! }[/math] |
\mathfrak{0123456789}
|
[math]\displaystyle{ \mathfrak{0123456789} \! }[/math] |
작은 글자 | |
{\scriptstyle\text{abcdefghijklm}}
|
[math]\displaystyle{ {\scriptstyle\text{abcdefghijklm}} }[/math] |
괄호 쓰기
기능 | 문법 | 나타나는 모양 |
---|---|---|
좋지 않음. | ( \frac{1}{2} )
|
[math]\displaystyle{ ( \frac{1}{2} ) }[/math] |
좋음. | \left( \frac{1}{2} \right)
|
[math]\displaystyle{ \left ( \frac{1}{2} \right ) }[/math] |
\left
와 \right
를 사용하여, 여러 가지 괄호를 사용할 수 있습니다.
기능 | 문법 | 나타나는 모양 |
---|---|---|
괄호 | \left( A \right)
|
[math]\displaystyle{ \left( A \right) }[/math] |
사각 괄호 | \left[ A \right]
|
[math]\displaystyle{ \left[ A \right] }[/math] |
집합괄호 | \left\{ A \right\} (주의: \ 필요) |
[math]\displaystyle{ \left\{ A \right\} }[/math] |
부등호 괄호 | \left\langle A \right\rangle
|
[math]\displaystyle{ \left\langle A \right\rangle }[/math] |
바 | \left| A \right|
|
[math]\displaystyle{ \left| A \right| }[/math] |
\left. 혹은 \right. 라고 쓰면, 그 쪽 괄호는 나타나지 않습니다.
|
\left. {A \over B} \right\} \to X
|
[math]\displaystyle{ \left. {A \over B} \right\} \to X }[/math] |
빈칸조정
[math]\displaystyle{ {\mathrm{T\!_{\displaystyle E} \! X}} }[/math] 은 빈칸의 크기를 자동으로 조정합니다. 특별히 조정이 필요한 경우는 다음을 사용하면 됩니다.
기능 | 문법 | 나타나는 모양 |
---|---|---|
double quad space | a \qquad b
|
[math]\displaystyle{ a \qquad b }[/math] |
quad space | a \quad b
|
[math]\displaystyle{ a \quad b }[/math] |
text space | a\ b
|
[math]\displaystyle{ a\ b }[/math] |
large space | a\;b
|
[math]\displaystyle{ a\;b }[/math] |
medium space | a\>b |
[not supported] |
small space | a\,b
|
[math]\displaystyle{ a\,b }[/math] |
no space | ab
|
[math]\displaystyle{ ab\, }[/math] |
negative space | a\!b
|
[math]\displaystyle{ a\!b }[/math] |