本文共 1720 字,大约阅读时间需要 5 分钟。
一、引用宏
这个在每个模板里都有,还有页眉页脚页数,不必赘述。\documentclass[final,3p,times]{elsarticle}\usepackage{graphicx, amssymb}\usepackage{amsthm}\usepackage{amsmath}\usepackage{epsfig}\usepackage{graphicx}\usepackage{subfigure}\usepackage{graphics}\usepackage{multirow}\usepackage{threeparttable}\usepackage{amsthm}\usepackage[noend]{algpseudocode}\usepackage{algorithmicx,algorithm}\newtheorem{theorem}{Theorem}\theoremstyle{definition}\newtheorem{definition}{Definition}\theoremstyle{remark}\newtheorem{remark}{Remark}\theoremstyle{proposition}\newtheorem{proposition}{Proposition}\theoremstyle{example}\newtheorem{example}{Example}\theoremstyle{corollary}\newtheorem{corollary}{Corollary}\theoremstyle{property}\newtheorem{property}{Property}\renewcommand{\algorithmicrequire}{ \textbf{Input:}} %Use Input in the format of Algorithm\renewcommand{\algorithmicensure}{ \textbf{Output:}} %UseOutput in the format of Algorithm\begin{document}Please write here.\end{document}
二、数学符号相关
两种控制符一些常用的数学符号表示:
指数^下标_平方根\sqrt[n]上下水平线\overline \underline上下大括号\overbrace \underbrace向量 \vec \overrightarrow 和\overleftarrow分数 \frac积分运算符 \int求和运算符 \sum乘积运算符 \prod
详情:
三、论文格式排版
1.整体格式\begin{XXX}...\end{XXX}表示一个段落,XXX填写document表示整篇文章abstruct表示摘要
\newpage 新起一页
\setcounter{page}{1}设置页码计数器从当前页面开始之后每页自动加上代码
\section{XXX}段落,XXX为段落标题
\subsection{XXX}子段落
2.语句编辑
\indent缩进
\\换行,另起一段\par换行,另起一段(首行缩进)
\bf加粗
{...}语句块
$...$行内数学公式
\url加入超链接
3.插入图片
\centerline{\inludegraphics[height=X.Xcm]{图片名.后缀名}}设置插入图片高度,要插入的图片放在figures文件夹里\centerline{XXXX}图片下方文字标注
4.插入表格
\begin{table}...\end{table}插入表格快控制语句\begin{tabular}{ {p{3cm}|p{3cm}....}\end{tabular}
\centering居中\hline表格每一行的横线&\\每一行的结束\rowcolor[gray]{0.9}设置一行的颜色
转载地址:http://fyvx.baihongyu.com/