数学建模社区-数学中国
标题:
美赛latex写作相关
[打印本页]
作者:
zhangtt123
时间:
2020-2-12 10:24
标题:
美赛latex写作相关
一、引用宏
- g9 E% ~) I& [, J7 Y! ~8 e
这个在每个模板里都有,还有页眉页脚页数,不必赘述。
& h- w' Q5 P' s/ s" M& N) u
1\documentclass[final,3p,times]{elsarticle}
/ @% q/ @0 X) G- q9 z
2
1 U. O, i9 A8 ]. d% M! N
3\usepackage{graphicx, amssymb}
! T* o! A; U# A* W# m
4\usepackage{amsthm}
m$ F e3 y5 l+ H
5\usepackage{amsmath}
( l" ^+ C2 [, E$ X' H' \; g
6\usepackage{epsfig}
+ p3 Q( S0 t9 K2 S/ P9 i8 S' Q) `
7\usepackage{graphicx}
. O% o! Z4 \$ d( N {
8\usepackage{subfigure}
. a1 o+ }! h5 A% e% f" m+ [
9\usepackage{graphics}
/ a3 f+ `( |7 A$ s0 F1 _0 D
10\usepackage{multirow}
$ V; y1 `9 J1 e+ X# s( e
11\usepackage{threeparttable}
/ F8 X1 J2 g! Q( \, m6 Y0 C1 d! X
12\usepackage{amsthm}
3 ? ]% z9 F5 `8 ~! o' S
13\usepackage[noend]{algpseudocode}
& `, ?, Q8 Y0 C, S( |
14\usepackage{algorithmicx,algorithm}
8 n- Z5 N* b2 v- C1 M
15
( Z# p0 }0 \1 {; j8 E' n
16\newtheorem{theorem}{Theorem}
, j7 B( E+ s B5 M
17\theoremstyle{definition}
x( |6 b' N6 Q; q; ]$ k
18\newtheorem{definition}{Definition}
# X/ u) u/ y; B2 o
19\theoremstyle{remark}
6 g. u Q# o# r: H& |3 [
20\newtheorem{remark}{Remark}
- V. b/ w# g9 f& `9 E
21\theoremstyle{proposition}
( o% V* n, ]" j+ w4 L
22\newtheorem{proposition}{Proposition}
. f# b0 E3 q( v" ~) x
23\theoremstyle{example}
1 S& g( C, j3 j, J" e6 ~
24\newtheorem{example}{Example}
/ r ~" q1 r3 G$ U2 y9 T3 f
25\theoremstyle{corollary}
+ F% |5 I7 { q( F0 R) i
26\newtheorem{corollary}{Corollary}
3 @. j9 Z Z: u8 E1 B- i
27\theoremstyle{property}
+ p2 _# k, }- L
28\newtheorem{property}{Property}
, R- `+ e! w' a
29\renewcommand{\algorithmicrequire}{ \textbf{Input:}} %Use Input in the format of Algorithm
- A& M+ h' m D. o5 A C
30\renewcommand{\algorithmicensure}{ \textbf{Output:}} %UseOutput in the format of Algorithm
$ y4 q/ v1 a8 q. z" d. M$ y: A
31
* w# g" E) N4 t% b b9 c
32\begin{document}
. N, h% d, B7 B" b2 u) L
33Please write here.
3 o+ C# j, w; o$ I+ [; Q, F5 K
34\end{document}
% T: M0 f7 A5 S$ o
8 h0 `, j6 F9 k$ Z- h+ F6 F
二、数学符号相关
% U7 E, }. H: { w8 C* y/ d
两种控制符
" S# `' i; E2 m ]7 `
1 B+ [& z! u5 ]% p5 a$ K. w* p
1.$ $生成行内公式
" a7 e0 t3 ^. H9 F6 A- L! Y
2.生成数学块公式
& N, H5 q/ a2 Z" l: ?1 a
$_{}需要转义字符,前加\
# U0 p& g/ L1 ?1 q0 c+ D
* s# Y: }. O1 r( ]
一些常用的数学符号表示:
! R' v9 {1 y/ ~% k- ?9 i
1指数^
6 X2 v( f; \: T# E& t! Z3 m
2下标_
1 j9 M( I# H; o
3平方根\sqrt[n]
5 ^" y& ]: W+ G0 v# R
4上下水平线\overline \underline
( M2 ?. _. N, V0 @1 J. F
5上下大括号\overbrace \underbrace
; Y3 V0 [: t3 Y8 d) ]
6向量 \vec \overrightarrow 和\overleftarrow
( |0 V* m# h2 g2 B. [
7分数 \frac
; ^6 ]- k! @. Z$ Q6 w: q4 Q! G
8积分运算符 \int
4 U! Q& ?6 x; I9 Y) q. [. X
9求和运算符 \sum
^$ D. Y4 ]# ]7 ?
10乘积运算符 \prod
; Y- t- t" e; ^% _% C# j
$ W) `! W. i$ z3 y( f0 R+ Z' E$ V! y+ H
详情:常用符号
/ j5 \9 C2 {+ v& X& l/ j$ c7 i
0 o0 p9 Y: |$ t0 ]0 i. p
三、论文格式排版
$ |$ I/ _- O+ `3 z
1.整体格式
0 G: J- x! ]. c7 V, E, D0 V8 k
1\begin{XXX}...\end{XXX}
! C9 f. `3 A7 H2 W! Q/ u
2表示一个段落,XXX填写document表示整篇文章
8 B) X# j1 ]; u
3abstruct表示摘要
- }9 ?6 }) G I! L- _. R+ {
$ r' ?1 n D9 m6 q3 a
1\newpage
& t! k+ c/ c1 n- z3 o
2新起一页
2 Z L6 J2 _. w. @! P2 }0 \/ e
$ C( T, A L7 f( _1 E
1\setcounter{page}{1}
" A9 y( s3 q$ O3 }" A% c& p5 }
2设置页码计数器从当前页面开始之后
, H6 N% \: s! x* I4 {
3每页自动加上代码
+ B ]: O) Y6 M! Z
, P" C! c: B0 q! Z& ?3 e% U
1\section{XXX}
# [3 G3 O" D4 a, x; n& @: \+ Y
2段落,XXX为段落标题
% \: Q/ o( [2 c G; l
. X( Y# x6 m5 n
1\subsection{XXX}
5 h. Z$ y+ d$ u, z( t1 v
2子段落
: j6 n8 C9 C( h1 x( U
* B. @. ?9 `5 S9 W! g) c6 P2 x
2.语句编辑
4 n# a; e: ?9 P, n" ?1 |
1\indent
9 @) F3 K) S" u2 ]1 v5 }
2缩进
! U; N* L8 ~6 R& i3 f" s/ u0 a
: l# p) Z1 Y% @4 ~8 q
1\\
7 E" W; k/ X" Q" q, ?' @3 V
2换行,另起一段
0 ` x+ q" f: Z0 d1 l! p
3\par
7 o) Z* C7 Y' T- s, X
4换行,另起一段(首行缩进)
& n% ^+ w, m: q7 R( B/ U! c8 ~
# @5 f' n4 X7 D
1\bf
9 A( ^4 y4 \# l6 C! j5 I. {- K
2加粗
. y4 w% E; C1 {
( R1 t; s5 e0 j
1{...}
& S% s N' d& n
2语句块
, Q9 G" |. c* N5 h9 Z. H
/ [! V; E( V# D8 ]+ i" H
1$...$
/ L8 n" m4 C, d" D* c1 b* S$ L ?
2行内数学公式
( Z' k, O5 J" e( T' x
9 I+ {; v' ?4 a* ?/ c
1\url
( k/ N! k8 j* x
2加入超链接
+ {6 v0 q. K8 A- d! k( z4 d X8 g: `- T
, H+ J5 M+ v+ l! k& T" s+ Q
3.插入图片
5 T# v1 t( n& y% A6 G
1\centerline{\inludegraphics[height=X.Xcm]{图片名.后缀名}}
' m) c+ ^# m' M1 N3 k
2设置插入图片高度,要插入的图片放在figures文件夹里
9 @: B8 @: r/ `% H, z2 v
3\centerline{XXXX}
# \6 P; a* c' U
4图片下方文字标注
5 \0 }2 R4 {: I6 {; l. }$ ^
3 r7 v A$ e5 @+ s: N
4.插入表格
$ L* {9 c i. a" L- Q. a4 B6 i! ~- f
1\begin{table}...\end{table}
6 A' c" d1 n- a6 R5 C
2插入表格快控制语句
2 b- d5 j7 x& r$ o
3\begin{tabular}
" ]+ {) w# M8 m/ G
4{{p{3cm}|p{3cm}....}
0 o9 V6 D$ Q6 x- G7 G
5\end{tabular}
3 G+ O/ j7 p" N) ^. v
6 R5 A5 Y8 E/ ?9 C
1\centering
% }; O* t" j8 W: t4 P
2居中
& \+ T( B* m3 U: Z0 X" x4 b9 [
3\hline
# j+ r. i H }8 [: }! r! d
4表格每一行的横线
8 R- K& C \; P$ F0 O0 w8 Y; C8 h
5&
* ]# }& ? m$ L' N
6\\
3 x! t6 v/ y; J
7每一行的结束
z9 u, [+ `; Q0 {; W
8\rowcolor[gray]{0.9}
% `* ]! O4 |: I2 S
9设置一行的颜色
! t; B6 H& P3 t) d! e
————————————————
9 G$ A5 `+ L+ L' e9 U
版权声明:本文为CSDN博主「你的小猫咪」的原创文章。
& d! X8 N6 W3 p1 x
原文链接:https://blog.csdn.net/jcjbusbjk/article/details/103571711
7 t+ I$ Q3 b: u- E+ P" X1 C
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5