数学建模社区-数学中国
标题:
数学建模论文常用LaTeX代码(2021美赛)
[打印本页]
作者:
杨利霞
时间:
2021-7-19 16:58
标题:
数学建模论文常用LaTeX代码(2021美赛)
' X4 u* j7 W! h& ~9 ]8 D, C
0 Z* o2 Y) T6 ~, }: G9 C' v# @
数学建模论文常用LaTeX代码(2021美赛)
' ~2 I9 t3 }1 h; O1 F
0 P5 S; h. e5 O- a% M
$ Z7 ?$ ^; b2 O3 R9 Z
/ \4 \5 s% j+ k2 k
数学建模论文常用LaTeX代码
7 d0 w8 g& u ~/ D% h% F) w! x$ F
图片
9 X% g* G3 t( V$ s6 D
% 单图
+ g) M# s1 s1 N L0 D
\begin{figure}[htbp]
) [% I" ~7 G8 `6 L* _0 d7 T0 S
\centering
9 H: t3 |4 v; b' g. U2 v5 a
\includegraphics[width=.9\textwidth]{XXX.pdf} % 图片相对位置
2 `8 B' ]( t. S7 ^& D9 A! \0 ]
\caption{xxx} % 图片标题
; C" Q: P( Q" C" E3 I
\label{fig:xxx} % 图片标签
Z1 V! ]4 K; Y9 k5 H. @4 M
\end{figure}
* l8 r/ E4 p% |- W$ E8 e
6 `9 t2 I0 {2 y+ E4 O0 t
\begin{figure}[H]
- z9 f% @! `5 Y6 `% `7 F0 C+ F
\centering
6 F2 a7 o, V; b3 i5 d
\includegraphics[width=.4\textwidth]{ex2-3jie.pdf} % 图片相对位置
, \% T: V% f9 L+ Z8 e5 h6 o3 s4 n
\caption{xxx} % 图片标题
& U/ m; C) H% N) h' d6 E+ {& M
\label{fig:ex4-9}
' S( _: A" C. x" x' U& J/ P0 G8 i" Z
\end{figure}
$ W8 e) d( `! I1 ]4 M/ M+ D
% 多图
, i( @7 g O. H& J9 E
\begin{figure}[htbp]
; I8 Z1 Y" d1 m* F( ^+ B
\centering
2 j1 y3 M, p/ ~9 C S+ H
\subfigure[Hot Map of one Room]{ % 图片1([]内为子图标题)
7 y7 W: p' D! O( A' e# o
\label{fig:sub.roomhot} % 子图1的标签
F3 N4 r) q. u2 F
\includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图1的相对位置
7 g) \1 `. g1 C* p4 X8 c- C7 G* f" z
\subfigure[Hot Map of one Floor]{ % 图片2
' m9 K! E/ d: I2 {) m
\label{fig:sub.floorhot} % 子图2的标签
: j$ h! e7 D8 C. k
\includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图2的相对位置
* @5 j, j! V" s3 k# C0 P" U
\caption{Hot Map of one Room and one Floor} % 总图标题
1 Q% q" g6 P8 W
\label{fig:hot} % 总图标签
3 C: @; R3 F$ y
\end{figure}
4 Q( O& H4 b9 Y- s5 G' E5 P
表格
1 `2 M( e6 y4 M+ E9 _
% 三线表
6 v" s. R! {# v
\begin{table}[!htbp]
0 o3 {# |4 ]$ N. j2 I/ W
\begin{center}
$ b9 g; j9 r4 h4 `3 Q, f4 o: U
\caption{Notations} % 表格标题
, R( u1 x$ x* s- E$ E& j: F9 w
\begin{tabular}{c|l} % 三线表格式('c'居中,'l'左对齐,'|'表示竖框线)
5 }0 U: o4 D' D1 g0 h4 }, f. `
\toprule % 上框线
8 L: ^) E! W- F
\multicolumn{1}{m{3cm}}{\centering Symbol}
4 L( H! h& F& P# B4 ?) Y: T2 x* W. a# i
&\multicolumn{1}{m{8cm}}{\centering Definition}\\
+ B3 S& x) P# K2 m h/ r
\midrule % 中框线
% T& J3 \+ s) m* _: g7 B
$\rho$ & the people density\\
" d: U3 V% A% O
$\mathit{SD_i}$ & the spatial danger of the $i^{th}$ cellular\\
( A$ `( p4 \# N# Q8 p; v
$v_i$ & the velocity of the $i^{th}$ visitor\\
5 q4 m" y- y/ J5 e
$\overrightarrow{F_{Mi}}$ & the attractive force (spatial danger and velocity) on the $i^{th}$ visitor\\
1 @- A L' s/ ~+ P
$\overrightarrow{F_{ppi}}$ & the people-to-people interaction force on the $i^{th}$ visitor\\
$ |9 m$ f' e" Y: ^: G1 W! I% d
$\overrightarrow{d_i}$ & the expected movement direction the $i^{th}$ visitor\\
* z) t0 u; i, f2 S! Z6 z. h% ^" V6 t. X
$\alpha$ &the weight of the spatial danger and visitors’ velocity in $\overrightarrow{d_i}$\\
. H: V/ g! y5 j
$\beta$ &the weight of interaction force between people in $\overrightarrow{d_i}$\\
- n% w+ o' Y$ G! ~" J- T
$p$ & the ratio of the crowd decentralization\\
6 k, f3 ]+ |: M$ P! y* [2 `
\bottomrule %底框线
0 m" D1 {. v( o2 P; J
\end{tabular}\label{tb:notation}
+ h9 E% C" _7 [
\end{center}
9 s/ C" ] |. t
\end{table}
+ ?' `% N, [! b3 @2 u, d/ G
代码高亮
3 }* E6 v% v2 j+ k+ D
% 硬件语言 VHDL
) E* W" q1 p5 N" A- S+ T2 q# o
\begin{lstlisting}[language=vhdl]
6 t& F+ D. J5 F, w
process(sel3) --根据音调编码,分配分频系数
( i( s; R" Y2 m b8 u
begin
* W6 w! n/ G/ H
case sel3 is
, ^! c' R$ H3 I
when"000"=>count_ld<="0111011101110"; --3822 -- 1(中音do!)
5 G/ O* e8 i6 ]6 c2 ~
when"001"=>count_ld<="0000000110010"; --50 -- 1(低音do)
2 w' \$ S. f9 I
when"010"=>count_ld<="0000000010100"; --20 -- 2(低音re)
- j X2 m; n+ W, A( U0 Y
when"011"=>count_ld<="0000000001010"; --10 -- 3(低音mi)
, P8 Q7 J9 L5 Q+ z
when"100"=>count_ld<="0000000000101"; --5 -- 4(低音fa)
# a0 Q/ p( G) }: ?' }0 I; T" [
when"101"=>count_ld<="0000000000010"; --2 -- 5(低音sol)
* k0 F/ y+ F$ V% k( u
when"110"=>count_ld<="1000111000000"; --4544 -- 6(低音la)
7 X3 k, s$ g7 f/ T4 f. O5 ?0 a) B, {& |
when"111"=>count_ld<="0111111010000"; --4048 -- 7(低音si)
& ]0 @/ {" ^) ~9 |9 L5 j
when others=>count_ld<="0111011101110"; --3822
. A0 O. @) u$ Q. I; q. H
end case;
( Q: _$ W+ g/ w( W. j
end process;
( {( t; |2 [1 b6 F( v7 K
1 J" c: r0 t4 y+ F
, B \- _/ v9 o
————————————————
: Z7 b0 U& \4 j' h2 p" A
版权声明:本文为CSDN博主「von van」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
# |2 ~1 D: ?' S
原文链接:https://blog.csdn.net/weixin_46325577/article/details/113522972
" r- f! c% I8 u
$ M% ~, e; i# E% P9 ^
}# K: h9 Y) J0 v$ {' k1 \
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5