작심삼일

Latex 수식 관련 모든 것 본문

정리/기타 설정 등등

Latex 수식 관련 모든 것

yun_s 2021. 8. 4. 10:26
728x90
반응형

논문을 정리하다보면 수식을 쓸 일이 많은데, 나는 이 때 latex를 사용한다.

그럴 때마다 매번 구글링하기 귀찮아서 내가 사용해본 것들을 정리한다.

나중에 점점 추가될수도..?


글씨체

  로마자 그리스어 숫자
기본 latex ABCD ΓΔΘ 0123
\mathbf ABCD ΓΔΘ 0123
\mathbb ABCD ΓΔΘ 0123
\mathit ABCD ΓΔΘ 0123
\mathcal ABCD ΓΔΘ 0123

괄호

(12): ( \frac{1}{2} )

(12): \left( \frac{1}{2} \right)

 

[A]: \left[ A \right]

{A}: \left\{ A \right\}

A: \left\langle A \right\rangle

|A|: \left| A \right|

): \left. \right)

A: \lfloor A \rfloor

A: \lceil A \rceil


분수, 행렬 등등

24: \frac{2}{4} or {\over 4}

{n \choose k}: {\choose k}

\begin{pmatrix} x & y \\ z & v \end{pmatrix}: \begin{pmatrix} x & y \\ z & v \end{pmatrix}

\begin{Bmatrix} x & y \\ z & v \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{Vmatrix} x & y \\ z & v \end{Vmatrix}: \begin{Vmatrix} x & y \\ z & v \end{Vmatrix}

\begin{matrix} x & y \\ z & v \end{matrix}: \begin{matrix} x & y \\ z & v \end{matrix}

 

f(n)= \begin{cases} a, & x<0 \\ b, & x>0 \end{cases}: f(n)= \begin{cases} a, & x<0 \\ b, & x>0 \end{cases}


줄맞춤

\begin{align} f(n+1) &= (n+1)^2 \\ &=n^2 + 2n+1 \end{align}: \begin{align} f(n+1) &=(n+1)^2 \\ &=n^2 + 2n + 1 \end{align}


화살표

\rightarrow\to,\nrightarrow: \rightarrow\to\nrightarrow

\leftarrow \gets, \nleftarrow: \leftarrow \gets, \nleftarrow

\leftrightarrow, \nleftrightarrow, \longleftrightarrow: \leftrightarrow, \nleftrightarrow, \longleftrightarrow


특수 기호

\infty: \infty


관계 연산자

=, \ne, \neq, \equiv, \not\equiv: =, \ne, \neq, \equiv, \not\equiv

\doteq, \doteqdot, :=: \doteq, \doteqdot, :=

 

\approx, \thickapprox, \approxeq, \propto, \varpropto: \approx, \thickapprox, \approxeq, \propto, \varpropto

\le, \leq, \leqq, \ge, \geq, \geqq: \le, \leq, \leqq, \ge, \geq, \geqq

 

\in, \notin, \ni, \not\ni: \in, \notin, \ni, \not\ni

\cap, \Cap, \bigcap: \cap, \Cap, \bigcap

\cup, \Cup, \bigcup: \cup, \Cup, \bigcup

\subset, \not\subset, \supset, \not\supset: \subset, \not\subset, \supset, \not\supset

\subseteq, \nsubseteq, \supseteq, \nsupseteq: \subseteq, \nsubseteq, \supseteq, \nsupseteq


특수문자

\dot{a}, \ddot{a}, \acute{a}, \grave{a}: \dot{a}, \ddot{a}, \acute{a}, \grave{a}

\check{a}, \breve{a}, \tilde{a}, \bar{a}: \check{a}, \breve{a}, \tilde{a}, \bar{a}

\hat{a}, \widehat{a}, \vec{a}: \hat{a}, \widehat{a}, \vec{a}

\underset{x}{\arg\max}: \underset{x}{\arg\max}


미분

\partial: \partial

\nabla: \nabla


적분

\int: \int

\iint: \iint

728x90
반응형
Comments