美赛latex写作相关
一、引用宏这个在每个模板里都有,还有页眉页脚页数,不必赘述。
1\documentclass{elsarticle}
2
3\usepackage{graphicx, amssymb}
4\usepackage{amsthm}
5\usepackage{amsmath}
6\usepackage{epsfig}
7\usepackage{graphicx}
8\usepackage{subfigure}
9\usepackage{graphics}
10\usepackage{multirow}
11\usepackage{threeparttable}
12\usepackage{amsthm}
13\usepackage{algpseudocode}
14\usepackage{algorithmicx,algorithm}
15
16\newtheorem{theorem}{Theorem}
17\theoremstyle{definition}
18\newtheorem{definition}{Definition}
19\theoremstyle{remark}
20\newtheorem{remark}{Remark}
21\theoremstyle{proposition}
22\newtheorem{proposition}{Proposition}
23\theoremstyle{example}
24\newtheorem{example}{Example}
25\theoremstyle{corollary}
26\newtheorem{corollary}{Corollary}
27\theoremstyle{property}
28\newtheorem{property}{Property}
29\renewcommand{\algorithmicrequire}{ \textbf{Input:}} %Use Input in the format of Algorithm
30\renewcommand{\algorithmicensure}{ \textbf{Output:}} %UseOutput in the format of Algorithm
31
32\begin{document}
33Please write here.
34\end{document}
二、数学符号相关
两种控制符
1.$ $生成行内公式
2.生成数学块公式
$_{}需要转义字符,前加\
一些常用的数学符号表示:
1指数^
2下标_
3平方根\sqrt
4上下水平线\overline \underline
5上下大括号\overbrace \underbrace
6向量 \vec \overrightarrow 和\overleftarrow
7分数 \frac
8积分运算符 \int
9求和运算符 \sum
10乘积运算符 \prod
详情:常用符号
三、论文格式排版
1.整体格式
1\begin{XXX}...\end{XXX}
2表示一个段落,XXX填写document表示整篇文章
3abstruct表示摘要
1\newpage
2新起一页
1\setcounter{page}{1}
2设置页码计数器从当前页面开始之后
3每页自动加上代码
1\section{XXX}
2段落,XXX为段落标题
1\subsection{XXX}
2子段落
2.语句编辑
1\indent
2缩进
1\\
2换行,另起一段
3\par
4换行,另起一段(首行缩进)
1\bf
2加粗
1{...}
2语句块
1$...$
2行内数学公式
1\url
2加入超链接
3.插入图片
1\centerline{\inludegraphics{图片名.后缀名}}
2设置插入图片高度,要插入的图片放在figures文件夹里
3\centerline{XXXX}
4图片下方文字标注
4.插入表格
1\begin{table}...\end{table}
2插入表格快控制语句
3\begin{tabular}
4{{p{3cm}|p{3cm}....}
5\end{tabular}
1\centering
2居中
3\hline
4表格每一行的横线
5&
6\\
7每一行的结束
8\rowcolor{0.9}
9设置一行的颜色
————————————————
版权声明:本文为CSDN博主「你的小猫咪」的原创文章。
原文链接:https://blog.csdn.net/jcjbusbjk/article/details/103571711
页:
[1]