第一次尝试写paper,以前都傻乎乎的用word写啊写,调啊调,心灵和肉体的双重折磨,自从遇见了Latex,手不酸了,眼不痛了,连思绪都变得流畅起来。
下面展示的是一个大概的论文结构:
%设置全文的格式,10pt代表字体大小,twocolumn代表两列,letterpaper代表纸大小和格式,当然还有其它可选项,详细可参考下面这个链接:
https://texblog.org/2013/02/13/latex-documentclass-options-illustrated/
\documentclass[10pt, twocolumn, letterpaper]{article}
\usepackage{graphicx} %添加包
%标题
\begin{document}
\title{I Love Latex}
\maketitle
%摘要
\begin{abstract}
This paper presents a software called Latex that can help you finish your writing job conveniently.
Come on, try it!
\end{abstract}
%1 介绍
\section{Introduction}
\label{sec:intro} %添加标签
\vspace{-0.1cm}
LaTeX is a high-quality typesetting system; it includes features designed for the production of technical and scientific documentation. LaTeX is the de facto standard for the communication and publication of scientific documents.
%插入图片
\begin{figure}[t] %\begin{figure*}[t]加个星号好像可以充满两列
\begin{center}
\includegraphics[width=1\linewidth]{figure/a} %a代表图片的名字
\end{center}
\vspace{-0.5cm}
\caption{This is figure 1} %图片下方的描述
\end{figure}
% 2 相关工作
\section{Related work}
\label{sec:Related_work}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
% 3 方法
\section{Method}
\label{sec:method}
%子段落
\subsection{Input layer}
\label{sec:inputs}
%插入公式
\begin{equation}
XXXXXXXXXXXXXXX.
\end{equation}
% 4 实验
\section{Experiment}
\label{sec:experiment}
%插入表格
\begin{table}[t]
\begin{center}
\footnotesize
\begin{tabular}{|l|c|c|}
\hline
Method & Accuracy($\%$) & Time(s) \\
\hline\hline
Contour-Matching & 93.9 & 4.0012 \\
\hline\hline
method1 & 93.1 & N/A \\
method2 & 95.1 & 3.4 \\
method3 & 98.0 & 2.1 \\
\hline\hline
Our method & 99.0 & 0.7 \\
\hline
\end{tabular}
\end{center}
\caption{Results on dataset.} %表格描述
\end{table}
%参考文献,需要新建一个新的.tex文件,然后重命名为XXX.bib,然后去google学术引用bibtex,在需要引用的地方加上\cite{文章关键字},然后编译四次:
PDFLAT->bibTEX(Tools里面)->PDFLAT->PDFLAT
{\small
\bibliographystyle{plain}
\bibliography{XXX}
}
\end{document} %结束全文,与documentclass呼应