Link download MiKTeX: https://miktex.org/download
Using visual searching extension LaTeX Workshop by James Yu
Config LaTeX Workshop to using XeLaTeX
using shortcut: Ctrl + Shift + P
Searching: Preferences: Open User Settings (JSON)
Insert code:
"latex-workshop.latex.tools": [
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"%DOC%"
]
}
],
"latex-workshop.latex.recipes": [
{
"name": "XeLaTeX",
"tools": [
"xelatex"
]
}
]
Using shortcut: Ctrl + Shipt + P
Searching: LaTeX Workshop: Build with recipe
Select: XeLaTeX
using shortcutCtrl + Alt + B
\documentclass[12pt,a4paper]{book}
% font
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{vietnamese}
\setmainfont{Times New Roman}
% Math
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{mathtools}
% Image
\usepackage{graphicx}
\usepackage{float}
% Table
\usepackage{booktabs}
\usepackage{longtable}
% Code Python
\usepackage{listings}
% Format title
\usepackage{titlesec}
% Link
\usepackage{hyperref}
% Margin
\usepackage[
top=2.5cm,
bottom=2.5cm,
left=3cm,
right=2cm
]{geometry}
\chapter{Chapter Name}
\section{Section Name}
\subsection{Subject Section Name}
\subsubsection{Smalles Subject Section Name}
\textbf{Bold}
\textit{Italic}
\textbf{\textit{Bold and Italic}}
\underline{Unerline}
Formular inline
$R^2$
Formular block
\[
R^2 = 1-\frac{SSE}{SST}
\]
Formular with Order number
\begin{equation}
R^2 = 1-\frac{SSE}{SST}
\end{equation}
$x^2$ % x²
$x_i$ % xᵢ
$x_{ij}$ % xᵢⱼ
$\frac{a}{b}$ % phân số
$\sqrt{x}$ % căn
$\sum_{i=1}^{n}$ % tổng
$\prod_{i=1}^{n}$ % tích
$\bar{x}$ % x ngang
$\hat{x}$ % x mũ
$\vec{x}$ % vector
$\alpha$ % alpha
$\beta$ % beta
$\theta$ % theta
$\mu$ % mu
$\sigma$ % sigma
| Ký hiệu | Tiếng Anh |
| ------------- | ------------------------- |
| (+) | plus sign |
| (-) | minus sign |
| (\times) | multiplication sign |
| (\div) | division sign |
| (=) | equal sign |
| (\neq) | not equal to |
| (<) | less than |
| (>) | greater than |
| (\leq) | less than or equal to |
| (\geq) | greater than or equal to |
| (\sum) | summation |
| (\prod) | product |
| (\sqrt{x}) | square root |
| (\frac{a}{b}) | fraction |
| (\infty) | infinity |
| (\alpha) | alpha |
| (\beta) | beta |
| (\mu) | mu |
| (\sigma) | sigma |
| (\theta) | theta |
| (\bar{x}) | x-bar |
| (\hat{x}) | x-hat |
| (\partial) | partial derivative symbol |
| (\nabla) | nabla / gradient operator |
\begin{itemize}
\item Python
\item NumPy
\item Pandas
\end{itemize}
\begin{enumerate}
\item Thu thập dữ liệu
\item Tiền xử lý
\item Huấn luyện
\item Đánh giá
\end{enumerate}