数学建模社区-数学中国

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

作者: zhangtt123    时间: 2020-2-12 10:24
标题: 美赛latex写作相关
一、引用宏
7 D! G/ Q& \+ E0 K6 v, A这个在每个模板里都有,还有页眉页脚页数,不必赘述。
8 I( N3 `6 h' z1\documentclass[final,3p,times]{elsarticle}
' [) x4 G- V1 m2  v: s6 e) l% |! h. T; [* `! g( G
3\usepackage{graphicx, amssymb}
$ w+ q0 z& g- B3 H# v" x4\usepackage{amsthm}
& I3 H( U+ b" \5\usepackage{amsmath}' x+ U4 w8 Z( \! d) W2 P+ \
6\usepackage{epsfig}) i: U4 M0 w* s/ P5 U# ?
7\usepackage{graphicx}" k4 R% u* v9 E( Z8 [, c' D7 j
8\usepackage{subfigure}; g# {& X* ~' d+ L. m
9\usepackage{graphics}! P3 ]) V2 |" l( ^( A  B- Z
10\usepackage{multirow}
' J& p7 U' S# t3 G, s8 _8 b11\usepackage{threeparttable}
5 D- Q. n1 w& g) v. x12\usepackage{amsthm}+ o0 q. x4 Z  S
13\usepackage[noend]{algpseudocode}: X0 Y3 C6 ~7 Q5 y+ b4 J2 S8 \' R
14\usepackage{algorithmicx,algorithm}
) p3 k9 Q9 F! z! ^& i8 y7 G15
. a7 I. X' e% ]: M16\newtheorem{theorem}{Theorem}
& Y: g" S4 b4 j17\theoremstyle{definition}( q; J( R6 R! _) ~2 h+ ^
18\newtheorem{definition}{Definition}% a; k8 g4 [7 j2 ~
19\theoremstyle{remark}
( Y' o* D& Y" k8 D$ `20\newtheorem{remark}{Remark}
6 ?4 w5 Y4 e5 ]1 D1 R5 [* S1 n5 P! V21\theoremstyle{proposition}
/ p- K# h; A6 a3 H22\newtheorem{proposition}{Proposition}) A4 t0 O; _* Q% `
23\theoremstyle{example}
5 [+ ?4 v. X$ g% m24\newtheorem{example}{Example}
6 h  d! b; G) r' B# @25\theoremstyle{corollary}
) e4 `$ [' [5 _7 Q- t2 o, X26\newtheorem{corollary}{Corollary}* l2 ?$ |; Y* s. k9 |
27\theoremstyle{property}
8 s' J, j1 k& ~9 ^9 _) k$ [28\newtheorem{property}{Property}
7 I- w* m2 j% E% b4 o' `29\renewcommand{\algorithmicrequire}{ \textbf{Input:}} %Use Input in the format of Algorithm
8 k4 ^$ I6 t9 r# g5 L+ V30\renewcommand{\algorithmicensure}{ \textbf{Output:}} %UseOutput in the format of Algorithm
% I; p  v+ z/ ^31$ s9 B$ @" w- Q+ f1 i
32\begin{document}
. L' U' r. {5 L% u0 }. W- F33Please write here.
  t0 Y' s- g% E, n3 V; D, m34\end{document}
" K  P: L; W# X8 T5 Q. Q, ?* B+ F( v4 n; I
二、数学符号相关9 V. Z9 x5 P* f& X: |% F
两种控制符: a7 n3 P' K* `/ _: `! M- A
3 @! A) |# A7 x( L
1.$     $生成行内公式
% r8 M$ S2 a# O' |2.生成数学块公式
& R7 n% o' C( k# }6 a   $_{}需要转义字符,前加\/ C5 w: _/ J4 l/ P
  j0 b1 e1 q  D( L$ l, G, H
一些常用的数学符号表示:
* U+ B' C. B* t4 F) N4 I4 C1指数^
& q& A; S+ T2 y: {1 i2下标_
6 s/ j; G$ a5 X3平方根\sqrt[n]7 N  z7 o* q: K$ L% y
4上下水平线\overline    \underline
; L% c% J$ W' Z) i8 C' T5上下大括号\overbrace   \underbrace( ?0 u3 {$ J! A7 ^: M
6向量  \vec      \overrightarrow 和\overleftarrow
, |. O+ W, M0 d) ^1 V- ~7分数  \frac
5 h5 \6 U) r- Q5 U$ x, z) C% x! ?8积分运算符    \int/ c1 W7 m* d/ z
9求和运算符    \sum7 j1 }0 F: a. Y5 ?4 |' U
10乘积运算符  \prod
5 C  a" h. ]- b, _. i7 z, U( I0 ~# I/ O
详情:常用符号5 M& r6 b) j' B9 b* ]0 R7 {8 w. [
. M3 D" u2 s7 P2 g8 n! ~
三、论文格式排版
. a4 Z2 y' Z2 Y, n; E0 l, |) e. Y1.整体格式/ G2 `- o8 [& d5 P( ]
1\begin{XXX}...\end{XXX}
) |: V1 }; L* y5 f# z& J9 Y) F, A2表示一个段落,XXX填写document表示整篇文章) W: K# B5 y! P7 ~
3abstruct表示摘要
3 Y& x# I# [8 }6 ~* U9 L! T4 G  e5 a7 |8 Y1 H+ |+ E; E& r
1\newpage   6 z( L" B$ ^8 b
2新起一页
) u- D2 ^: [* h8 K+ J4 C$ y  g/ j; d. @2 h) I) w; }' x
1\setcounter{page}{1}
) @/ l6 y- Q% A; \2设置页码计数器从当前页面开始之后6 J/ Y6 B" n/ `5 U: N
3每页自动加上代码% Y7 C2 L. u+ C0 F1 p* ~; ^

