0 IEEE论文模板下载地址0.1 添加相关包IEEE论文模版下载链接注意本文所有命令代码是在IEEE下载的模板基础之上使用Overleaf 进行编辑的。使用之前请先把下面这些包添加到\documentclass下面。\usepackage{amsmath,amsfonts} \usepackage{algorithmic} \usepackage{algorithm} \usepackage{array} \usepackage[captionfalse,fontnormalsize,labelfontsf,textfontsf]{subfig} \usepackage{textcomp} \usepackage{stfloats} \usepackage{url} \usepackage{verbatim} \usepackage{graphicx} \usepackage{cite} \hyphenation{op-tical net-works semi-conduc-tor IEEE-Xplore} \usepackage{cleveref} \crefname{figure}{fig}{figures} \Crefname{figure}{Fig}{Figures} \usepackage{color} \usepackage{lineno} \usepackage{amssymb} \usepackage{setspace} \usepackage{amssymb} %\usepackage{float} % 在导言区添加 \usepackage[table]{xcolor} \usepackage{xcolor} \usepackage{color} \usepackage{graphicx}0.2 常用Overleaf 和Texstudio相关操作0.2.1 左侧的编辑器跳转到鼠标所在的地方的源代码在右侧的pdf阅读器上双击左键 OverleafCtrlclickTeXstudio0.2.2 将光标鼠标定位在文档顶部左边源码区Ctrl Home0.2.3 将光标鼠标定位在文档底部左边源码区Ctrl End0.2.4 texstudio 反向搜索右边pdf对应左边代码在 PDF 预览区 按住 Ctrl 键然后点击你想定位的文字1 各类字母和符号1.1 常用数学符号1.1.1 常用数学字母1.1.2 基本二元关系符号1.1.3 上面带三角的等号\usepackage{amssymb} %%%先添加相应的包 \triangleq %%%%等号上面带三角1.1.4 二元运算符1.2 希腊字母1.2.1 大写希腊字母1.2.2 小写希腊字母1.3 罗马数字注释罗马数字放在文中使用不可使用符号$$不然格式显示不对正确显示如下图所示\uppercase\expandafter{\romannumeral1} %大写罗马数字1改变数字“1”可改变罗马数字 \romannumeral1 %%小写罗马数字11.4 其他符号1.4 .1 基本其他符号1.4 .2 空格两个空格\qquad一个空格\quad一个很小的空格约1/6 quad\,一个小空格约2/7 quad\:一个中等空格约5/18 quad\;1.4 .3 双引号$\textrm{on}$1.5 定界符1.5.1 基本定界符1.5.2 括号类型以及大小设定1.5.2.1 自动调节括号大小(根据括号内容大小)\left( \right) \left\{ \right\} \left[ \right]2手动调节不同括号大小\Bigg \bigg \Big \big %%%四个不同的大小级别和下面括号配合使用\Bigg( \Bigg ) %%圆括号 \bigg[ \bigg] %%方括号 \Big\{ \Big\} %%花括号大括号 \big\langle \big\rangle %%三角括号 \big| \big| %%单竖线括号 \big\| \big\| %%双竖线括号1.6 箭头2 字体格式2.1 加粗 、正体、斜体2. 1 .1 加粗\bf{} %%%\bf一般对一行加粗不建议使用 \mathbf{W} %%\mathbf{} 加粗且正体只对花括号内加粗建议使用 \textbf{aaa} %%公式内 加粗文字 \boldsymbol{\alpha} %% 给小写希腊字母加粗2. 1 .2 正体\mathrm{diag}%% 正体\textrm{}%% 公式内迫使文字正体2. 1 .3 斜体\it{M}%会把本段内都变成斜体不建议使用\textit{Theorem} %只改变括号内建议使用2. 2 改变字体颜色2. 2 .1 把文字变成蓝色添加包\usepackage{color}\textcolor{blue}{1}2. 2 .2 只改变图片标号的颜色其余的为黑色\begin{figure}[t] \color{blue} \caption{\textcolor{black}{Sum rate vs. }} \end{figure}3 字符结构上下标分数求和括号3.1 给字符求和符号等加上下标3.1.1 加右边上下标 上下标和求和符号位于同一行e^{j \theta 2} %%% 右上标 e_{\theta} %%% 右下标 \sum\nolimits_{i1}^{n} 给求和符号加右上下标在同一行3.1.2 在符号的正上方下方添加标识(小注subscript是下标superscript是上标)\underset{subscript}{\overset{superscript}{\sum}} %上下标都有上下标位于求和符号的正上方 \overset{superscript}{\sum} %只有上标上标位于求和符号的正上方 \underset{subscript}{{\sum}} %只有下标下标位于求和符号的正下方3.1.3 加花括号在符号正下方(小注subscript是下标superscript是上标)\underbrace{} %%底部加花括号 \underset{subscript}{{\underbrace{\sum}}} %%在符号底部加花括号并添加标识subscript3.1.4 max底部加下标\mathop{max}_{w,x,S} %%max或者argmin也不显示正体 \underset{M_{s}}{\arg \min} %%max或者argmin显示正体3.2 分数\frac{...}{...} %%% 第一个{}是分子第一个{}是分母。3.3 加横线、波浪线、小角大角在字符上面\bar{N} %%%加短横线 \overline{a} %%%加长横线 \tilde{a} %%%加小波浪线 \widetilde{a} %%%加大波浪线 \hat{} %%信道估计的小角符号 \widehat{} %%大角符号4 引用 图片公式表格的相关命令4.1 引用图片in Fig. \ref{fig1} %引用\label{}中的内容4.2 引用公式强制修改公式编号后引用\tag{2} %%2是显示在公式后面的序号 \label{eq2} %eq2是公式的标签与后面引用的的格式一致 \ref{eq2} %文中引用内容和label的内容一致4.3 引用表格强制修改表格编号后引用\renewcommand{\thealgorithm}{1} %在\begin{algorithm}[!h] 之前插入在1处更改相应的序号 \label{alg1} %算法标签 \label{alg1} %标签5 段落间距标题分单双栏缩小公式缩短行距5.1 段落常用命令5.1.1 强制换行分段落1首行不缩进\\2分段落新段落首行缩进直接enter键空出一行即可不需要写代码5.1.2 论文的主要贡献分条分条前加圆点或者序号1圆点式%%%% 大圆点 The main contributions are summarized as follows: \begin{itemize} \item[$\bullet$] The major idea is... \item[$\bullet$] We propose a novel method... \item[$\bullet$] We take \end{itemize}%%%% 小圆点 The main contributions are summarized as follows: \begin{itemize} \item The major idea is... \item We propose a novel method... \item We take \end{itemize}2序号式The main contributions are summarized as follows: \begin{itemize} \item[1)] The major idea is... \item[2)] We propose a novel method... \item[3)] We take... \end{itemize}5.2 章节\section{} %大章节SYSTEM MODEL字体正常显示 \section{\textsc{System Model}} %所有字母大写首字母较大一些 \subsection{} % 小章节显示 A. \subsubsection{ } %小小章节,显示 1) :5.3 双栏变成单栏\onecolumn %%%在usagepack之后加入5.4 缩减页面的方式5.4.1 缩小正文和标题之间的行距\author{ \vspace{-20pt} %%%在\author的结尾花括号之前 }5.4.2 缩小公式(a) \small注释此种格式不改变前后字体格式\begin{equation} \small 公式 \end{equation}{\small \begin{equation} 公式 \end{equation} }5.4.3 缩小矩阵\begin{smallmatrix} \end{smallmatrix}5.4.4 给“、-”加上“{}”把公式中的变成{}5.4.5 在公式中的可缩减空格任意位置处加上“!”\!\left( \!\right)6 插入表格、图片、公式、矩阵、算法6.1 插入表格\begin{center} \caption{COMPLEXITY COMPARISON} \label{tab1} \begin{tabular}{| c | c | c |} \hline Order Arbitrary coefficients coefficients\\ of filter $e_m$ $b_{ij}$ \\ \hline 1 $b_{ij}\hat{e}.\hat{\beta_{ij}}$, $b_{00}0$\\ \hline 2$\beta_{22}(~1,-1,-1,~~1,~~1,~~1)$ \\ \hline 3 $b_{ij}\hat{e}.\hat{\beta_{ij}}$, $b_{00}0$,\\ \hline \end{tabular} \end{center} \end{table}6.2 插入图片6.2.0 宏包\usepackage{cleveref} \crefname{figure}{fig}{figures} \Crefname{figure}{Fig}{Figures}6.2.1 插入一张图代码代码第三行花括号里面写overleaf上传的图片名字以及图片格式代码第五行花括号里面对应文中引用ref的名称\begin{figure}[htbp] %%hhere此刻位置 ttop置顶 bbottom置底 p浮动页 %%想要算法位置在本页的哪个位置就更改[!h]的h \centering \includegraphics[width0.33\textwidth]{figure.1..png} \caption{System model} \label{fig1} \end{figure}6.2.2 插入一排多张图位于同一行\begin{figure*}[htbp] \vspace{-40pt} % 常规 figure*双栏跨栏显示不带星号不跨栏如果图太多分两行显示在两图中间打个回车就可以了 \hspace{-1ex} % 缩短图片与图片之间的间距不需要缩可以直接删除 \centering \subfloat[] { \label{}\includegraphics[width0.3\textwidth]{simulation_1.png}} \hspace{-4ex} % 缩短图片与图片之间的间距不需要缩可以直接删除 \subfloat[] { \label{}\includegraphics[width0.3\textwidth]{simulation_2.png}} \hspace{-4ex} % 缩短图片与图片之间的间距不需要缩可以直接删除 \subfloat[] {\label{}\includegraphics[width0.3\textwidth]{simulation_3.png}} \vspace{-1.5ex} % 缩短三个图片与图片注释的间距不需要缩可以直接删除 \caption{(a) Sum rate vs. $P_{\textrm{max}}$ (dBm) of various methods for CB and ZF phase-shifts for given $K 3$, $N16$, $b 2$, $M 4$, $M_s2$ (b) Sum rate vs. quantity of antennas for CB and ZF precoders for given $K 3$, $P_{\textrm{max}}-20$ $(\textrm{dBm})$, $b 4$, $M 4$, $M_s2$; (c) Sum rate vs. quantity of users for CB and ZF precoders for given $N16$, $b 2$, $M 16$, $P_{\textrm{max}}-15$ $(\textrm{dBm})$.} \label{fig2} \vspace{-4ex} % 缩短三个图片与正文文本的间距不需要缩可以直接删除 \end{figure*}6.3 插入公式6.3 .1 多个公式共用一个编号(1) 公式居中\begin{equation} \tag{3} \label{eq3} \begin{split} y ax^2bxc \\ %注意的位置代表对齐的位置 bxax^2c \\ cbxax^2 \end{split} \end{equation}(2) 公式左对齐\begin{flalign} \tag{4} \label{eq4} \begin{split} y ax^2bxc \\ %注意的位置代表对齐的位置 bxax^2c \\ cbxax^2 \end{split} \end{flalign}(3) 左边大花括号公式\begin{equation} \tag{10}\label{eq10} \mathbf{W}\left\{ \begin{split} \delta_{\textrm{ZF}} \mathbf{H}^{H} \Big( \mathbf{H}\mathbf{H}^{H} \Big)^{-1}, \textrm{, for ZF} \\ \delta_{\textrm{CB}}\mathbf{H}^{H}, \textrm{, for CB} \end{split} \right. \end{equation}6.3. 2 多个公式多个编号(0) 公式内某行不显示编号上下连贯\nonumber \\(1) 公式居中% 多行公式多编号 \begin{align} \tag{5}\label{eq5}\\ \tag{6} \label{eq6}\\ \tag{7} \label{eq7} \end{align}(2) 公式左对齐\begin{flalign} a b \\ cm\\ d1 \end{flalign}(3) 公式换行\begin{align} \mathbf{y} \mathbf{W}^{H} \nonumber\\ \quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\,\,\,\, \mathbf{W}. \tag{14}\label{eq14} \end{align}(3) 插入优化问题每个公式都有编号\begin{align} \mathcal{P}3: \underset{底标}{\mathrm{max}} \quad \tag{22}\label{eq22} \\ s.t.\quad , \tag{23}\label{eq23} \\ , \tag{24}\label{eq24} \\ , \tag{25}\label{eq25} \end{align}(4) 跨栏公式每个公式都有编号\newcounter{TempEqCnt6} % 创建临时变量TempEqCnt在一篇文章使用两次要换变量名字不然会报错 \setcounter{TempEqCnt6}{\value{equation}} % 将当前公式序号 赋给TempEqCnt \begin{figure*}[ht] %hb代表放在文章底部%ht为放在文章顶部 \setlength\abovedisplayskip{-22pt} % 调整公式上方间距 \setlength\belowdisplayskip{-3pt}% 调整公式上方间距 \begin{equation} l_{m} \underset{l\in \mathcal{L}}{\arg \min}\sum_{k\in\mathcal{K}}\mathrm{log}_{2} \tag{34} \label{eq34} \end{equation} \hrulefill %上面那条横线位置可变在公式上方就在\begin{equation}上面插入 \end{figure*}6.3 插入矩阵6.3.0 矩阵括号matrix最原始没有括号的矩阵pmatrix用小括号括起来的矩阵bmatrix用中括号括起来的矩阵vmatrix用单竖线括起来的矩阵Vmatrix用双竖线括起来的矩阵6.3.1 不改变矩阵的列间距和大小注c的个数代表矩阵的列数记得修改。$$ \begin{equation} \tag{3} \label{eq3} \mathbf{\Pi}_{m} \left[\begin{array}{ccc} %c的个数代表矩阵的列数改变矩阵列数记得修改 a \cdots aaa \\ \vdots \ddots \vdots\\ d \cdots b \end{array} \right] \end{equation} $$6.3.2 插入矩阵并且改变矩阵内的列宽度和大小居中对齐% 公式27 \begin{align} \setlength{\arraycolsep}{1.3pt} %% 列间距的宽度 \begin{array}{lc} \bf{H} \begin{bmatrix} a \cdots aaa \\ \vdots \ddots \vdots\\ d \cdots b \end{bmatrix} \tag{5}\label{eq5}\\ \begin{bmatrix} a \cdots aaa \\ \vdots \ddots \vdots\\ d \cdots b \end{bmatrix} \tag{6}\label{eq6} \end{array} \end{align}6.3.3 插入多个矩阵居左对齐其中也可以有不含矩阵的公式\begin{flalign} \tag{4} \label{eq4} \setlength{\arraycolsep}{1.3pt} %% 列间距的宽度 \begin{split} a fg \\ \begin{bmatrix} a \cdots r \\ \vdots \ddots \vdots\\ d \cdots b \end{bmatrix} \end{split} \end{flalign}6.3 插入算法6.3.0 宏包\usepackage{algorithm} \usepackage{algorithmic}6.3.0 Input 和 Initialize不算行号\begin{algorithm}[!h] %hhere此刻位置 ttop置顶 bbottom置底 p浮动页 %%想要算法位置在本页的哪个位置就更改[!h]的h \caption{PARTITION$(A,p,r)$}%算法标题 \label{alg1} %算法标签 \renewcommand{\algorithmicrequire}{\textbf{Input:}} \renewcommand{\algorithmicensure}{\textbf{Initialize:}} \begin{algorithmic}[1]%一行一个标行号 \REQUIRE CSI required to compute the selection metrics. \ENSURE $l0$, $\mathbf{w}^{1} \mathbf{q}_{1}/\Vert \mathbf{q}_{1} \Vert$. \FOR{$jp$ to $r$} \IF{$A[j]0$} \STATE $swap(A[i],A[j])$ \ENDIF \ENDFOR \end{algorithmic} \end{algorithm}6.3.0 Input 和 Initialize算行号\begin{algorithm}[!h] \caption{CP decomposition-based method}%算法标题 \label{alg1} %算法标签 \newcommand{\algorithmicequire}{\textbf{Input:}} \newcommand{\algorithmicnsure}{\textbf{Output:}} \newcommand{\algorithmicinit}{\textbf{Initialization:}} \begin{algorithmic}[1]%一行一个标行号 \STATE \algorithmicequire Dictionary matrix $\mathbf{A}$. \STATE \algorithmicinit \STATE $\textrm{Compute the factor matrices}$ $\hat{\mathbf{A}}_{1}$; \FOR{$\textrm{each}$ $l_{q}\in [1,2,...,LQ]$} \STATE $\textrm{Estimate}$ $\hat{\phi}^{l_{q}}_{1}$ $\textrm{based on}$; \ENDFOR \STATE \algorithmicnsure $\textrm{Return}$ $\{ \hat{\phi}^{l_{q}}_{1}, \hat{\phi}^{l_{q}}_{2}, \hat{f}^{l_{q}}_{d}, \hat{\phi}^{l_{q}}_{x}, \hat{\phi}^{l_{q}}_{y}, \hat{\tau}^{l_{q}} \}^{LQ}_{l_{q}1}$. \end{algorithmic} \end{algorithm}6.4 插入表格\begin{table}[!t] \caption{ Key simulation parameters} \label{tab1} \begin{center}\label{Table II} \color{blue} %更改表格颜色 \scalebox{0.8}{ %更改表格大小 \begin{tabular}{|l|l|} \hline \bf{Parameter} \bf{Value} \\ \hline Number of BS antennas $N_{t} 64$\\ \hline \end{tabular} } \end{center} \end{table}7 参考文献7.0 常见无线通信期刊的 全称以及缩写1 IEEE Transactions on Vehicular TechnologyIEEE Trans. Veh. Technol.2 IEEE Wireless Communications LettersIEEE Wirel. Commun. Lett.3IEEE Transactions on Intelligent Transportation SystemsIEEE Trans. Intell. Transp. Syst.4IEEE Internet of Things JournalIEEE Internet Things J.5 IEEE Transactions on Wireless CommunicationsIEEE Trans. Wirel. Commun.6IEEE Journal on Selected Areas in CommunicationsIEEE J. Sel. Areas Commun.7IEEE Transactions on CommunicationsIEEE Trans. Commun.7.1 bib的方式加入参考文献7.1.1 新建“.bib”文件新建一个名字为 ref.bib的文件ref是文件名称7.1.2 在主文件中加入以下代码注释(1) 在主文件中\end{document}之前加入下面两行代码\bibliographystyle{ieeetr} %把文献格式为ieee自动修改作者名字位IEEE要求的格式 \bibliography{ref} %花括号内写新建的bib文件名字不加“.bib”后缀7.1.3 把参考文献的格式改为IEEE要求的格式7.1.3.1 把参考文献中标题字母大写注释其中5G的G变为大写title{Prospective Multiple Antenna Technologies for Beyond 5{G}}7.1.3.2 寻找期刊名字缩写(1) 进入web of science搜索期刊的名字Web of Science官网(2) 输入想搜索的期刊全称点击search(3) 鼠标左键点击搜到的期刊右边出现该期刊的页面(4) 点击learn more(5) 找到最下面的 ISO ABBREVIATION(6) 把IEEE J. Sel. Areas Commun.复制到bib文件中的journal{IEEE J. Sel. Areas Commun.}中即可