数学建模社区-数学中国
标题:
美赛latex写作相关
[打印本页]
作者:
zhangtt123
时间:
2020-2-12 10:24
标题:
美赛latex写作相关
一、引用宏
+ z5 X3 i* Y C, p) c g) P) M K
这个在每个模板里都有,还有页眉页脚页数,不必赘述。
3 q3 e; J9 ~/ O5 Z2 p6 f/ ?
1\documentclass[final,3p,times]{elsarticle}
" e, |* f. Y0 H" T
2
- R; y. \/ z- I1 C7 ]; O+ n9 c4 w
3\usepackage{graphicx, amssymb}
/ }, Q- {$ o; W: Z5 g
4\usepackage{amsthm}
( _. M0 b: C g6 D
5\usepackage{amsmath}
6 e' q) S% G M# }' C6 k# h
6\usepackage{epsfig}
/ c6 y% I, C& I/ W }
7\usepackage{graphicx}
8 H# f% W7 b/ U# j1 ~
8\usepackage{subfigure}
) ]0 y, q/ A9 i' y
9\usepackage{graphics}
4 n$ ]0 c( S" Q4 O% F
10\usepackage{multirow}
0 v& h+ g8 w# x7 @& u
11\usepackage{threeparttable}
5 b! M* U3 |" \7 X( t6 a
12\usepackage{amsthm}
$ A# d& ^& y3 c4 A: T
13\usepackage[noend]{algpseudocode}
" X9 {% I0 W; i& N' o
14\usepackage{algorithmicx,algorithm}
2 ~' D6 V# A4 @3 t3 ]4 ?' U$ N
15
* c* y! V& r8 E6 a3 u
16\newtheorem{theorem}{Theorem}
4 _" Q9 b8 b: z- L2 N% H
17\theoremstyle{definition}
/ ~7 v8 V" @9 [, O* t/ k2 `/ ^( ~
18\newtheorem{definition}{Definition}
0 h% C5 q9 X! a9 y# ?, g( n
19\theoremstyle{remark}
9 {7 Y/ u6 w: [3 q" u, E6 o4 d
20\newtheorem{remark}{Remark}
. Y) c7 c* Y9 K
21\theoremstyle{proposition}
* C& {8 ~' L# _& t5 x+ `
22\newtheorem{proposition}{Proposition}
& w+ z( F8 I! i( w
23\theoremstyle{example}
0 i+ L1 J' g7 C! b
24\newtheorem{example}{Example}
. Q7 D' n0 s4 a
25\theoremstyle{corollary}
3 R0 \& f2 ]1 k
26\newtheorem{corollary}{Corollary}
5 _' B ^+ m' x
27\theoremstyle{property}
1 g: i# o P$ F. J$ f5 T5 t: s8 R
28\newtheorem{property}{Property}
& ] r8 S, X/ s, d2 w0 [7 u9 N$ v7 \$ @
29\renewcommand{\algorithmicrequire}{ \textbf{Input:}} %Use Input in the format of Algorithm
8 W* o2 Z+ H* X G+ U
30\renewcommand{\algorithmicensure}{ \textbf{Output:}} %UseOutput in the format of Algorithm
! g5 g9 {! U) @, a' W+ ]
31
i) m- N3 P) I' z# \
32\begin{document}
V( n4 M% J* R; q* V
33Please write here.
1 ` k/ [/ Z" Y4 p0 Q
34\end{document}
; D3 r5 j5 S n( T
) _7 W, C- e, c' t* M1 M# z
二、数学符号相关
; E% H' Q( ^ I* x% D; {6 |8 \
两种控制符
5 A t1 I: _; P$ `2 D0 X
9 b( f y* I2 Z3 R
1.$ $生成行内公式
1 J6 v, I5 w; ]
2.生成数学块公式
2 S$ L# a0 \" t, E+ b
$_{}需要转义字符,前加\
" D5 h G5 \0 O' k
# G: t! H4 Z! ~ c
一些常用的数学符号表示:
( X8 {& f* q6 [* l% R2 Q5 Y
1指数^
- @8 B c3 M1 R( z; w0 f7 [7 \
2下标_
& _ S; ]3 R! C+ e7 N5 K4 G
3平方根\sqrt[n]
# i6 X0 `' T: o% {2 k- u3 G+ h
4上下水平线\overline \underline
+ U; k/ Q$ b7 A$ {* c$ I$ s
5上下大括号\overbrace \underbrace
d- M7 w0 r4 o# B/ r' M- T
6向量 \vec \overrightarrow 和\overleftarrow
9 p0 d' C1 K" g- _- n
7分数 \frac
6 o+ k0 t# }, e% e" t: J
8积分运算符 \int
; B- w7 N! T& k1 r) z( u; I/ E3 \/ q
9求和运算符 \sum
5 y8 a% f5 z; f0 N( N
10乘积运算符 \prod
9 E% G) J: t" T. L. b
' U7 W( U0 }: a& X: Y( [
详情:常用符号
. r+ Z' q( N; j f5 G
9 ]/ d1 ?2 t6 c, D7 j1 r& q
三、论文格式排版
+ `7 F1 ]) u, V; b: u
1.整体格式
9 ]7 y: Z7 f3 D8 G& j! n1 L
1\begin{XXX}...\end{XXX}
' ?6 |! {6 n6 t8 r6 B
2表示一个段落,XXX填写document表示整篇文章
% F* ^9 h+ l4 N) k9 B. A
3abstruct表示摘要
; c3 Y) x0 l/ ^
% I+ _) C. S' A5 F
1\newpage
9 w* o' v3 i, T9 |: N: K+ s" r* q, E9 P
2新起一页
5 P7 P9 {+ J, g0 n- b2 b" T
7 P2 e, m7 V$ T: c( D
1\setcounter{page}{1}
4 j7 T3 D" c! x! g$ c2 e6 k
2设置页码计数器从当前页面开始之后
. e9 r0 ?% Y7 \2 R
3每页自动加上代码
3 G4 ~4 O6 q* C- w* r
% U- I# e5 |. c
1\section{XXX}
7 K& l6 q' `0 \+ Q2 x' m
2段落,XXX为段落标题
k) _2 M. ^; S$ O9 W3 [; |- O, o
0 x2 q, V" p. H) ?. e$ J' {0 B0 E
1\subsection{XXX}
% n6 Y% W. v# s$ P! _% Z& Z: z5 I. m
2子段落
3 W' ]: _7 f+ Z. }
- w A/ }3 z! [/ W) k
2.语句编辑
9 F' K& i7 j# C
1\indent
) |3 {- G4 r0 `$ s3 @7 M& X
2缩进
o9 r' B& A' _. N
- g' @3 T0 `" f5 o
1\\
" y& D' f4 {1 I# O e M
2换行,另起一段
" X* w* }' f0 x# {
3\par
6 y- b1 I3 t: H' p0 f7 Q9 U/ t
4换行,另起一段(首行缩进)
7 `6 q0 F, Q& ^
, b$ J5 N/ T0 m t G' p2 l
1\bf
9 I9 {7 O j/ }9 _9 t
2加粗
9 l8 |/ U0 ^9 b
- ~# b# X9 p( z4 `4 H8 k
1{...}
1 g. O5 p( s; i9 s) N
2语句块
. ?* M& |( S4 i9 m. L
- t- U. D# v- G- q* c0 _
1$...$
' l* }8 D1 [( }% c5 l6 G( q; B
2行内数学公式
( c# ~6 ?; P/ _ D5 S/ Y
' W7 Y: W) ~* u! N6 K" j, w, ]: h$ T
1\url
/ O. m: v6 G8 l ?5 l+ ?- i H
2加入超链接
" w5 F2 }/ w8 i2 C: v
! ]; ~; b1 [, U3 \9 l
3.插入图片
$ o+ c- X& r2 y+ Y* X) O& W
1\centerline{\inludegraphics[height=X.Xcm]{图片名.后缀名}}
$ {6 E' T# R) B4 G7 H* {7 b
2设置插入图片高度,要插入的图片放在figures文件夹里
9 q% ?. G3 Q a( h. p
3\centerline{XXXX}
& `2 n6 C, X* g/ D* k0 j
4图片下方文字标注
: S- `' r: {2 K# u2 o) K
$ l8 V9 P# Y! i. q4 Y
4.插入表格
5 i8 d- m0 T+ c: M
1\begin{table}...\end{table}
8 J4 v/ m' Q! d2 \: g
2插入表格快控制语句
- d: {" \4 P/ c& N
3\begin{tabular}
! [7 [' q4 O( {1 k, H( Z& J
4{{p{3cm}|p{3cm}....}
9 W% @) `& R# |* }5 C/ A
5\end{tabular}
+ D2 Z1 o3 [7 d1 N5 Z% d
# A1 [0 U# @6 e$ g. z
1\centering
% ]; f# N, V: x5 x0 V
2居中
; y; h9 N+ R4 J0 }3 o9 U! E1 s% d7 f* b
3\hline
8 F0 E+ E: x+ Q2 d4 Y, W
4表格每一行的横线
: n; F: A/ ^" L: G2 T7 |
5&
4 c( e0 k) A( O8 L' P. X
6\\
+ s- Y8 k8 [ e% V. C
7每一行的结束
% q8 D% i& g2 h4 Z! M% z
8\rowcolor[gray]{0.9}
3 z# }4 u2 }5 G# U& H, I) N
9设置一行的颜色
8 S( f6 p( x K. T: K$ A' ]
————————————————
! p: C6 H- d% d) U) p6 m* H
版权声明:本文为CSDN博主「你的小猫咪」的原创文章。
5 C* u4 x& R& g/ y$ v% t
原文链接:https://blog.csdn.net/jcjbusbjk/article/details/103571711
1 r( k* s* g0 b) L2 n
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5