此模板为IEEE 模板改编而来,是IEEE COMMUNICATIONS LETTERS 期刊专属的写作模板:
IEEE 官方Latex模板下载: https://journals.ieeeauthorcenter.ieee.org/create-your-ieee-journal-article/authoring-tools-and-templates/tools-for-ieee-authors/ieee-article-templates/
本文工程下载链接: https://download.csdn.net/download/jac_chao/16568486
运行环境: https://cn.overleaf.com/ 平台(真心推荐,无需在电脑上配置环境,在线运行且实时保存,非常好用!)
TexStudio也可直接使用!
文件结构:
- IEEE_train_templet.tex 即为项目的入口文件
- Figure 为论文中所用到的图片
- reference.bib 为参考文献bib文件
我们只需关心上述这三个文件即可!
论文显示效果:
1需要的宏包
\usepackage{graphicx}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{booktabs}
\usepackage[colorlinks,linkcolor=black,anchorcolor=black,citecolor=black]{hyperref}
图片,表格等按照Latex常规方式插入即可!
2表格的制作
推荐使用Excel2LaTeX-master工具,用excel制作表格,然后使用这个工具就可直接导出Latex格式的代码!
下载地址: https://www.latexstudio.net/archives/6992.html
下载后解压后点击这个文件,然后打开编辑好的数据文件即可直接使用,(若提加载项信任受限,则要添加该工具的地址到Excel的新人地址中!)
操作步骤:
格式在excel中直接设置即可
最后把生成的代码复制到Latex中即可!
3 参考文献
(1) 在reference.bib加入bibTex格式的参考文献
(2)在正文中添加引用
\cite{[1]}
4 主要代码
\documentclass[10pt,journal]{IEEEtran}
\usepackage{graphicx}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{booktabs}
\usepackage[colorlinks,linkcolor=black,anchorcolor=black,citecolor=black]{hyperref}
% *** GRAPHICS RELATED PACKAGES ***
%
\ifCLASSINFOpdf
% \usepackage[pdftex]{graphicx}
% declare the path(s) where your graphic files are
% \graphicspath{{../pdf/}{../jpeg/}}
% and their extensions so you won't have to specify these with
% every instance of \includegraphics
% \DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\else
% or other class option (dvipsone, dvipdf, if not using dvips). graphicx
% will default to the driver specified in the system graphics.cfg if no
% driver is specified.
% \usepackage[dvips]{graphicx}
% declare the path(s) where your graphic files are
% \graphicspath{{../eps/}}
% and their extensions so you won't have to specify these with
% every instance of \includegraphics
% \DeclareGraphicsExtensions{.eps}
\fi
% graphicx was written by David Carlisle and Sebastian Rahtz. It is
% required if you want graphics, photos, etc. graphicx.sty is already
% installed on most LaTeX systems. The latest version and documentation
% can be obtained at:
% http://www.ctan.org/pkg/graphicx
% Another good source of documentation is "Using Imported Graphics in
% LaTeX2e" by Keith Reckdahl which can be found at:
% http://www.ctan.org/pkg/epslatex
%
% latex, and pdflatex in dvi mode, support graphics in encapsulated
% postscript (.eps) format. pdflatex in pdf mode supports graphics
% in .pdf, .jpeg, .png and .mps (metapost) formats. Users should ensure
% that all non-photo figures use a vector format (.eps, .pdf, .mps) and
% not a bitmapped formats (.jpeg, .png). The IEEE frowns on bitmapped formats
% which can result in "jaggedy"/blurry rendering of lines and letters as
% well as large increases in file sizes.
%
% You can find documentation about the pdfTeX application at:
% http://www.tug.org/applications/pdftex
% correct bad hyphenation here
\hyphenation{op-tical net-works semi-conduc-tor}
\begin{document}
%
% paper title
\title{Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
% 作者和基金
% use a multiple column layout for up to three different
% affiliations
\author{Michael~Shell,~\IEEEmembership{Member,~IEEE,}
John~Doe,~\IEEEmembership{Fellow,~OSA,}
and~Jane~Doe,~\IEEEmembership{Life~Fellow,~IEEE}% <-this % stops a space
\thanks{M. Shell was with the Department
of Electrical and Computer Engineering, Georgia Institute of Technology, Atlanta,
GA, 30332 USA e-mail: (see http://www.michaelshell.org/contact.html).}% <-this % stops a space
\thanks{J. Doe and J. Doe are with Anonymous University.}% <-this % stops a space
\thanks{Manuscript received April 19, 2005; revised August 26, 2015.}}
% The paper headers
\markboth{IEEE COMMUNICATIONS LETTERS,~Vol.~xx, No.~xx, August~2021}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Computer Society Journals}
% make the title area
\maketitle
% As a general rule, do not put math, special symbols or citations
% in the abstract
\begin{abstract}
These instructions give you guidelines for preparing papers for IEEE Transactions and Journals. Use this document as a template if you are using Microsoft Word 6.0 or later. Otherwise, use this document as an instruction set. The electronic file of your paper will be formatted further at IEEE. Paper titles should be written in uppercase and lowercase letters, not all uppercase. Avoid writing long formulas with subscripts in the title; short formulas that identify the elements are fine (e.g., "Nd–Fe–B"). Do not write “(Invited)” in the title. Full names of authors are preferred in the author field, but are not required. Put a space between authors’ initials. The abstract must be a concise yet comprehensive reflection of what is in your article. In particular, the abstract must be self-contained, without abbreviations, footnotes, or references. It should be a microcosm of the full article.
\end{abstract}
% keywords
\begin{IEEEkeywords}
key words1, key words2, key words3
\end{IEEEkeywords}
\IEEEpeerreviewmaketitle
\section{Introduction}
% no \IEEEPARstart
\IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
for IEEE conference papers produced under \LaTeX\ usingcloud computing platforms have been unable
I wish you the best of success\cite{[1]}.
% \hfill mds
% \hfill August 26, 2015
\subsection{Subsection Heading Here}
Subsection text here.
\subsubsection{Subsubsection Heading Here}
Subsubsection text here.
\section{Figure}
\begin{figure}[h]
% Use the relevant command to insert your figure file.
% For example, with the graphicx package use
\includegraphics[scale=0.4]{Figure/Fig1.png}
% figure caption is below the figure
\caption{Data figurel}
\label{fig:1} % Give a unique label
\end{figure}
\section{Table}
\begin{table}[htbp]
\caption{The mainly symbol definition}
\label{tab:1} % Give a unique label
\centering
\begin{tabular}{ccc}
\toprule
Symbol & Quality & Data \\
\midrule
\textit{i} & magnetic flux & 1 \\
\textit{j} & susceptibility & 2 \\
\textit{k} & permeability & 3 \\
\bottomrule
\end{tabular}%
\end{table}%
\section{Algorithm}
\begin{algorithm}[h]
\caption{Calculate $y = x^n$}
\label{alg:alg1}
\begin{algorithmic}
% 输入
\REQUIRE $n \geq 0 \vee x \neq 0$
% 输出
\ENSURE $y = x^n$
% 初始化
\STATE $y \leftarrow 1$
% 逻辑
\IF{$n < 0$}
\STATE $X \leftarrow 1 / x$
\STATE $N \leftarrow -n$
\ELSE
\STATE $X \leftarrow x$
\STATE $N \leftarrow n$
\ENDIF
\WHILE{$N \neq 0$}
\IF{$N$ is even}
\STATE $X \leftarrow X \times X$
\STATE $N \leftarrow N / 2$
\ELSIF{$N$ is odd}
\STATE $y \leftarrow y \times X$
\STATE $N \leftarrow N - 1$
\ENDIF
\ENDWHILE
\end{algorithmic}
\end{algorithm}
\section{Conclusion}
The conclusion goes here.
% conference papers do not normally have an appendix
% use section* for acknowledgment
% \section*{Acknowledgment}
% The authors would like to thank...
% references section
% \begin{thebibliography}{1}
% \bibitem{IEEEhowto:kopka}
% H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
% 0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.
% \end{thebibliography}
% 用bib文件生成参考文献
\bibliographystyle{IEEEtran}
% argument is your BibTeX string definitions and bibliography database(s)
\bibliography{IEEEabrv,reference.bib}
% that's all folks
\end{document}