投稿论文时,调整格式是一个很麻烦的事,如果使用LaTeX调整格式就比较简单,目前我只使用了LaTeX进行了参考文献的调整。
1.安装LaTeX
安装LaTeX的过程我是参考知乎上的一篇文章(文章传送门)。
2.下载LaTeX的模板文件
使用Access的LaTeX模板作为举例。
下载网页
下载链接
3.解压文件
这里面的cls文件就是期刊提供的LaTeX模板。
4.相关文件创建
- IEEEtran.cls :此文件是从刚才的压缩包解压后的文件夹中拷贝出来的,是LaTeX的模板文件
- main.tex:LaTeX的主文件,内容后面编写
- ref.bib:参考文献的引用文件,换句话说所有的要引用的参考文献需要以bibTeX的形式写入
@article{hu2016short,
title={A short-term traffic flow forecasting method based on the hybrid PSO-SVR},
author={Hu, Wenbin and Yan, Liping and Liu, Kaizeng and Wang, Huan},
journal={Neural Processing Letters},
volume={43},
number={1},
pages={155--172},
year={2016},
publisher={Springer}
}
@article{okutani1984dynamic,
title={Dynamic prediction of traffic volume through Kalman filtering theory},
author={Okutani, Iwao and Stephanedes, Yorgos J},
journal={Transportation Research Part B: Methodological},
volume={18},
number={1},
pages={1--11},
year={1984},
publisher={Elsevier}
}
这种参考文献的格式在谷歌学术,以及各种的期刊官网上都是有的。如下:
5.编写tex文件,并且生成
tex的文件内容如下:
\documentclass[UTF8]{ctexart}
\begin{document}
\nocite{*}
\bibliographystyle{IEEEtran}
\bibliography{ref}
\end{document}
其中\nocite{*}
代表不引用参考文献但是生成全部的参考文献。\bibliographystyle{IEEEtran}
是使用的模板文件名称。\bibliography{ref}
是引用的参考文献BibTeX格式的文件。
- 选择pdfLaTeX,点击绿色按钮(控制台信息一闪而过,没有报错就没问题),生成了aux文件。
- 接着我们选择BiBTeX,再点击运行
LaTeX文档中可以引用的参考文献格式文件bbl就出现了。
6.修改tex文件
- 删除main.tex文件中的3、4、5行
- 打开bbl文件复制其中的全部内容并粘贴至main.tex中的begin后面:
\documentclass[UTF8]{ctexart}
\begin{document}
% Generated by IEEEtran.bst, version: 1.14 (2015/08/26)
\begin{thebibliography}{10}
\providecommand{\url}[1]{#1}
\csname url@samestyle\endcsname
\providecommand{\newblock}{\relax}
\providecommand{\bibinfo}[2]{#2}
\providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}
\providecommand{\BIBentryALTinterwordstretchfactor}{4}
\providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus
\BIBentryALTinterwordstretchfactor\fontdimen3\font minus
\fontdimen4\font\relax}
\providecommand{\BIBforeignlanguage}[2]{{%
\expandafter\ifx\csname l@#1\endcsname\relax
\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%
\typeout{** loaded for the language `#1'. Using the pattern for}%
\typeout{** the default language instead.}%
\else
\language=\csname l@#1\endcsname
\fi
#2}}
\providecommand{\BIBdecl}{\relax}
\BIBdecl
\bibitem{nagel1992cellular}
K.~Nagel and M.~Schreckenberg, ``A cellular automaton model for freeway
traffic,'' \emph{Journal de physique I}, vol.~2, no.~12, pp. 2221--2229,
December 1992.
\bibitem{newell1993simplified}
G.~F. Newell, ``A simplified theory of kinematic waves in highway traffic, part
i: General theory,'' \emph{Transportation Research Part B: Methodological},
vol.~27, no.~4, pp. 281--287, August 1993.
\end{thebibliography}
\end{document}
- 选择pdfLaTeX点击绿色按钮即可生成pdf: