宏包:
\usepackage[colorlinks,linkcolor=black]{hyperref}%索引跳转
\geometry{a4paper,scale=0.8}%页面大小设置
\usepackage[UTF8]{ctex}%支持中文宏包
\usepackage{amsmath,amsthm,amssymb}%数学公式宏包
\usepackage{color}%颜色\color{blue}{content}
\documentclass{article}
%\documentclass[a4paper,12pt]{article}
\usepackage{xeCJK}%有时候需要注释掉
\usepackage[UTF8]{ctex}
\usepackage{geometry}
\geometry{a4paper,scale=0.8}
\usepackage{amsmath,amsthm}
\usepackage{amssymb,amsfonts}
\usepackage{mathrsfs}
\usepackage[colorlinks,linkcolor=black]{hyperref}
\usepackage{float}
\usepackage{graphicx}
\usepackage{subfigure}
中文文档标题显示与取消默认时间显示:
\title{测试文件}
\author{eku}
%正文区
%一个latex文件有且只能又一个document文件
\begin{document}%正文
\date{}%标题不显示时间
\maketitle%显示标题
\footnote{http://}
1.帮助文档查看:
cmd-->texdoc lshort-zh
cmd -->texdoc ctex 宏包手册
2.定理,证明等
\usepackage{amsthm}%数学定理
\newtheorem{theorem}{Theorem}
\newtheorem{definition}{Definition}
\newtheorem{lem}{Lemma}
\newtheorem*{pf}{Proof} %证明不生成编号
\begin{theorem}
内容...
\end{theorem}
\begin{pf}
内容...
\end{pf}
3.公式对齐
3.1
\begin{align}
\overline{apr}_{B}^{\beta}\,([X]_{L_i}) &= \{x_{i} \mid \forall x_{i}\in U, \forall L_{i}\in L, \delta_{B}(x_{i})\cap [X]_{L_i} \neq \phi \},\\
\underline{apr}_{B}^{\beta}\,([X]_{L_i}) &= \{x_{i} \mid \forall x_{i}\in U, \forall L_{i}\in L, \delta_{B}(x_{i})\subseteq [X]_{L_i} \}.
\end{align}
按照等号位置对齐
3.2
\begin{equation}
\begin{aligned}
& \underline{apr}_{B}^{\beta}\,([X]_{L_i}) \subseteq [X]_{L_i} \subseteq \overline{apr}_{B}^{\beta}\,([X]_{L_i}) \\
& \underline{apr}_{B}^{\beta}\,(\phi) = \overline{apr}_{B}^{\beta}\,(\phi) = \phi, \ \underline{apr}_{B}^{\beta}\,(U) = \overline{apr}_{B}^{\beta}\,(U) = U \\
& \overline{apr}_{B}^{\beta}\,([X]_{L_i}\cup [Y]_{L_i}) = \overline{apr}_{B}^{\beta}\,([X]_{L_i}) \cup \overline{apr}_{B}^{\beta}\,([Y]_{L_i})
\end{aligned}
\end{equation}
4.插入图片
\usepackage{graphicx}%语法:\includegraphics[<选项>]{<文件名>}%格式:EPS,PDF,PNG,JPEG,BMP
\graphicspath{{figure}}%图片在此路径下
\usepackage{float}%设置图片浮动位置的宏包
\begin{figure}[H](浮动)
\centering
\includegraphics[scale=0.09(缩放尺度)]{文件名(可不加后缀)}
\caption{标题}
\label{fig:1}%用于文内引用的标签
\end{figure}
5.参考文献(英文,Elsevier为例)
\bibliographystyle{elsarticle-num}%参考文献
\begin{document}
\bibliography{fdmlreference} % % 要有references文件, 这个是bib参考文献的名字
\end{document}
6.
\section*{Acknowledgment}
7.空格
8.有序列表
\begin{enumerate}
\item[$\bullet$] A is greater than B A is greater than B A is greater than B A is greater than B A is greater than B A is greater than B A is greater than B A is greater than B A is greater than B A is greater than B A is greater than B
\item[$\bullet$] B is greater than C
\item[$\bullet$] C is greater than D
\end{enumerate}