数学建模社区-数学中国
标题:
美赛latex写作相关
[打印本页]
作者:
zhangtt123
时间:
2020-2-12 10:24
标题:
美赛latex写作相关
一、引用宏
2 |# K2 t) I) ?$ C' S( U! X
这个在每个模板里都有,还有页眉页脚页数,不必赘述。
) |& j) }: r3 w9 F) N) x( {0 f# q
1\documentclass[final,3p,times]{elsarticle}
e& D9 q/ d" M3 t
2
- A9 q/ K: a! a. z! j, d
3\usepackage{graphicx, amssymb}
$ m$ v/ G+ a# d X5 w$ @
4\usepackage{amsthm}
! A' @/ z* N% x. f6 @2 G9 [
5\usepackage{amsmath}
. U4 X3 V! {9 z; p9 l( Q, N
6\usepackage{epsfig}
6 z- F( `8 e6 q: e+ v1 j m$ K
7\usepackage{graphicx}
9 O; N( L1 F. x, `* W# G& y
8\usepackage{subfigure}
1 t9 F' ~+ ~! v. [# w5 c
9\usepackage{graphics}
n+ a$ n) V' N) B3 U* j
10\usepackage{multirow}
5 `" M4 e6 P) L, j
11\usepackage{threeparttable}
5 i4 R4 H8 e7 O9 q" |/ o
12\usepackage{amsthm}
0 ~' L% t# y9 c5 B
13\usepackage[noend]{algpseudocode}
, K8 W3 v$ R( C* z4 l, l' x" a
14\usepackage{algorithmicx,algorithm}
+ k+ y- J& O7 u, L' K
15
; w i( D: S5 Z1 Q
16\newtheorem{theorem}{Theorem}
8 p9 K, L5 O$ [5 r0 { t; j
17\theoremstyle{definition}
/ C0 M; c/ E, D
18\newtheorem{definition}{Definition}
- i/ j9 g" |( t2 ?6 c
19\theoremstyle{remark}
4 E( w2 E. R; k& ^. h9 M: ?
20\newtheorem{remark}{Remark}
# b) x4 P' g2 ]9 o, I
21\theoremstyle{proposition}
5 ]& D1 G2 u6 P h: J) g
22\newtheorem{proposition}{Proposition}
, e0 R! T& i! p1 w3 k
23\theoremstyle{example}
0 v8 v. O, O; N7 p6 ]% e" M1 H; j
24\newtheorem{example}{Example}
/ }% y+ |. p: P4 C# c' t+ M
25\theoremstyle{corollary}
$ _7 |/ ]" C9 V9 T8 o# R+ z# u
26\newtheorem{corollary}{Corollary}
: [$ _& \1 {0 l' @; ]- q
27\theoremstyle{property}
. |3 X. W- T; f( K# V& {
28\newtheorem{property}{Property}
0 l8 ]& w# d, P, n
29\renewcommand{\algorithmicrequire}{ \textbf{Input:}} %Use Input in the format of Algorithm
- c5 F$ W. }; }% K3 T, A
30\renewcommand{\algorithmicensure}{ \textbf{Output:}} %UseOutput in the format of Algorithm
( a; `$ h9 j7 {9 F k4 }1 z
31
5 i% Y- D* {: {% M3 U
32\begin{document}
6 L2 f& P4 M& j; U% x. C* R9 k
33Please write here.
+ w. |8 f5 @, a0 ?
34\end{document}
3 a# x t1 d5 Y( y" q
& q, V* |: {( O* ]
二、数学符号相关
3 J) X0 d7 K& [; K2 {8 U, S
两种控制符
& p; |5 A1 Z3 \) ^. ?% z
8 i- X1 ?& A: W, S! l! b0 \
1.$ $生成行内公式
3 r: _5 Y3 @ I8 m; n6 R
2.生成数学块公式
. C8 b( H$ E4 J% s4 [
$_{}需要转义字符,前加\
4 v8 `4 `1 [8 _6 B2 S' u8 `2 x p( L
0 ?9 H+ |2 q4 o! S4 g
一些常用的数学符号表示:
7 l* j- i9 k9 E$ m
1指数^
; o# J% N5 b0 ]/ `4 P: w: S
2下标_
; A" M% n- ?* z* _0 \5 v. \
3平方根\sqrt[n]
- c- K9 l8 i2 ]/ Y
4上下水平线\overline \underline
1 a m2 ]7 Z3 x7 Q6 \" ~$ f
5上下大括号\overbrace \underbrace
9 w! v) M! h8 u) E1 c- F
6向量 \vec \overrightarrow 和\overleftarrow
+ |0 F; m$ K( F; `
7分数 \frac
6 Q% m& f9 X6 c5 x$ u% r, J
8积分运算符 \int
w' i0 d5 x; ~9 t. |
9求和运算符 \sum
5 K5 e& ~8 s4 o h- f- Y" j, ~
10乘积运算符 \prod
6 [2 [1 }, w! }: W& o
$ a) O+ s" J5 V9 W, \% C+ H! N
详情:常用符号
0 V- [1 a# X- D! m( ^* h6 T! U2 L7 X! a
* J% Z( }4 _' m1 Z
三、论文格式排版
3 s/ {# L5 A r+ P! B
1.整体格式
6 `* e; a' |+ C- j
1\begin{XXX}...\end{XXX}
' K+ x. U0 T# c: j9 u
2表示一个段落,XXX填写document表示整篇文章
. p; r: L$ W7 V' \. N/ V6 t
3abstruct表示摘要
: S, Y, T+ C. x! S- d ~9 Z5 Z, F) j
( K/ ~) s# Y4 z* |8 p& z, O7 V
1\newpage
+ w/ N2 K8 K% C
2新起一页
( C4 ?$ q4 r, ~+ ~
0 \( H9 _1 e6 ^- ]8 ~5 y; {
1\setcounter{page}{1}
, C' `3 P# P# d: P
2设置页码计数器从当前页面开始之后
6 C) Y' D1 ~! F" W3 U& R) S
3每页自动加上代码
8 N% K. ~, _0 Y- J3 G" _; y
" J% R# x" f0 M# a1 k
1\section{XXX}
4 y7 K5 o6 U4 a& i
2段落,XXX为段落标题
' k' o$ A0 y4 f+ J+ X
9 K& b) R/ n" V2 j0 j. _
1\subsection{XXX}
; q7 v E# w v; U' G0 O3 A4 |7 \
2子段落
3 F7 P" O4 I3 E* w- D$ M
( W4 e6 o6 J' g+ h- A4 ?
2.语句编辑
$ S; X% D4 T) q
1\indent
" d) `4 o {' ~# V3 q
2缩进
6 a; I+ f6 U4 q( f5 R+ z
, Q" g" H- V, v/ s0 j/ h t
1\\
, h3 e0 e0 N' ^
2换行,另起一段
* ^: B9 c% @% y/ `6 P9 i" V( k
3\par
/ ]8 [/ y; Y! }: ]! U/ S% \5 x
4换行,另起一段(首行缩进)
' U- R' i2 }5 V% y3 B7 V
# `, _8 P9 {8 n6 l& m. o F
1\bf
6 H2 W/ w1 T" d% y
2加粗
" m/ w% l' {) c, c- J
% _7 u* S: a9 ]$ p" m7 J8 s% F$ k
1{...}
) c6 h$ y( p7 L4 \- k" N. X
2语句块
( D( o5 E! x' t9 R
* B$ g1 L$ f0 j7 I, c( y
1$...$
2 B6 X1 z- J z8 S; f4 q, Y
2行内数学公式
: }0 j3 D& o: s. ~) m# l3 v6 k( H
- d& o0 Y+ N6 t- I( q$ Q
1\url
k5 y& r) f' G' Q
2加入超链接
+ n+ O4 ~; @$ H6 c+ L9 d* w+ p
3 Z$ j: |3 f3 X5 Z9 y
3.插入图片
, b' o. m) I/ T" T: c
1\centerline{\inludegraphics[height=X.Xcm]{图片名.后缀名}}
6 D: L `) j0 _6 M$ j
2设置插入图片高度,要插入的图片放在figures文件夹里
. Q, G N3 p/ r3 W r
3\centerline{XXXX}
* t# Z( U$ d t
4图片下方文字标注
$ m0 l; }: S7 }- c- C' \3 C& O
/ y9 `1 S# Y' Y# M
4.插入表格
# v% u3 z+ X' U4 \
1\begin{table}...\end{table}
* ]9 ~# ~0 n6 n% N0 X7 k* c
2插入表格快控制语句
6 K A1 @+ i( A. c
3\begin{tabular}
1 i! z; X' o/ E6 c d9 Y2 C
4{{p{3cm}|p{3cm}....}
7 _2 `) d+ b% B% |7 w/ j$ N
5\end{tabular}
( c* B; ]( t. p0 Z( N. A/ x. j
# y2 b/ b0 a" [) j
1\centering
2 l, F1 ~( R, `* N8 j9 S
2居中
% f. K6 w1 y! j' y8 p* S( q5 v4 K
3\hline
3 k. H6 e, X$ Z' m+ x. a
4表格每一行的横线
1 e8 t( {5 z: C7 ^7 p c. A- U+ U
5&
6 ?; ]( h$ t! f- k% g, r
6\\
( B5 P: w+ m/ D9 ?3 W7 s
7每一行的结束
, k8 y* g' G% f# w
8\rowcolor[gray]{0.9}
3 E4 c) c$ n6 }- E9 M; D( D
9设置一行的颜色
' W1 T; T$ }6 _8 `! m) _- A
————————————————
3 o/ J, j3 h/ R' Q1 G0 R7 K: g
版权声明:本文为CSDN博主「你的小猫咪」的原创文章。
( j3 ~$ I3 ^8 d2 a5 o" k! ~
原文链接:https://blog.csdn.net/jcjbusbjk/article/details/103571711
" S) L' r) M4 E {9 ^
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5