论文写作 2: 常见的 Latex 格式文件

每种期刊都会提供一个或多个格式文件. Latex 源文件只需要进行少量改变, 就可以获得完全不同的版面.

1. 基本准则

不要从头写!

  • 最好找该期刊已录用论文的源文件, 如本贴给出的例子
  • 其次找该期刊提供的模板文件

2. cls 文件

  • 用于控制论文的总体格式
  • 使用不同的格式文件时, .tex 源文件头部需要进行相应调整
    正文不一定调整, 除非涉及图、表、公式的排版.

2.1 IEEE 出版社

IEEEtran.cls

  • 期刊模式
    \documentclass[journal]{IEEEtran}
    题目与摘要单栏, 正文双栏.
    排版效果与正式出版效果非常接近.
  • 会议模式
    \documentclass[conference]{IEEEtran}
    没有期刊模式紧凑.

例:

\documentclass[journal]{IEEEtran}

\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{arydshln}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{bm}
\usepackage{hyperref}
\usepackage{multirow}
\usepackage[misc]{ifsym}
\usepackage{pdfpages}
\usepackage{subfigure}
\usepackage{url}

\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}
\newtheorem{definition}{Definition}

\hyphenation{algorithm}
\hyphenation{classifi-cation cha-llenge costs}
\hyphenation{values}

\begin{document}

\title{This is the title}

\author{Mei~Yang,
        Yu-Xuan~Zhang,
        Xizhao~Wang,~\IEEEmembership{Fellow,~IEEE},
        and~Fan~Min,~\IEEEmembership{Member,~IEEE}
\thanks{This work was supported by xxx.).
(\emph{Corresponding author: Fan Min}.)}
\thanks{Mei Yang is with the School of Computer Science, Southwest Petroleum University, Chengdu 610500, China
(e-mail: yangmei@swpu.edu.cn).}
\thanks{Yu-Xuan Zhang is with the School of Computer Science, Southwest Petroleum University, Chengdu 610500, China
(e-mail: 201921000434@stu.swpu.edu.cn).}
\thanks{Xizhao Wang is with Institute of Big Data, Shenzhen University, Shenzhen 518060, China
(e-mail:  xizhaowang@ieee.org).}
\thanks{Fan Min is with the School of Computer Science; Institute for Artificial Intelligence, Southwest Petroleum University, Chengdu 610500, China
(e-mail: minfan@swpu.edu.cn).}
}

\maketitle

\begin{abstract}
This paper xxx.
\end{abstract}

\begin{IEEEkeywords}
Distinguishability, ensemble learning, mapping, multi-instance learning and self-reinforcement.
\end{IEEEkeywords}

\IEEEpeerreviewmaketitle

2.2 Elsevier 出版社

elsarticle.cls

  • 审稿人模式下为单栏: \documentclass[preprint]{elsarticle}

例:

\documentclass[preprint]{elsarticle}

\usepackage{rotating}
\usepackage{natbib}
\usepackage{multirow}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{threeparttable}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{array}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{subfigure}
\usepackage{url}
\usepackage{bm}
\usepackage{color}

\newtheorem{property}{Property}
\newtheorem{example}{Example}
\newtheorem{proposition}{Proposition}
\newtheorem{lem}{Lemma}
\newtheorem{rem}{Remark}
\newtheorem{corollary}{Corollary}
\newtheorem{problem}{Problem}
\newproof{proof}{Proof}
\newtheorem{theorem}{Theorem}
\newdefinition{definition}{Definition}
\newtheorem{assumption}{Assumption}
\newtheorem{conj}{Conjection}
\DeclareMathOperator*{\argmax}{argmax}
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\sign}{sign}
\hyphenation{con-cept}
\hyphenation{ob-jects}

%\journal{Information Sciences}

\begin{document}
%\linenumbers
\begin{frontmatter}

\title{This is my title}

\author[1]{Author 1}
\author[2]{Author 2}
\author[1,2]{Fan Min\corref{cor1}}

\address[1]{School of Sciences, Southwest Petroleum University, Chengdu 610500, China}
\address[2]{School of Computer Science, Southwest Petroleum University, Chengdu 610500, China}

\cortext[cor1]{Corresponding author. Tel.: +86 135 4068 5200.\\ Email address: minfan@swpu.edu.cn (F. Min).}

