常用Latex命令
主体框架
准备部分
\document[]{}
—-定义文档属性和类型
e.g.\document[titlepage,11pt]{article}
(有标题页,字体11pt,文章类型)\usepakage{}
—-导入需要的宏文件
e.g.\usepackage{graphicx}
(导入一个关于插入图片的包)文档内容
- 文档开始:
\begin{document}
文档结束:\end{docuemnt}
- 标题页:
\title{}
\author{}
\date{}
\maketitle - 章节段落:
\section{}
\paragraph{}
局部需求
命令 | 作用 |
---|---|
\em |
斜体 |
\large |
大号字体 |
\bfseries |
加粗 |
\today |
当前日期 |
\thanks |
添加页脚 |
\centerline{} |
居中 |
\begin{itemize} \item \end{itemize} |
列表 |
\includegraphics |
插入图片 |
\fbox{} |
插入框 |
\tableofcontents |
设置目录 |
\addcontentsline{toc}{level}{name} |
加入目录中 |
begin{tabular}{ccc} \toprule \midrule \bottomrule end{tabular} |
表格,内容以&分隔 |