2 D+ E! C# ~5 N! O1\section{XXX}% _  \# P8 r% s# I2 W
2段落,XXX为段落标题
; P. d! S4 u1 v* H, f# T5 C6 G+ Y7 x# i: O" P
1\subsection{XXX}
/ K0 Z$ ^: U: {2子段落5 Y, V9 [) ]" Y/ W  M- M

. T7 `% m$ \& Q/ {* I2 w4 i2.语句编辑: c1 @0 A5 ?4 q" f2 w* [
1\indent# Y1 v# {1 ]# x( h) @6 y
2缩进+ a& |& p4 D* t4 X; _- x
9 |, c$ B, D" w5 g4 Z
1\\
5 r2 ]! @0 v( K2 v4 N2换行,另起一段0 @8 l( V5 v0 L  ^' F& P
3\par
  M7 ^: `5 z* @7 ]! |' r4换行,另起一段(首行缩进)
2 O3 C3 A! ~& f7 l4 p& A3 v) K7 v
1\bf
+ ]8 H; N# H: v! F' K2加粗
/ W5 c3 u( f' h) Y, q" e8 b/ Q' g1 h9 O+ ]) |) {) t/ y
1{...}+ U. c7 Y) ~6 Y5 r- O# v, E
2语句块
; ^# C  w* }6 ^/ [! P- Y7 o/ m
' p/ {4 _+ [7 D* L0 r1$...$$ ^$ e: u0 G! U% z
2行内数学公式$ y  O' m& N$ D# m/ P
) b# x3 i: K6 Q! R3 t9 C  E
1\url, i! I/ p0 d! c+ C% ]1 v. T- U
2加入超链接
3 ?4 W& u& `! W2 J+ G
/ ]  t2 E* B9 C3.插入图片% q% p; _( |* e% `3 `8 F5 ~
1\centerline{\inludegraphics[height=X.Xcm]{图片名.后缀名}}
; U( d- V7 X2 T8 G2设置插入图片高度,要插入的图片放在figures文件夹里
& |; K! D0 {1 i2 o4 L& `3\centerline{XXXX}
! d9 c& ]  Y" _+ l  j# ~4图片下方文字标注
" N# b" N; G$ k3 d; g( A" \3 S( V) x3 x! U: O6 z: }' F2 q8 G
4.插入表格
9 x6 ^4 }, J# [( ?; w2 t' @1\begin{table}...\end{table}
* B) ?1 |- I! [3 R# d2插入表格快控制语句* r$ R0 u9 x3 c7 H
3\begin{tabular}
2 F6 M9 b, q# q, u- Z- r4{{p{3cm}|p{3cm}....}
) p( @: B- p; v6 ]1 n5\end{tabular}* e2 j# k. C, [

  m; J9 u6 W  O. t& P/ e' D4 Z1\centering
, {7 a# i$ h2 E7 G# F2居中7 z3 Z$ Q& d' {4 Z' X
3\hline- c/ L) p7 X% w3 }
4表格每一行的横线
$ I! Q7 W6 g& A% Y4 Y' \5&" T) b* F+ \. P% k
6\\$ i+ b3 P4 {2 M. k8 W6 ]- g5 o. r
7每一行的结束& o: {+ f8 g5 V; Z( I- D# s! g
8\rowcolor[gray]{0.9}7 c! l" y; K/ m* m; b' [9 z* m
9设置一行的颜色3 e3 u" v. H2 A# U/ r7 ]7 I
————————————————( W& |5 Z- @$ o% o" O- \0 F4 w7 V% i
版权声明:本文为CSDN博主「你的小猫咪」的原创文章。% Q/ p$ b$ B/ o5 `
原文链接:https://blog.csdn.net/jcjbusbjk/article/details/103571711$ b5 X& _2 \( H6 z; |+ A, \$ u  R





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