数学建模社区-数学中国
标题:
数学建模论文常用LaTeX代码(2021美赛)
[打印本页]
作者:
杨利霞
时间:
2021-7-19 16:58
标题:
数学建模论文常用LaTeX代码(2021美赛)
& [; [2 x. ?+ i$ N
; E, M( m$ H `" G
数学建模论文常用LaTeX代码(2021美赛)
2 _1 x1 F, x8 f
J# [+ c( ^+ w2 ^6 t! v' m i
9 g, C c$ F) m
' z9 c/ x' j* {7 B7 A/ N& s4 G
数学建模论文常用LaTeX代码
3 J! c& P: R- s; U0 r* y
图片
/ i( G, g, x1 @2 J+ v( I( C$ n- r
% 单图
. A& N: V& T+ {7 _+ W2 l3 }5 A
\begin{figure}[htbp]
: Y5 B p) D! ?9 i
\centering
* u! M% a. e( E/ j# k$ E
\includegraphics[width=.9\textwidth]{XXX.pdf} % 图片相对位置
$ B4 g- I1 y+ O2 {/ _
\caption{xxx} % 图片标题
# x; c) C6 y3 g7 }; t. v" W3 v- A
\label{fig:xxx} % 图片标签
9 O5 |* {. q$ h1 r5 e
\end{figure}
5 O* I8 d1 E5 V( Z+ L8 S: i
8 F0 k7 i2 e% r1 J1 H- `
\begin{figure}[H]
, ^/ r( K' o8 C; o
\centering
\0 I4 M# Y' ~/ Z% ^7 w
\includegraphics[width=.4\textwidth]{ex2-3jie.pdf} % 图片相对位置
3 H+ l, ?3 K- [9 _' T
\caption{xxx} % 图片标题
' m0 a z+ Z# H2 E
\label{fig:ex4-9}
; r* }/ {% m3 z( E, A) i
\end{figure}
$ b6 w- ] i. v" @
% 多图
+ x+ V" g! F7 @5 g+ t# `) @
\begin{figure}[htbp]
3 L# n4 m( L" l' O" x2 p; P: D. ^7 B
\centering
% @' z8 d3 _2 d2 x
\subfigure[Hot Map of one Room]{ % 图片1([]内为子图标题)
' R" D; f2 E2 M0 |
\label{fig:sub.roomhot} % 子图1的标签
! X% C- N$ e5 J7 f
\includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图1的相对位置
8 F+ Y* d$ S# L, E1 e4 `
\subfigure[Hot Map of one Floor]{ % 图片2
2 N, Q) j: n X0 u7 A
\label{fig:sub.floorhot} % 子图2的标签
1 `4 u7 Q7 X: r8 R$ d
\includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图2的相对位置
2 W5 c; N# m* F8 q( E; x
\caption{Hot Map of one Room and one Floor} % 总图标题
, J6 ]" X4 v: n3 z4 W
\label{fig:hot} % 总图标签
! X N8 r) \: o8 q
\end{figure}
- e, b% s$ P& S! v; T, ~
表格
* f1 d! b1 b6 S& V
% 三线表
2 _3 M7 P, f7 f: e6 B& K2 L
\begin{table}[!htbp]
* k+ ]1 z; @9 X2 x4 ^- }7 b) _6 F5 U
\begin{center}
1 C, i$ p4 m! _8 g, ~) x
\caption{Notations} % 表格标题
$ a3 g# U2 P, L9 m; M/ T! f
\begin{tabular}{c|l} % 三线表格式('c'居中,'l'左对齐,'|'表示竖框线)
, x c3 ]' D. {6 Y0 D) z3 a
\toprule % 上框线
8 T ]1 u" [5 L4 `3 M3 g2 @; R& [
\multicolumn{1}{m{3cm}}{\centering Symbol}
* Q+ D2 Q5 b) d8 s. e0 X8 b* O
&\multicolumn{1}{m{8cm}}{\centering Definition}\\
0 n. A2 F5 q, q. j' j/ L6 _& q! ~
\midrule % 中框线
3 R3 X1 c" `: z( M5 W& [$ M
$\rho$ & the people density\\
4 s/ G/ e6 C" Y4 e( P
$\mathit{SD_i}$ & the spatial danger of the $i^{th}$ cellular\\
# i7 A, E; l# J& e; e6 c7 e
$v_i$ & the velocity of the $i^{th}$ visitor\\
0 F& J3 X, ?( g7 P4 o( y
$\overrightarrow{F_{Mi}}$ & the attractive force (spatial danger and velocity) on the $i^{th}$ visitor\\
% r9 }! R8 B: z- I* E" s1 e' ^
$\overrightarrow{F_{ppi}}$ & the people-to-people interaction force on the $i^{th}$ visitor\\
W- K8 u. }9 B/ C, c
$\overrightarrow{d_i}$ & the expected movement direction the $i^{th}$ visitor\\
9 f% C7 h# s$ n5 ]& B
$\alpha$ &the weight of the spatial danger and visitors’ velocity in $\overrightarrow{d_i}$\\
, p8 \; T: I8 n# W5 E$ s
$\beta$ &the weight of interaction force between people in $\overrightarrow{d_i}$\\
* p( n5 L. `- O; y T' ]* Q# L
$p$ & the ratio of the crowd decentralization\\
e! ?4 o! |% {2 z0 e' t$ K9 R. S
\bottomrule %底框线
2 b' ] H. k i+ q: T# v' z
\end{tabular}\label{tb:notation}
2 {6 m( x: i$ f
\end{center}
/ G' E4 o$ q9 s7 j0 N+ V: A
\end{table}
1 Y$ |% H# S- j& X4 R( M
代码高亮
$ v0 x; r. s6 H) N; n7 ?* F
% 硬件语言 VHDL
* U2 G& z% {' J2 m
\begin{lstlisting}[language=vhdl]
A- A4 w( |* A4 m9 s
process(sel3) --根据音调编码,分配分频系数
: P8 {% {* {7 a% E# v0 ^
begin
! s. k' P: y2 \! ]& Y& W6 s; _
case sel3 is
" x) U, r- j) p. N$ r2 r. [
when"000"=>count_ld<="0111011101110"; --3822 -- 1(中音do!)
9 {% R2 K* ^8 q# l, {, e6 U1 e
when"001"=>count_ld<="0000000110010"; --50 -- 1(低音do)
- ?) V9 d( @$ R6 Y
when"010"=>count_ld<="0000000010100"; --20 -- 2(低音re)
! W2 w( _. e( z2 z* [
when"011"=>count_ld<="0000000001010"; --10 -- 3(低音mi)
0 }- q8 F+ h! a2 `
when"100"=>count_ld<="0000000000101"; --5 -- 4(低音fa)
' ]* Q; O& y4 C$ ~% S8 Z3 X
when"101"=>count_ld<="0000000000010"; --2 -- 5(低音sol)
: f' F& @: [+ R0 X+ w1 C
when"110"=>count_ld<="1000111000000"; --4544 -- 6(低音la)
2 o3 H0 z6 L% H
when"111"=>count_ld<="0111111010000"; --4048 -- 7(低音si)
# n# y! h$ J: t
when others=>count_ld<="0111011101110"; --3822
0 x) E. ?. F% I$ Y) S0 X7 t
end case;
* ~+ O3 I- ^, o5 S: t/ H( c+ `# ?
end process;
- G% t. ]' G! E$ @
7 B/ T8 d, p* @) }0 a8 a
# E7 \& f2 g( b/ r2 [6 l
————————————————
8 F; J8 y+ j) v5 H
版权声明:本文为CSDN博主「von van」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
! r( T* }+ e( Q4 U
原文链接:https://blog.csdn.net/weixin_46325577/article/details/113522972
* ]* y& j9 G) ~+ y) s) q0 W; \
( c+ Y; s: j& a8 t! R7 v9 _
3 ]+ \8 ]7 _3 O7 l5 F- w
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5