LaTeX Note
本Note仅对用过的语法、宏包等做备忘,以及一些总结:
- 基础知识
- 排版相关
- 数学相关
- 图片相关
- 其他
基础知识
{}:必选参数
[]:可选参数
$ $:行内公式
$$ $$:单行公式
空白符基本没什么卵用
\\:换行
排版相关
“` tex
\documentclass{article}
\title{firstTest}
\author{treasuresss }
\date{January 2016}
\begin{document} %开始文章
\maketitle %生成标题
\tableofcontents %生成目录
\section{Hello China} China is in East Asia. %大节
\subsection{Hello Beijing} Beijing is the capital of China. %小节
\subsubsection{Hello Dongcheng District} %小小节
\paragraph{Tian’anmen Square}is in the center of Beijing %段落
\subparagraph{Chairman Mao} is in the center of Tian’anmen Square %副段落
\subsection{Hello Guangzhou}
\paragraph{Sun Yat-sen University} is the best university in Guangzhou.
\section{Conclusion}
I am handsome!
\end{document} %结束文章