今天开始把论文整理成LaTeX的格式,以备以后学习查询。
首先整理了文章导言区的内容(文章类型article题目title双栏twocolumn)、文章区域document、摘要abstract、文章部分section、以及缩进indent(前提是parindent中的值不为0),以上这一些可以说是论文必须的框架。
首先要写
\documentclass[a4pper,11pt,twocolumn]{article}意思是a4纸,11磅的字体,同时论文格式是双栏twocolunm,也可是单栏onecolumn; 其次是文章区域部分用语句
\begin{document} %文章逻辑 \end{document} 里面用来写文章的逻辑;
摘要用语句
\begin{abstract} %abstract
\end{abstract} ,
同时摘要部分还要关键词的设置,要用语句
{\bf Keywords:}\LaTex instance1;instance2
;
对于文章的每个部分的一级标题用语句\section{Introduction}来表示,
下一级标题用语句\subsection{open source system}表示,
再下一级标题用语句\subsubsection{open source system},
当文章想用标题,但是不想标号时用语句\paragraph{paragraph};
每个段落首行缩进用语句\indent,同时要在文章的导言区加入语句\setlength\parindent{2em}才能生效,
但是文章的每个部分第一段都是没有缩进的,大家可以仔细查看一下那些论文每个部分的首段;
分段用语句
\\
。
\documentclass[a4pper,11pt,twocolumn]{article}
\setlength\parindent{2em}
\title{The name of paper : Detection of code smell }
\begin{document}
\maketitle
%abstract
\begin{abstract}
{\bf Keywords:}\LaTex instance1,instance2
\end{abstract}
%section
\section{Introduction}
\subsection{subsection}
\subsubsection{subsubsection}
\paragraph{paragraph}
%indent
\\\indent
\end{document}
***************************************************************************************************