数学建模社区-数学中国

标题: 美赛latex写作相关 [打印本页]

作者: 杨利霞    时间: 2022-2-21 12:08
标题: 美赛latex写作相关

美赛latex写作相关

一、引用宏
这个在每个模板里都有,还有页眉页脚页数,不必赘述。

\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}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
二、数学符号相关
两种控制符

$ $生成行内公式
生成数学块公式
$_{}需要转义字符,前加\
一些常用的数学符号表示:

指数^
下标_
平方根\sqrt[n]
上下水平线\overline    \underline
上下大括号\overbrace   \underbrace
向量  \vec      \overrightarrow 和\overleftarrow
分数  \frac
积分运算符    \int
求和运算符    \sum
乘积运算符    \prod
1
2
3
4
5
6
7
8
9
10
详情:常用符号

三、论文格式排版
1.整体格式

\begin{XXX}...\end{XXX}
表示一个段落,XXX填写document表示整篇文章
abstruct表示摘要
1
2
3
\newpage   
新起一页
1
2
\setcounter{page}{1}
设置页码计数器从当前页面开始之后
每页自动加上代码
1
2
3
\section{XXX}
段落,XXX为段落标题
1
2
\subsection{XXX}
子段落
1
2
2.语句编辑

\indent
缩进
1
2
\\
换行,另起一段
\par
换行,另起一段(首行缩进)
1
2
3
4
\bf
加粗
1
2
{...}
语句块
1
2
$...$
行内数学公式
1
2
\url
加入超链接
1
2
3.插入图片

\centerline{\inludegraphics[height=X.Xcm]{图片名.后缀名}}
设置插入图片高度,要插入的图片放在figures文件夹里

\centerline{XXXX}
图片下方文字标注
1
2
3
4
5
4.插入表格

\begin{table}...\end{table}
插入表格快控制语句

\begin{tabular}
{{p{3cm}|p{3cm}....}
\end{tabular}
1
2
3
4
5
6
\centering
居中
\hline
表格每一行的横线
&
\\
每一行的结束
\rowcolor[gray]{0.9}
设置一行的颜色
————————————————
版权声明:本文为CSDN博主「你的小猫咪」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/jcjbusbjk/article/details/103571711







欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) Powered by Discuz! X2.5