Chủ đề cách gõ công thức Toán bằng Latex được nhiều bạn đọc của Diễn đàn Toán học quan tâm. Bài này sẽ nêu cách gõ một số công thức, kí hiệu...
Chủ đề cách gõ công thức Toán bằng Latex được nhiều bạn đọc của Diễn đàn Toán học quan tâm. Bài này sẽ nêu cách gõ một số công thức, kí hiệu toán học cơ bản, dành cho người mới học gõ LaTEX.
Để hiển thị được kí hiệu toán thì tất cả các code dưới đây phải được đặt giữa cặp dấu \$ , chẳng hạn \$x^2\$ sẽ cho kết quả là x^2.
x^2, x^3, ..., x^n
x_1, x_2, C_5^3
Cách gõ
\lt, \gt \\ \ge, \geqslant \\ \le, \leqslant \\ \ne \\ \equiv \\ \times \\ \vdots \\ \approx \\ \sim \ \backsim
\oplus \ \otimes \ \ddots \ \cdots \ \ldots
\Rightarrow \\ \rightarrow \\ \Leftarrow
\Leftrightarrow \\ \leftrightarrow
\frac{a}{b} \\ \dfrac{c}{d}
\left ( x^3-2x^2+\dfrac{1}{2} \right )^4
\sqrt{x}, \sqrt[3]{x}, ..., \sqrt[n]{x}
\displaystyle \lim_{x\to -\infty}(x^4-x^2+1)=+\infty
\displaystyle \int \ln x dx
\displaystyle \int_0^1 e^x dx=e^x \left |_0^1\right.\\ \displaystyle \iint, \iiint, \oint
\displaystyle \sum_{n=1}^\infty \frac{n}{e^{2n}}
\displaystyle \prod_{n=1}^\infty \frac{\sqrt{n}}{3^{n!}}
\begin{cases} x+y& = 5\\ x-y& = 3 \end{cases}
\left[ \begin{matrix} x - 1&= 0 & (*)\\ x^3+x&= 0 & (**)\\ \end{matrix} \right.
\begin{bmatrix} 1& 2& 3\\ 4& 5& 6 \end{bmatrix}
\begin{vmatrix} 1 & 2\\ 3 & 4 \end{vmatrix}
\in , \notin , \subset , \not\subset
\cup, \cap\\ \displaystyle \bigcup_{k=1}^n A_k, \bigcap_{k=1}^n B_k
\vee, \wedge
\infty, +\infty, -\infty, \pm \infty
\alpha, \beta, \gamma, \delta, \epsilon, ..., \lambda, \pi, \phi, \varphi,...
\Gamma, \Delta, \Omega, \Pi, \Phi, \Sigma, ...
\mathcal{A},\mathcal{B},\mathcal{C},\mathcal{P},\mathcal{Q}, \mathcal{R},...
S=\{1;2;3;4;5\}
\emptyset \\ \varnothing \\ \{\}
\mathbb{N},\mathbb{Z}, \mathbb{Q},\mathbb{R},\mathbb{C}
\sin x, \cos x, \tan x, \cot x, \arcsin x,...
\ln x, \log x, \log_2 x
\bar{A}
\hat{A}\\ \widehat{ABC}\\ \angle \ \ \measuredangle \ \ \sphericalangle
45^\circ\\ 90^\circ
\triangle ABC \\ \bigtriangleup MNP
\square \ \ \bigcirc
\bot \ \ \parallel
\stackrel\frown{AB} \\ \overset\frown{CD}
\overset\curvearrowright{AB}
\vec{a}\\ \vec{AB}\\ \overrightarrow{MN}
\overline{AB}
a^n=\underset{n \text{ lần}}{\underbrace{a.a...a}}
\vec{a} \cdot \vec{b}\\ \langle x,y \rangle
\because \\ \therefore
\boxed{x=81}
Để hiển thị được kí hiệu toán thì tất cả các code dưới đây phải được đặt giữa cặp dấu \$ , chẳng hạn \$x^2\$ sẽ cho kết quả là x^2.
Mũ
Cách gõ[x^2, x^3, ..., x^n]Hiển thị
x^2, x^3, ..., x^n
Chỉ số
Cách gõ[x_1, x_2, C_5^3]Hiển thị
x_1, x_2, C_5^3
Dấu
Bé hơn, lớn hơn, lớn hơn hoặc bằng, bé hơn hoặc bằng, khác, trùng, nhân, chia hết, gần bằng (xấp xỉ), đồng dạngCách gõ
[\lt , \gt \ge , \geqslant \le , \leqslant \ne \equiv \times \vdots \approx \sim \backsim ]Hiển thị
\lt, \gt \\ \ge, \geqslant \\ \le, \leqslant \\ \ne \\ \equiv \\ \times \\ \vdots \\ \approx \\ \sim \ \backsim
Dấu khác
Cách gõ[\oplus \otimes \ddots \cdots \ldots]Hiển thị
\oplus \ \otimes \ \ddots \ \cdots \ \ldots
Dấu suy ra
Cách gõ[\Rightarrow \rightarrow \Leftarrow]Hiển thị
\Rightarrow \\ \rightarrow \\ \Leftarrow
Dấu tương đương
Cách gõ[\Leftrightarrow \leftrightarrow]Hiển thị
\Leftrightarrow \\ \leftrightarrow
Phân số
Cách gõ[\frac{a}{b} \dfrac{c}{d}]Hiển thị
\frac{a}{b} \\ \dfrac{c}{d}
Ngoặc lớn
Cách gõ[ \left ( x^3-2x^2+\dfrac{1}{2} \right )^4]Hiển thị
\left ( x^3-2x^2+\dfrac{1}{2} \right )^4
Căn thức
Cách gõ[\sqrt{x}, \sqrt[3]{x}, ..., \sqrt[n]{x}]Hiển thị
\sqrt{x}, \sqrt[3]{x}, ..., \sqrt[n]{x}
Giới hạn
Cách gõ[\lim_{x\to -\infty}(x^4-x^2+1)=+\infty]Hiển thị
\displaystyle \lim_{x\to -\infty}(x^4-x^2+1)=+\infty
Tích phân
Cách gõ[\int \ln x dx \int_0^1 e^x dx=e^x|_0^1 \iint, \iiint, \oint]Hiển thị
\displaystyle \int \ln x dx
\displaystyle \int_0^1 e^x dx=e^x \left |_0^1\right.\\ \displaystyle \iint, \iiint, \oint
Tổng
Cách gõ[\sum_{n=1}^\infty \frac{n}{e^{2n}}]Hiển thị
\displaystyle \sum_{n=1}^\infty \frac{n}{e^{2n}}
Tích
Cách gõ[\prod_{n=1}^\infty \frac{2n}{3^{n!}}]Hiển thị
\displaystyle \prod_{n=1}^\infty \frac{\sqrt{n}}{3^{n!}}
Hệ
Cách gõ[\begin{cases} x+y& = 5\\ x-y& = 3 \end{cases}]Hiển thị
\begin{cases} x+y& = 5\\ x-y& = 3 \end{cases}
Tuyển
Cách gõ[ \left[ \begin{matrix} x - 1&= 0 & (*)\\ x^3+x&= 0 & (**)\\ \end{matrix} \right.]Hiển thị
\left[ \begin{matrix} x - 1&= 0 & (*)\\ x^3+x&= 0 & (**)\\ \end{matrix} \right.
Ma trận
Cách gõ[\begin{bmatrix} 1& 2& 3\\ 4& 5& 6 \end{bmatrix}]Hiển thị
\begin{bmatrix} 1& 2& 3\\ 4& 5& 6 \end{bmatrix}
Định thức
Cách gõ[ \begin{vmatrix} 1 & 2\\ 3 & 4 \end{vmatrix}]Hiển thị
\begin{vmatrix} 1 & 2\\ 3 & 4 \end{vmatrix}
Thuộc, con
Cách gõ[\in , \notin , \subset , \not\subset]Hiển thị
\in , \notin , \subset , \not\subset
Hợp, giao
Cách gõ[\cup, \cap \bigcup_{k=1}^n A_k, \bigcap_{k=1}^n B_k]Hiển thị
\cup, \cap\\ \displaystyle \bigcup_{k=1}^n A_k, \bigcap_{k=1}^n B_k
Hoặc, và
Cách gõ[\vee, \wedge ]Hiển thị
\vee, \wedge
Vô cực
Cách gõ[\infty, +\infty, -\infty, \pm \infty]Hiển thị
\infty, +\infty, -\infty, \pm \infty
Chữ Hy Lạp thường
Cách gõ[\alpha, \beta, \gamma, \delta, \epsilon,..., \lambda, \pi, \phi, \varphi, ...]Hiển thị
\alpha, \beta, \gamma, \delta, \epsilon, ..., \lambda, \pi, \phi, \varphi,...
Chữ Hy Lạp hoa
Cách gõ[\Gamma, \Delta, \Omega, \Pi, \Phi, \Sigma, ... ]Hiển thị
\Gamma, \Delta, \Omega, \Pi, \Phi, \Sigma, ...
Chữ hoa
Cách gõ[\mathcal{A},\mathcal{B}, \mathcal{C}, \mathcal{P},\mathcal{Q}, \mathcal{R},...]Hiển thị
\mathcal{A},\mathcal{B},\mathcal{C},\mathcal{P},\mathcal{Q}, \mathcal{R},...
Tập hợp
Cách gõ[S=\{1;2;3;4;5\}]Hiển thị
S=\{1;2;3;4;5\}
Tập rỗng
Cách gõ[\emptyset \varnothing \{\}]Hiển thị
\emptyset \\ \varnothing \\ \{\}
Tập số
Cách gõ[\mathbb{N},\mathbb{Z}, \mathbb{Q},\mathbb{R},\mathbb{C}]Hiển thị
\mathbb{N},\mathbb{Z}, \mathbb{Q},\mathbb{R},\mathbb{C}
Hàm lượng giác
Cách gõ[\sin x, \cos x, \tan x, \cot x, \arcsin x,...]Hiển thị
\sin x, \cos x, \tan x, \cot x, \arcsin x,...
Hàm logarit
Cách gõ[\ln x, \log x, \log_2 x ]Hiển thị
\ln x, \log x, \log_2 x
Biến cố đối
Cách gõ[\bar{A}]Hiển thị
\bar{A}
Góc
Cách gõ[\hat{A} \widehat{ABC} \angle \measuredangle \sphericalangle]Hiển thị
\hat{A}\\ \widehat{ABC}\\ \angle \ \ \measuredangle \ \ \sphericalangle
Kí hiệu độ
Cách gõ[45^\circ 90^\circ]Hiển thị
45^\circ\\ 90^\circ
Kí hiệu tam giác
Cách gõ[\triangle ABC \bigtriangleup MNP]Hiển thị
\triangle ABC \\ \bigtriangleup MNP
Hình vuông, hình tròn
Cách gõ[\square \bigcirc ]Hiển thị
\square \ \ \bigcirc
Vuông góc, song song
Cách gõ[ \bot \parallel]Hiển thị
\bot \ \ \parallel
Cung tròn
Cách gõ[\stackrel\frown{AB} \overset\curve{CD}]Hiển thị
\stackrel\frown{AB} \\ \overset\frown{CD}
Cung lượng giác
Cách gõ[\overset\curvearrowright{AB}]Hiển thị
\overset\curvearrowright{AB}
Vectơ
Cách gõ[\vec{a} \vec{AB} \overrightarrow{MN}]Hiển thị
\vec{a}\\ \vec{AB}\\ \overrightarrow{MN}
Độ dài đại số
Cách gõ[\overline{AB}]Hiển thị
\overline{AB}
Chú thích
Cách gõ[a^n=\underset{n \text{ lần}}{\underbrace{a.a...a}}]Hiển thị
a^n=\underset{n \text{ lần}}{\underbrace{a.a...a}}
Tích vô hướng
Cách gõ[\vec{a} \cdot \vec{b} \langle x,y \rangle]Hiển thị
\vec{a} \cdot \vec{b}\\ \langle x,y \rangle
Bởi vì, vì vậy
Cách gõ[\because \therefore]Hiển thị
\because \\ \therefore
Đóng khung đáp số
Cách gõ[\boxed{x=81}]Hiển thị
\boxed{x=81}
Theo MathVn. Người đăng: Mr. Math.