Latex常见内容知识汇总

%%   
%% Copyright 2007, 2008, 2009 Elsevier Ltd  
%%   
%% This file is part of the 'Elsarticle Bundle'.  
%% ---------------------------------------------   
\documentclass[preprint,12pt]{elsarticle}   
\usepackage{lineno,hyperref}  
\modulolinenumbers[5]  
%% The amssymb package provides various useful mathematical symbols  
\usepackage{amssymb}  
\usepackage{algorithm}  
\usepackage{algorithmic}  
\usepackage{epsfig}  
\usepackage{subfigure}  
\usepackage{multirow}  
\usepackage{float}  
\usepackage{amsmath}  
\usepackage{longtable}  
\usepackage{booktabs}  
\usepackage{color}  
\usepackage{subfigure}  
\usepackage{fancyhdr}  
\usepackage{epstopdf}  
\pagestyle{fancy}  
\usepackage{ulem}  
\usepackage{bm}  
\usepackage{amsopn}  
\usepackage{amssymb,amsmath,color,times}  
\usepackage{lineno}  
\linespread{1.6}  

\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}}  
\renewcommand{\algorithmicrequire}{\textbf{Input:}}   
\renewcommand{\algorithmicensure}{\textbf{Output:}}  
\newcommand \argmin{\operatorname{arg\,min}}   
\newcommand{\pder}[2][]{\frac{\partial#1}{\partial#2}}  

\newcommand\R{\mathbb{R}}  
\newcommand{\llambda}{\boldsymbol{\lambda}}  
\newcommand{\sign}{{\mbox{\rm sign}}}  
\fancyhead[R]{\footnotesize\it\leftmark}  
\fancyhead[L]{\footnotesize\it\rightmark}   
\bibliographystyle{model5-names}   

\journal{Computers \& Geosciences}  
\begin{document}  
\modulolinenumbers[1]  
\linenumbers  
\begin{frontmatter}  


%% Title, authors and addresses  


\title{Elsevier \LaTeX\ template\tnoteref{mytitlenote}}  


%% Group authors per affiliation:  
\author{Elsevier\fnref{myfootnote}}  
\address{Radarweg 29, Amsterdam}  


%% or include affiliations in footnotes:  
\author[mymainaddress,mysecondaryaddress]{Elsevier Inc}  


\author[mysecondaryaddress]{Global Customer Service\corref{mycorrespondingauthor}}  
\cortext[mycorrespondingauthor]{Corresponding author}  
\ead{support@elsevier.com}  

\address[mymainaddress]{1600 John F Kennedy Boulevard, Philadelphia}  
\address[mysecondaryaddress]{360 Park Avenue South, New York}  

\begin{abstract}  
This template helps you to create a properly formatted \LaTeX\ manuscript.  
\end{abstract}  

\begin{keyword}  
\texttt{elsarticle.cls}\sep \LaTeX\sep Elsevier \sep template  
\MSC[2010] 00-01\sep  99-00  
\end{keyword}  

\end{frontmatter}  

%% \linenumbers   

%% main text  
\section{Introduction}  

\section{Background}  

\section{Methodologies}  


\section{Evaluation and discussion}  

\section{Related work}  


\section{Conclusions}  


\section*{Acknowledgment}  

The research was funded by ministry of land and resources industry public welfare projects (No: 201511010-06).  

\section*{References}  
\begin{thebibliography}{33}   
\bibitem{Kitchin2014}  
Kitchin, R., 2014. Big Data, new epistemologies and paradigm shifts. Big Data and Society 1, 1-12.  

\end{thebibliography}  

%\begin{thebibliography}{00}  

%% \bibitem{label}  
%% Text of bibliographic item  

%\bibitem{}  

%\end{thebibliography}  
\end{document}  
\endinput  
%%  
%% End of file `elsarticle-template-num.tex'.  

这里写图片描述




常见问题汇总


1、行号:
\usepackage{lineno,hyperref}, 表示显示行号
\modulolinenumbers[5] 表示每隔5行显示行号,并且每页重新开始
\linenumbers 一般在中文开始位置,表示行数
这里写图片描述





参考文献:


[1].http://blog.csdn.net/yaoxiaochuang/article/details/52167661
[2].https://www.cnblogs.com/lindexi/p/6949674.html

猜你喜欢

转载自blog.csdn.net/gsww404/article/details/79351505