Latex + IEEEtran模板 + 样例 + 数学符号表

用Latex写一篇IEEEtran模板的文章,根据师兄楚楚可薇的文章记录一些事宜,便于日后查看,如有总结错误的地方,欢迎指正。
【2022.9.22 追加前言】根据第7部分中的样例全文基本可以学会使用该博客讲到的知识点,但标题中带有(更)的部分建议再看一眼,里面有后续遇到的问题的注意事项,第8部分为写论文时特殊符号写法的索引,第9部分为后续补充。文献引用bib格式转bibitem格式移步VS CODE + Latex

1. 引用包

\documentclass[conference,a4paper]{IEEEtran}					%导入IEEEtran的A4格式模板
\usepackage[inner=0.9055in,outer=0.5118in,top=0.5in]{geometry}	%左边距inner,右边距outer,上边距top

\usepackage{amsmath}			%数学公式包
\allowdisplaybreaks[3] 			%导入数学公式包的前提下,允许跨页,1,2,3,4表示允许程度,但equation环境不可换页
								%长公式跨页可用align公式
\usepackage{bbm} 				%粗体、双线体
\usepackage{multirow} 			%纵向合并单元格
\usepackage{booktabs} 			%三线表
\usepackage{color}
\usepackage{amssymb}			%数学定理和证明过程包
\let\labelindent\relax
\usepackage{enumitem}			%调整垂直/水平间距/标签样式

\usepackage{amsthm}								%定理环境
\newtheorem{ownlemma}{Lemma} 					%引理。定理将两个lemma改为theorem 即可
\newtheorem{owncorollary}{Corollary}			%推论
\newtheorem{owndefinition}{Definition} 			%定义
\newtheorem{ownproperty}{Property} 				%性质

