
Math Packages¶
\usepackage{amssymb}
popular math fonts
\usepackage{dsfont}
\mathdsfont
\usepackage{bm} % bold math symbols
bold math symbols
\usepackage{amsmath}
math formulas.
\usepackage{amsthm}
theorem environments
proof enviroment
List Packages¶
\usepackage{enumerate}
universal list
Graphics Packages¶
\usepackage{ifpdf}
allow including figures without extensions and select the right type of figures according to the compiler used
\usepackage{graphicx}
for including pictures
the graphics driver is selected automatically if none is specified (via arguments of the package)
\usepackage{psfrag}
for editing eps figures in Latex (e.g., replacing text)
need to compile using command
latex,dvipsandps2pdfin sequence
\usepackage{epsfig}
for including eps figures
Bibliography¶
\usepackage{natbib}
for citing refernce
compatible with bibtex
compile using
pdflatex/latex,bibtex,pdflatex/latex,pdflatex/latex,pdflatex/latexin sequencesome Latex IDE (e.g., WinEdt) has a single button/command (PDFTexify) for simplifying the compiling process
Color¶
\usepackage[usenames,dvipsnames]{color}
using color by name
Mutiple Files¶
You can use command
\inputor\includeto include Latex source files. Generally speaking,\inputis preferred over\include.\usepackage{subfiles} For more information, please refer to wiki book.
Chinese Packages¶
\usepackage{xeCJK}
no need if use ctexart, ctexbook and so on
\usepackage{fontspec}
choose font theme
\setCJKmainfont{Adobe Song Std}
use adobe fonts as the main font