列舉可以簡單解決的latex問題
必備宏包
- 無腦usepackage
- ctex:一般都需要用這個建立漢語環境
- graphicx:一般都需要這個用來插圖
- amsfonts, amsmath:公式必備
- 特定功能
- enumerate:
begin enumerate, item, item, end
- hyperref
- url:
\url{xx.com}
- enumerate:
公式
基本
\$
文內,\$\$
換行居中,equation
換行居中編號- 善用
left+aligned+right
,cases
Q:公式(equation或$$)裏面的換行符\\
不起作用了
A:\usepackage{amsmath}
插圖
\begin{figure}[htbp]
\centering
\includegraphics[width=0.8\textwidth]{fig1.png}
\caption{Some Illustration.}
\label{fig1}
\end{figure}