懒人模板下载链接(我自己上传的,不想便宜我的上要投的杂志官网找去,我也官网找的 啊哈哈哈哈):trans模板链接
目录
1.论文开头的准备代码段(package、PDF编译支持等等)
2.解决IEEE 原始模板中公式、引用没有超链接的问题的方法:
8.参考文献(使用bib文件)(改动bib编译报错处理方式见8.4)
0.模板的编译(以tex studio为例)
记住,IEEE trans需要进行PDF模式的编译。你可以拿trans的文章看看啥格式,看看你构建并查看出来是啥格式,看看你PDF编译时啥格式,你就知道为什么要进行PDF模式的编译了。
方法如下:
首先,点击构建并查看(可能报错,也可能不会)。
报错了先不管,执行完毕,再点击:工具--》命令--》PDFLatex,执行PDF编译。
如果此时还报错,您的问题;如果此时没报错,但正常构建并查看报错了,模板的问题。
1.论文开头的准备代码段(package、PDF编译支持等等)
\documentclass[journal]{IEEEtran}
%% 表格包
\usepackage{tabularx,booktabs}
%% PDF编译包
\usepackage{ifpdf}
\ifpdf
% pdf code
\else
% dvi code
\fi
%% 引用包
\usepackage{cite}
%% PDF编译包
\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
%%数学包
\usepackage{amsmath}
%%%%%算法包
\usepackage{algorithmic}
\usepackage{algorithm}
\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}
%%%排列包(创建排列,1、2、3这种排列)
\usepackage{array}
%% 子图包
\ifCLASSOPTIONcompsoc
\usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
\else
\usepackage[caption=false,font=footnotesize]{subfig}
\fi
%% 插入网页链接包
\usepackage{url}
%% HYPERLINK 将引文、公式变成超链接,能自动跳转
\makeatletter
\let\NAT@parse\undefined
\makeatother
\usepackage{hyperref} %hyperref still needs to be put at the end!
\hyphenation{op-tical net-works semi-conduc-tor}
2.解决IEEE 原始模板中公式、引用没有超链接的问题的方法:
只要使用上面的开头代码即可。如果不想整段复制,只需要复制下面这段到你的usepackage的地方就行:
%% HYPERLINK
\makeatletter
\let\NAT@parse\undefined
\makeatother
\usepackage{hyperref} %hyperref still needs to be put at the end!
3.普通表格的插入
\begin{table}[!t] %%经典三线表
\centering
\caption{标题}
\begin{tabular}{ccccc} %有多少列打多少个c
\hline
Network & N& L & Z & B\\ \cline{1-5}
S &0 &0 &0 &0\\
A &0 &0 &0 &0\\
C &0 &0 &0 &0\\
\hline
\end{tabular}
\label{标签}
\end{table}
4.多子图与单图
图片不想写