\begin{abstract}
This paper introduced xxx
\end{abstract}
\begin{keyword}
Active learning, cost-sensitive learning, multi-label learning, missing labels.
\end{keyword}
\end{frontmatter}

2.3 Springer 出版社

  • 期刊模式 svjour3.cls
    例:
\documentclass[smallextended]{svjour3}
%\documentclass[twocolumn]{svjour3}
\hyphenation{al-go-ri-thms}
\hyphenation{re-sults}

%\usepackage[pdftex]{graphicx}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{marvosym}
\usepackage{enumerate}
%\usepackage{amsthm}
\usepackage{graphicx}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{subfigure}
\usepackage{threeparttable}
\usepackage{multirow}
\usepackage{colortbl}
\usepackage{latexsym}
\usepackage{color}

\DeclareMathOperator*{\argmax}{argmax}
\DeclareMathOperator*{\argmin}{argmin}

\begin{document}
  \pagestyle{headings}

  \title{{\color{blue}Three-way} active learning through clustering selection}

%  \titlerunning{Lecture Notes in Computer Science}
  \author{Fan Min (\Letter) \and Shi-Ming Zhang \and Davide Ciucci \and Min Wang}
%  \author{Double-blind review}

\institute{F. Min\\
School of Computer Science, Southwest Petroleum University, Chengdu 610500, China\\
  \email{minfan@swpu.edu.cn}\\
  \\
S.-M. Zhang\\
School of Computer Science, Southwest Petroleum University, Chengdu 610500, China\\
  \email{zhangshiming@stu.swpu.edu.cn}\\
  \\
D. Ciucci\\
DISCo, University of Milano-Bicocca, viale Sarca 336/14, Milano 20126, Italy\\
  \email{davide.ciucci@unimib.it}\\
\\
M. Wang\\
School of Electrical Engineering and Information, Southwest Petroleum University, Chengdu 610500, China\\
\email{wangmin@swpu.edu.cn}
}
  \maketitle

  \begin{abstract}
This paper xxx.
\keywords{Active learning, clustering, granular computing, three-way.}
   \end{abstract}
  • 会议模式 llncs.cls
    例:
\documentclass[runningheads]{llncs}

\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{times}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{multirow}
\usepackage{color}
\usepackage[table]{xcolor}
\usepackage{overpic}
\usepackage{wrapfig,lipsum,booktabs}
\usepackage{url}
\usepackage{algorithm,algpseudocode}
\usepackage{algorithmicx}

\usepackage{epstopdf}
\usepackage{comment}
\usepackage{enumerate}

\graphicspath{{./figures/}}

\begin{document}
\title{This is my title}
\author{Chao-Fan Pan\orcidID{0000-0001-5345-2746} \and
  Fan Min\orcidID{0000-0002-3290-1036}
  \and Heng-Ru Zhang\orcidID{0000-0001-9187-9847}
}

\authorrunning{Chao-Fan Pan et al.}
\institute{School of Computer Science, Southwest Petroleum University, Chengdu 610500, China
  \email{pan.chaofan@foxmail.com, \{minfan, zhanghr\}@swpu.edu.cn}}

\maketitle

\begin{abstract}
  This paper proposes xxx..
  \keywords{Behavior imitation \and Imitation learning  \and Meta-learning.}
\end{abstract}

3. bst 文件

  • 用于控制参考文献的格式

3.1 IEEE 出版社

  • IEEEtran.bst
    题目与摘要单栏, 正文双栏.

3.2 Elsevier 出版社

  • 编号模式 elsart-num-sort.bst
    格式为编号 [1][2]等.
  • 作者年份模式 model5-names.bst
    引用时如果需要作为名子的一部分, 如主语与宾语, 就需要使用 \citet, 否则使用 \citep. 其它不常见用法自行搜索.

3.3 Springer 出版社

splncs.bst

4. 其它

  • 使用 usepackage导入包.
  • 尽量不要引入特殊的包, 以免在其它系统 (特别是期刊投稿网站上) 上运行不出来.
  • 使用 \newtheorem 增加一些自动编号项.

5. 小结

  • 借鉴模板
  • 少使用 \usepackage 以保证兼容性
  • 4
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值