\usepackage{algorithm} 							%代码环境
\usepackage[noend]{algpseudocode}				%伪代码中 类似 if...end if去掉end if语句
\renewcommand{\algorithmicrequire}{Input:}
\renewcommand{\algorithmicensure}{Output:}
\renewcommand{\algorithmiccomment}[1]{// #1}	%C语言的注释格式

\bibliographystyle{IEEEtran}					%引用文献格式
\usepackage[numbers, sort & compress]{natbib} 	%压缩引用序号

\usepackage{soul}   			%高亮显示,为提高本文可读性而添加,实际论文不需要该包

2. 文章开始,标题,作者

Latex中,begin和end成对出现。
注意此处的.bib文件需导入所有文章使用到的全部参考文献,写法见VS CODE + Latex第二部分仅使用Latex。下方代码的文件名需与之对应,且存放于同一文件目录下

\begin{document}						%文章开头第一句
...										%文章内容全部位于该位置
\bibliography{NameofReference}			%参考文献.bib文件名
\end{document}							%文章结尾最后一句

标题

\titile{Title of the Paper}

作者

\author{My_name$^\S$,MyTheacher$^\S{}^{*}$\\
$^\S$NameofCollege, NameofSchool\\
}
\maketitle

样例:其中 \\ 表示换行,空一行表示分段

\begin{document}
\title{This is a Sample}
\author{Qiuqiu Qiu$^\S$,San Zhang$^\S{}^{*}$\\
$^\S$School of Electrical Engineering \& Intelligentization, University\\
}
\maketitle  
\end{document}

在这里插入图片描述

3. 引用

所引文献需在 bib 文件中,引用时,若位于句末,则序号在逗号或句号前面;若引用其他文章的定理/引理/推论,例如 \cite[lemma 1]{Name} 表示引用文章NameLemma1.

3.1 文献:

例如:
bib中有文章:

@article{blaum1993new,
  title={{New Array Codes for Multiple Phased Burst Correction}},
  author={Blaum, Mario and Roth, Ron M},
  journal={IEEE Transactions on Information Theory},
  volume={39},
  number={1},
  pages={66--77},
  year={1993},
  publisher={IEEE}
}

引用时:

...decoding method \cite{blaum1993new}.	%括号里为文章别名。

在这里插入图片描述

3.2 脚注:

\foodnote{content of foodnote}

在这里插入图片描述
同一页面最下方有如下显示:
在这里插入图片描述

4. 摘要及关键词

摘要

\begin{abstract}
Here is the abstract of this paper.
...
\end{abstract}

关键词:逗号隔开关键字,最后一个关键词后加句号。

\begin{IEEEkeywords}
keyword1, keyword2, ..., last keyword.
\end{IEEEkeywords}

在这里插入图片描述

5. 正文部分

The main body of the paper :
\section{section 1}
Here is the section 1,usually an introduction.

The second paragraph of this section.\\ 		%空一行表示分段,\\表示换行
The third paragraph of this section.
\section{section 2}
Here is the section 2.
\subsection{subsection 1}
Here is the subsection 1 of section 2.
\subsection{subsection 2}
Here is the subsection 2 of section 2.\\
...
\section{section 3}
Here is the section 3.
\subsection{subsection 1}
Here is the subsection 1 of section 3.
\subsection{subsection 2}
Here is the subsection 2 of section 3.\\
...
\section{section 4}
Here is the section 4.

\section{last section}
Here is the last section,usually an conclusion.

在这里插入图片描述

6. 公式

公式、变量等两端用&夹起来。

例如:

$p$,  $\mathcal{C}(p,n,r)$, $\mathbb{F}_2[x]/M_p(x)$\\   	%注意此处的 F
$M_p(x)=1+x+\cdots+x^{p-1} \:(\bmod\: 1+x^p)$\\   			%居中的点,_下标,^上标
$N_p(x)=1+x+\ldots+x^{p-1}$\\   							%靠下的点

$[c_{i,j}]_{i=0,j=0}^{p-2,n-1},c_[i,j]\in \mathbb{F}_2,n\leq p$\\   % \in 属于,\leq 小于等于 

$c_j(x) = \sum\nolimits_{i=0}^{p-2}c_{i,j}x^i$

(i.e., $c_0(x) = c_{0,0} + c_{1,0}x + c_{2,0}x^2+ \ldots + c_{n-2,0}x^{n-2}$)\\

在这里插入图片描述

6.1 矩阵(更)

2022.09.22更
在编写 “A Matrix” 矩阵时,注意到右下角的一块矩阵使用的是 smallmatrix,这是因为在双栏模板中,如果矩阵较大时使用 bmatrix 会导致部分矩阵超出排版位置,甚至与另一栏中的文字重叠,矩阵没有那么大的时候,右下方的矩阵也用bmatrix即可。

\textbf{Matrix multiplication:}
\[
\mathbf{H}_{r \times n} \cdot   			% 注意区分 \cdot 和 \cdots
\begin{bmatrix}
    c_0(x) & c_1(x) & \cdots & c_{n-1}(x)
\end{bmatrix}^T = \mathbf{0}^T,
\]
\textbf{A Matrix:}
\[
\left[ \begin{array} {c|c}
\mathbf{I}_{\lambda - \ell - 1} & \mathbf{0}  \\ \hline
\mathbf{0} &
\begin{smallmatrix}
\\
1 & 0 & \cdots & 0 & 0 \\
1 & x_{\lambda -\ell}+x_{\lambda - \ell -1} & \cdots & 0 & 0 \\
\vdots & \vdots & \ddots & \vdots & \vdots \\
0 & 0 & \cdots & x_{\lambda-2}+x_{\lambda-\ell-1} & 0 \\
0 & 0 & \cdots & 1 & x_{\lambda-1}+x_{\lambda - \ell - 1}
\end{smallmatrix}
\end{array}
\right],
\]
\textbf{Matrix and equation with number:}
\begin{equation}    							%带编号的等式所需环境
    \mathbf{H}_{r \times n} = 
    \begin{bmatrix}
        1 & 1 & 1 & \cdots & 1 \\
        1 & x & x^2 & \cdots & x^{n-1} \\
        \vdots & \vdots & \vdots & \ddots & \vdots \\
        1 & x^{r-1} & x^{2(r-1)} & \cdots & x^{(n-1)(r-1)}
    \end{bmatrix}
\end{equation}

在这里插入图片描述

6.2 等式

注意区别带编号和不带编号的等式写法,若后文引用当前公式需赋予当前公式标签。

\begin{equation} 
    \sum\limits_{j=0}^{n-1}c_{m-j \cdot \ell, j} =0,     
\end{equation}

where $0 < m \le p-1$ and $r-1 > \ell \ge 0$,   		%实际条件并非如此,且第二个范围理应也写作小于等于,为熟悉这四个符号而写作此
\begin{equation} 
    \prod\nolimits_{j=0}^{n-1}c_{m-j \cdot \ell, j} =0, \nonumber    	% 不加编号
    																	% \limits表示上下标位于\sum符号的上方和下方
    																	% \nolimits表示上下标位于符号右边的上方和下方
\end{equation}
\hl{The above equation is used to display ``prod" and the differences between ``limits" and ``nolimits".}
\begin{equation}\label{fastdivision}    	%赋予公式标签名,便于后文Eq.~\eqref{name of this equation's lable}引用
    (1+x^d)g(x)=f(x)(\bmod 1+x^p).
\end{equation}

在这里插入图片描述

6.3 引理

注意区分上文引用等式时 eqref 与此处引用前文定理 ref

\begin{ownlemma}\cite[lemma 8]{hou2017new} \label{FastDivision} The coefficients of $g(x)$ in Eq.~\eqref{fastdivision} is given by  %对应上文标签
    \begin{eqnarray}    %多个公式对齐环境
        g_{p-1} & = & 0;\label{rectify}\\
        g_{p-d-1}&=&f_{p-1}; \nonumber \\
        g_{d-1}&=&f_{d-1}; \nonumber \\
        g_{p-(i+1)d-1} &=& g_{p-id-1} + f_{p-id-1},\:i=1,2,\cdots,p-3. \nonumber
    \end{eqnarray}
\end{ownlemma}
By Lemma \ref{FastDivision}, the \hl{division} $\frac{f(x)}{1+x^d}$ takes $p-3$ XORs.\\

在这里插入图片描述

6.4 例子(含多行公式对齐)

\textbf{Example 1:} Suppose that $S(z)=(1+x^2)+(x^3+x^4)z$ and $R(z)=1-xz$,
we can compute that $Q(z)=R(z)S(z)=(1-xz)S(z)\bmod(1+x^5)$ as follows,
\begin{align*}  				%多行公式对齐
Q(z)=&(1-xz)S(z)=S(z)-xzS(z)\\
=&(1+x^2) +(x+x^4)z + (1+x^4)z^2 \bmod(1+x^5).
\end{align*}

在这里插入图片描述

6.5 分段函数(大括号)

\hl{big brace}
\begin{equation}\label{sum207} f_{\ell}(x)=\biggr \{
    \begin{aligned}
    &Q_0(x), &\ell=0; \\
    &x^{e_i}f_{\ell-1}(x) + Q_{\ell}(x), &\ell>0;
    \end{aligned}
\end{equation}

在这里插入图片描述

6.6 算法

\newpage    							%分页
\hl{algorithm}
\begin{algorithm}[h]
    \caption{Name of Algorithm}
    \begin{algorithmic}[1]
    \Require Input of this algorithm.
    \For{$\ell \leftarrow a$ to $b$}
    \State equation 1       			%\State 换行
    \EndFor
    \State $\cdots$
    \Ensure output of this algorithm.
    \end{algorithmic}
    \label{alg:syn}
\end{algorithm}

在这里插入图片描述

6.7 表格,三线表(更)

2022.09.22 更
列代码中注释说到 “有几个 c 就有几列”,实际上此处列格式不仅可以为 c , 可以是 l / c / r / p{ < width >} ,分别表示 单元格左对齐、居中、右对齐、固定列宽,在列格式之间插入 “ | ”表示绘制表格竖线。

此外,当列数足够多时,数c可以把自己数懵,所以在此介绍批量定义列格式的方法。
\begin{tabular}{|c|c|c|c|c|p{4em}|p{4em}|}” 的批量定义为:
\begin{tabular}{|*{5}{c|}*{2}{p{4em}|}}” 表示,先绘制表格最左侧竖线,接着5个居中单元格及单元格右侧竖线,随后2个列宽为4英寸的单元格及单元格右侧竖线。

\begin{table}[h]
    \caption {Name of this table}
    \centering      				%居中
    \begin{tabular}{ccccccccc}  	%有几个c就有几列
        \toprule    				%表头粗线
        \multirow{2}{*}{} &     	%该单元格由2个垂直单元格合并而来,值为空
        \multicolumn{8}{c}{\textbf{The following table should add \textbackslash \ before input}} \\    	%该单元格由2-9的8个水平单元格合并而来,值为最后一个括号内的内容    
        \cline{2-9}     			%第2-9列画线
        & input1 & output1 && input2 & output2 && input3 & output3\\ 
        \hline     					%画线
        1 & \{ & \{ && \} & \} && \% & \%\\     				% 用 & 分隔相邻的两个单元格,&&中间含一个空单元格
        2 & dag &\dag && S & \S && ddag & \ddag\\
        3 & copyright & \copyright && pounds & \pounds && P & \P\\
        4 & dots & \dots \\
        \bottomrule     			%表底粗线
    \end{tabular} 
\end{table}

在这里插入图片描述

7. 样例全文

7.1 .tex文件

最后含一些符号表,由于剩余内容较多无法全部列举,故注释掉了。

\documentclass[conference,a4paper]{IEEEtran}					%导入IEEEtran的A4格式模板
\usepackage[inner=0.9055in,outer=0.5118in,top=0.5in]{geometry}	%左边距inner,右边距outer,上边距top

\usepackage{amsmath}				%数学公式包
\allowdisplaybreaks[3] 				%导入数学公式包的前提下,允许跨页,1,2,3,4表示允许程度,但equation环境不可换页
									%长公式跨页可用align公式

\usepackage{bbm} 					%粗体、双线体
\usepackage{multirow} 				%纵向合并单元格
\usepackage{booktabs} 				%三线表
\usepackage{color}
\usepackage{amssymb}				%数学定理和证明过程包
\let\labelindent\relax
\usepackage{enumitem}				%调整垂直/水平间距/标签样式

\usepackage{amsthm} 				%定理环境
\newtheorem{ownlemma}{Lemma} 		%引理
\newtheorem{owncorollary}{Corollary} 		%推论
\newtheorem{owndefinition}{Definition}		%定义
\newtheorem{ownproperty}{Property} 			%性质

\usepackage{algorithm} 							%代码环境
\usepackage[noend]{algpseudocode}				%伪代码中 类似 if...end if去掉end if语句
\renewcommand{\algorithmicrequire}{Input:}
\renewcommand{\algorithmicensure}{Output:}
\renewcommand{\algorithmiccomment}[1]{// #1}	%C语言的注释格式

\bibliographystyle{IEEEtran}					%引用文献格式
\usepackage[numbers, sort & compress]{natbib}

\usepackage{soul}   							%高亮显示,为提高本文可读性而添加,实际论文不需要该包

\begin{document}
\title{This is a Sample}
\author{Qiuqiu Qiu$^\S$,San Zhang$^\S{}^{*}$\\
$^\S$School of Electrical Engineering \& Intelligentization, University\\
}
\maketitle  

\begin{abstract}
    Here is the abstract of this paper \cite{blaum1993new}.\\
    Here is the abstract of this paper \footnote{content of footnote}.
    ...
\end{abstract}

\begin{IEEEkeywords}
    keyword1, keyword2, ..., last keyword.
\end{IEEEkeywords}


\hl{The main body of the paper:}    			%\hl{} 为高亮显示,实际论文无需此项
\section{section 1}
Here is the section 1,usually an introduction.

The second paragraph of this section.\\ 		%空一行表示分段,\\表示换行
The third paragraph of this section.
\section{section 2}
Here is the section 2.
\subsection{subsection 1}
Here is the subsection 1 of section 2.
\subsection{subsection 2}
Here is the subsection 2 of section 2.\\
...
\section{section 3}
Here is the section 3.
\subsection{subsection 1}
Here is the subsection 1 of section 3.
\subsection{subsection 2}
Here is the subsection 2 of section 3.\\
...
\section{section 4}
Here is the section 4.

\section{last section}
Here is the last section,usually an conclusion.\\


\hl{Here are the common formulas:}  

\hl{Common characters:}

$p$,  $\mathcal{C}(p,n,r)$, $\mathbb{F}_2[x]/M_p(x)$\\    		%注意此处的 F
$M_p(x)=1+x+\cdots+x^{p-1} \:(\bmod\: 1+x^p)$\\   				%居中的点,_下标,^上标
$N_p(x)=1+x+\ldots+x^{p-1}$\\   								%靠下的点

$[c_{i,j}]_{i=0,j=0}^{p-2,n-1},c_[i,j]\in \mathbb{F}_2,n\leq p$\\   % \in 属于,\leq 小于等于 

$c_j(x) = \sum\nolimits_{i=0}^{p-2}c_{i,j}x^i$

(i.e., $c_0(x) = c_{0,0} + c_{1,0}x + c_{2,0}x^2+ \ldots + c_{n-2,0}x^{n-2}$)\\

\hl{Matrix:}\\
\textbf{Matrix multiplication:}
\[
\mathbf{H}_{r \times n} \cdot   		% 注意区分 \cdot 和 \cdots
\begin{bmatrix}
    c_0(x) & c_1(x) & \cdots & c_{n-1}(x)
\end{bmatrix}^T = \mathbf{0}^T,
\]
\textbf{A Matrix:}
\[
\left[ \begin{array} {c|c}
\mathbf{I}_{\lambda - \ell - 1} & \mathbf{0}  \\ \hline
\mathbf{0} &
\begin{smallmatrix}
\\
1 & 0 & \cdots & 0 & 0 \\
1 & x_{\lambda -\ell}+x_{\lambda - \ell -1} & \cdots & 0 & 0 \\
\vdots & \vdots & \ddots & \vdots & \vdots \\
0 & 0 & \cdots & x_{\lambda-2}+x_{\lambda-\ell-1} & 0 \\
0 & 0 & \cdots & 1 & x_{\lambda-1}+x_{\lambda - \ell - 1}
\end{smallmatrix}
\end{array}
\right],
\]
\textbf{Matrix and equation with number:}
\begin{equation}    					%带编号的等式所需环境
    \mathbf{H}_{r \times n} = 
    \begin{bmatrix}
        1 & 1 & 1 & \cdots & 1 \\
        1 & x & x^2 & \cdots & x^{n-1} \\
        \vdots & \vdots & \vdots & \ddots & \vdots \\
        1 & x^{r-1} & x^{2(r-1)} & \cdots & x^{(n-1)(r-1)}
    \end{bmatrix}
\end{equation}


\begin{equation} 
    \sum\limits_{j=0}^{n-1}c_{m-j \cdot \ell, j} =0,     
\end{equation}

where $0 < m \le p-1$ and $r-1 > \ell \ge 0$,   	%实际条件并非如此,且第二个范围理应也写作小于等于,为熟悉这四个符号而写作此
\begin{equation} 
    \prod\nolimits_{j=0}^{n-1}c_{m-j \cdot \ell, j} =0, \nonumber   	 % 不加编号
     % \limits表示上下标位于\sum符号的上方和下方;\nolimits表示上下标位于符号右边的上方和下方
\end{equation}
\hl{The above equation is used to display ``prod" and the differences between ``limits" and ``nolimits".}
\begin{equation}\label{fastdivision}    			%赋予公式标签名,便于后文\eqref引用
    (1+x^d)g(x)=f(x)(\bmod 1+x^p).
\end{equation}

\hl{Lemma:}
\begin{ownlemma}\cite[lemma 8]{hou2017new} \label{FastDivision} The coefficients of $g(x)$ in Eq.~\eqref{fastdivision} is given by  	%对应上文标签
    \begin{eqnarray}    					%多个公式对齐环境
        g_{p-1} & = & 0;\label{rectify}\\
        g_{p-d-1}&=&f_{p-1}; \nonumber \\
        g_{d-1}&=&f_{d-1}; \nonumber \\
        g_{p-(i+1)d-1} &=& g_{p-id-1} + f_{p-id-1},\:i=1,2,\cdots,p-3. \nonumber
    \end{eqnarray}
\end{ownlemma}
By Lemma \ref{FastDivision}, the \hl{division} $\frac{f(x)}{1+x^d}$ takes $p-3$ XORs.\\

\hl{Example:}

\textbf{Example 1:} Suppose that $S(z)=(1+x^2)+(x^3+x^4)z$ and $R(z)=1-xz$,
we can compute that $Q(z)=R(z)S(z)=(1-xz)S(z)\bmod(1+x^5)$ as follows,
\begin{align*}  							%多行公式对齐
Q(z)=&(1-xz)S(z)=S(z)-xzS(z)\\
=&(1+x^2) +(x+x^4)z + (1+x^4)z^2 \bmod(1+x^5).
\end{align*}

\hl{big brace}
\begin{equation}\label{sum207} f_{\ell}(x)=\biggr \{
    \begin{aligned}
    &Q_0(x), &\ell=0; \\
    &x^{e_i}f_{\ell-1}(x) + Q_{\ell}(x), &\ell>0;
    \end{aligned}
\end{equation}

\newpage    						%分页
\hl{algorithm}
\begin{algorithm}[h]
    \caption{Name of Algorithm}
    \begin{algorithmic}[1]
    \Require Input of this algorithm.
    \For{$\ell \leftarrow a$ to $b$}
    \State equation 1       		%\State 换行
    \EndFor
    \State $\cdots$
    \Ensure output of this algorithm.
    \end{algorithmic}
    \label{alg:syn}
\end{algorithm}


\hl{table:}
 
\begin{table}[h]
    \caption {Name of this table}
    \centering      				%居中
    \begin{tabular}{ccccccccc}  	%有几个c就有几列
        \toprule    %表头粗线
        \multirow{2}{*}{} &     	%该单元格由2个垂直单元格合并而来,值为空
        \multicolumn{8}{c}{\textbf{The following table should add \textbackslash \ before input}} \\    %该单元格由2-9的8个水平单元格合并而来,值为最后一个括号内的内容    
        \cline{2-9}     			%第2-9列画线
        & input1 & output1 && input2 & output2 && input3 & output3\\ 
        \hline     					%画线
        1 & \{ & \{ && \} & \} && \% & \%\\     	% 用 & 分隔相邻的两个单元格,&&中间含一个空单元格
        2 & dag &\dag && S & \S && ddag & \ddag\\
        3 & copyright & \copyright && pounds & \pounds && P & \P\\
        4 & dots & \dots \\
        \bottomrule     			%表底粗线
    \end{tabular} 
\end{table}
    
% \begin{table}[h]
%     \caption {\textbf{Greek letters}}
%     \text{which should  add \$\textbackslash \ before input and \$ after input}
%     \centering 
%     \begin{tabular}{cccccc}
%         \toprule 
%         & input1 & output1 && input2 & output2 \\ 
%         \hline
%         1 & alpha & $\alpha$ && xi & $\xi$\\
%         2 &beta & $\beta$ && o & $\o$ \\
%         3 & theta & $\theta$ && vartheta & $\vartheta$\\
%         4 & delta & $\delta$ && iota & $\iota$\\
%         5 & zeta & $\zeta$ && eta & $\eta$\\
%         6 & gamma & $\gamma$ && tau & $\tau$\\
%         7 & sigma & $\sigma$ && varsigma & $\varsigma$\\
%         8 & lambda & $\lambda$ && kappa & $\kappa$\\
%         9 & omega & $\omega$ && upsilon & $\upsilon$\\
%         10 & pi & $\pi$ && varpi & $\varpi$\\
%         11 & mu & $\mu$ && nu & $\nu$\\%
%         12 & rho & $\rho$ && varrho & $\varrho$\\        
%         13 & phi & $\phi$ && varphi & $\varphi$ \\
%         14 & psi & $\psi$ && chi & $\chi$\\
%         15 & epsilon & $\epsilon$ && varepsilon & $\varepsilon$\\
%         16 & Gamma & $\Gamma$ && Lambda & $\Lambda$ \\
%         17 & Psi & $\Psi$ && Sigma & $\Sigma$\\
%         18 & Delta & $\Delta$ && Xi & $\Xi$\\
%         19 & Upsilon & $\Upsilon$ && Omega & $\Omega$ \\
%         20 & Pi & $\Pi$ && Theta & $\Theta$\\
%         21 & Phi & $\Phi$\\
%         22 & varGamma & $\varGamma$ && varLambda & $\varLambda$ \\
%         23 & varPsi & $\varPsi$ && varSigma & $\varSigma$\\
%         24 & varDelta & $\varDelta$ && varXi & $\varXi$\\
%         25 & varUpsilon & $\varUpsilon$ && varOmega & $\varOmega$ \\
%         26 & varPi & $\varPi$ && varTheta & $\varTheta$\\
%         27 & varPhi & $\varPhi$\\
%         \bottomrule 
%     \end{tabular} 
% \end{table}


% \begin{table}[h]
%     \caption {\textbf{Binary relation symbols }}
%     \text{which should add \textbackslash \ before input  and  two \$ except $>,<,:$ and $=$}
%     \centering      %居中
%     \begin{tabular}{cccccc}  %有几个c就有几列
%         \toprule    %表头粗线
             
%         & input1 & output1 && input2 & output2\\ 
        
%         \hline     %画线
%         1 & $<$ & $<$ && $>$ & $>$ \\
%         2 & : & $:$ && = & $=$\\
%         3 & leq or le & $\le$ && geq or ge & $\geq$ \\
%         4 & ll & $\ll$ && gg & $\gg$\\
%         5 & prec & $\prec$ && succ & $\succ$ \\
%         6 & preceq & $\preceq$ && succeq & $\succeq$ \\
%         7 & subset & $\subset$ && supset & $\supset$\\
%         8 & subseteq & $\subseteq$ && supseteq & $\supseteq$ \\
%         9 & sqsubset & $\sqsubset$ && sqsupset & $\sqsupset$ \\
%         10 & sqsubseteq & $\sqsubseteq$ && sqsupseteq & $\sqsupseteq$ \\
%         11 & propto & $\propto$&& models & $\models$\\
%         12 & in & $\in$ && ni or owns & $\owns$ \\
%         13 & vdash & $\vdash$ && dashv & $\dashv$ \\
%         14 & mid & $\mid$ && parallel & $\parallel$ \\
%         15 & perp & $\perp$&& asymp & $\asymp$\\
%         16 & smile & $\smile$ && frown & $\frown$ \\
%         17 & equiv & $\equiv$ && doteq & $\doteq$\\
%         18 & sim & $\sim$&& simeq & $\simeq$\\
%         19 & approx & $\approx$&& cong & $\cong$\\
%         20 & Join & $\Join$&& bowtie & $\bowtie$\\
%         21 & notin & $\notin$ && neq or ne & $\neq$\\
        
        
%         \bottomrule     %表底粗线
%     \end{tabular} 
% \end{table}


% \begin{table}[h]
%     \caption {\textbf{Binary operations symbols }}
%     \text{which should add \textbackslash \ before input  and  two \$ except $+,-$}
%     \centering      %居中
%     \begin{tabular}{cccccc}  %有几个c就有几列
%         \toprule    %表头粗线
%         & input1 & output1 && input2 & output2\\ 
%         \hline     %画线
%     1 & + & $+$ && - & $-$\\
%     2 & pm & $\pm$ && mp & $\mp$\\
%     3 & cdot & $\cdot$ && div & $\div$ \\
%     4 & times & $\times$ && setminus & $\setminus$ \\
%     5 & cup & $\cup$ && cap & $\cap$ \\
%     6 & sqcup & $\sqcup$ && sqcap & $\sqcap$ \\
%     7 & vee or lor & $\vee$ && wedge or land & $\land$ \\
%     8 & circ & $\circ$&& bullet & $\bullet$\\
%     9 & oplus & $\oplus$ && ominus & $\ominus$ \\
%     10 & odot & $\odot$ && oslash & $\oslash$ \\
%     11 & diamond & $\diamond$&& uplus & $\uplus$\\
%     12 & otimes & $\otimes$ && bigcirc & $\bigcirc$ \\
%     13 & star & $\star$ && ast & $\ast$\\
%     14 & triangleleft & $\triangleleft$&& triangleright & $\triangleright$\\
%     15 & lhd & $\lhd$ && rhd & $\rhd$ \\
%     16 & bigtriangleup & $\bigtriangleup$ && bigtriangledown & $\bigtriangledown$ \\
%     17 & unlhd & $\unlhd$ && unrhd & $\unrhd$ \\
%     18 & dagger & $\dagger$ && ddagger & $\ddagger$\\
%     19 & amalg & $\amalg$ && wr & $\wr$\\
%     \bottomrule     %表底粗线
%     \end{tabular} 
% \end{table}

\bibliography{quote}
\end{document}

在这里插入图片描述在这里插入图片描述

7.2 .bib文件

@article{blaum1993new,
  title={{New Array Codes for Multiple Phased Burst Correction}},
  author={Blaum, Mario and Roth, Ron M},
  journal={IEEE Transactions on Information Theory},
  volume={39},
  number={1},
  pages={66--77},
  year={1993},
  publisher={IEEE}
}

@inproceedings{hou2014,
  title={{New MDS Array Code Correcting Multiple Disk Failures}},
  author={Hou, Hanxu and Shum, Kenneth W and Chen, Minghua and Li, Hui},
  booktitle=GLOBECOM,
  pages={2369--2374},
  year={2014}
}

8. 附录——符号

本小节摘自《一份不太简短的LaTex2e介绍》

  1. 蓝色的命令依赖 amsmath 宏包(非 amssymb 宏包);
  2. 带有角标 ℓ 的符号命令依赖 latexsym 宏包。

8.1 通用符号

在这里插入图片描述

8.2 希腊字母

在这里插入图片描述

8.3 二元关系符

在这里插入图片描述

8.4 二元运算符

在这里插入图片描述

8.5 巨算符

在这里插入图片描述

8.6 数学重音符号

最后一个 \wideparen 依赖 yhmath 宏包。

在这里插入图片描述

8.7 箭头

在这里插入图片描述

8.8 作为重音的箭头符号

在这里插入图片描述

8.9 定界符

在这里插入图片描述

8.10 用于行间公式的大定界符

在这里插入图片描述

8.11 其他符号

在这里插入图片描述

9. 补充

9.1 作者信息

默认此时已经装有texlive
win + r ——> cmd ——> 输入“texdoc authblk” 查看 authblk 包的用法,该包内讲述作者信息写法。

9.2 页边距

问题:页边距超过规定边距
在 “\begin{document}” 前插入

\usepackage[top=目标上边距, bottom=目标下边距, left=目标左边距, right=目标右边距]{geometry}

9.3 绘制一个复杂的表格

在这里插入图片描述

\begin{table*}[hb]
  \caption{A slightly complex table.}
  \label{table1}
  \centering
  \begin{center}
    \begin{tabular}{|c|c|c|}
      \hline
      \multirow{2}{*}{Merge two rows}
       & \multicolumn{2}{c|}{2 columns}     \\ \cline{2-3}
       & A & B \\ \hline

      Case1
       & a & b \\ \hline

      \begin{tabular}[c]{@{}l@{}}
        The case2 is too long to write, \\ I want to change lines to write
      \end{tabular}
       & c & d \\ \hline

      Case3
       & $O^\ast$
       &
      \multicolumn{1}{@{}c@{}|}{
      \begin{tabular}{c|c}
        e & f \\ \hline
        g & h \\ \hline
        i & j \\
      \end{tabular}} \\ \hline

      \multicolumn{3}{l}{$^\ast $ $O$ represents what you want.}%merge three columns and left-aligned (or right-aligned,center)
    \end{tabular}
  \end{center}
\end{table*}
  • 14
    点赞
  • 87
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值