数学建模社区-数学中国
标题:
数学建模论文常用LaTeX代码(2021美赛)
[打印本页]
作者:
杨利霞
时间:
2021-7-19 16:58
标题:
数学建模论文常用LaTeX代码(2021美赛)
. ^0 U8 g T h* {
. @5 t M$ H: k; G2 ?! B
数学建模论文常用LaTeX代码(2021美赛)
% {& h& T( w( o
7 l0 Z. d7 e7 c5 u
1 w3 M3 O! ^) `
8 L3 ~0 {7 o; W2 r8 C# r
数学建模论文常用LaTeX代码
3 C/ C+ Q; K! t9 m- e1 q
图片
6 b) b% ], g+ V: a# J! D
% 单图
% d3 Q$ o9 W" S$ y+ r
\begin{figure}[htbp]
+ M3 B+ q7 e% k |5 I0 R' M
\centering
& v9 i, \0 _! U8 e) H7 h: `
\includegraphics[width=.9\textwidth]{XXX.pdf} % 图片相对位置
! W# O6 E+ Z+ f- I# U
\caption{xxx} % 图片标题
0 l; P+ o X% H! L! t' m) G) N; Q
\label{fig:xxx} % 图片标签
/ M( v; m( X4 O. b3 B; b. K+ F6 h0 _
\end{figure}
- f- h7 o; d M4 G1 g. ~* A
9 c Y f1 {4 u
\begin{figure}[H]
: p; A0 ` n* y' E) V, J
\centering
9 T* w, n5 T* E: ?: h
\includegraphics[width=.4\textwidth]{ex2-3jie.pdf} % 图片相对位置
* l/ Y2 \$ x) x+ U$ Q4 m
\caption{xxx} % 图片标题
4 `/ \5 A8 m+ f. N' R1 z2 R9 K
\label{fig:ex4-9}
) X W j9 v2 D! y; n9 p
\end{figure}
+ C, @1 P% K9 o3 F
% 多图
; |3 \+ G7 C/ X+ P! P5 V
\begin{figure}[htbp]
3 e7 @; W! }" S
\centering
6 m( d" k/ A9 F ?3 ~3 v3 b
\subfigure[Hot Map of one Room]{ % 图片1([]内为子图标题)
. x/ \4 q$ G/ R: a8 w
\label{fig:sub.roomhot} % 子图1的标签
; S% y" ~" j1 v5 \
\includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图1的相对位置
M% ~$ l' f% n' N! h5 T: _
\subfigure[Hot Map of one Floor]{ % 图片2
3 h: @7 C: b. Z8 m$ J* X! T2 p" [/ g
\label{fig:sub.floorhot} % 子图2的标签
# `) |3 D. m# f1 w# b
\includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图2的相对位置
; l" H) z/ _( A
\caption{Hot Map of one Room and one Floor} % 总图标题
+ A! t5 e6 Z p& f7 c) v
\label{fig:hot} % 总图标签
9 s( ^% p+ u/ V2 g
\end{figure}
- O' n4 q. U( Y8 Q7 p
表格
! {5 C! o$ C/ x' g4 Y+ X0 M
% 三线表
( v" V# x: }+ Z9 r; {, R
\begin{table}[!htbp]
6 T7 Z8 W. z- Q
\begin{center}
3 {5 }, F1 U# ?( L
\caption{Notations} % 表格标题
, I- C9 Q6 o$ ]# I8 \( D. B$ I( V& Y
\begin{tabular}{c|l} % 三线表格式('c'居中,'l'左对齐,'|'表示竖框线)
% a- u" O% K3 q
\toprule % 上框线
- g* R5 s& Q, r1 X* u
\multicolumn{1}{m{3cm}}{\centering Symbol}
, e8 n. f' X* H9 c" C# i. U0 v# ^
&\multicolumn{1}{m{8cm}}{\centering Definition}\\
C3 X# A: e6 o2 s \8 y- w# }
\midrule % 中框线
6 ^5 n8 }8 Z7 g6 j2 m8 I
$\rho$ & the people density\\
+ A7 k D) T4 u; a( x* ?- b, w
$\mathit{SD_i}$ & the spatial danger of the $i^{th}$ cellular\\
, r0 G% C+ `$ ~
$v_i$ & the velocity of the $i^{th}$ visitor\\
4 X5 x# s! j. A
$\overrightarrow{F_{Mi}}$ & the attractive force (spatial danger and velocity) on the $i^{th}$ visitor\\
1 z% e- c3 L) f% V
$\overrightarrow{F_{ppi}}$ & the people-to-people interaction force on the $i^{th}$ visitor\\
' z1 a/ L7 y5 `# u7 V, i0 h' t
$\overrightarrow{d_i}$ & the expected movement direction the $i^{th}$ visitor\\
3 ]! |7 x8 u% V7 F' L
$\alpha$ &the weight of the spatial danger and visitors’ velocity in $\overrightarrow{d_i}$\\
+ j3 m9 D; T; Z# p$ t: z$ a9 K t
$\beta$ &the weight of interaction force between people in $\overrightarrow{d_i}$\\
# o" g2 l& N0 c! f2 ?- |
$p$ & the ratio of the crowd decentralization\\
# P1 o2 j, O. O2 [. y! p3 ^" j
\bottomrule %底框线
! f7 l% y$ h+ e4 ?" u% U4 N0 U
\end{tabular}\label{tb:notation}
2 l$ N) }! B% O: x& S+ |* A
\end{center}
0 Q7 ~: F! J) I
\end{table}
& A$ q% j- d% ~7 Y: {
代码高亮
, \+ Q, i+ t4 m _& X- q7 i1 k/ h
% 硬件语言 VHDL
# |# `7 m1 u* k0 m1 T& _! o
\begin{lstlisting}[language=vhdl]
) e, W' p. K. U" i5 q
process(sel3) --根据音调编码,分配分频系数
% m- `' |" { E5 \ {( }
begin
# Q/ ~3 D" n2 L* y) Q1 [* x' c
case sel3 is
5 h& E& F* q- ~& ^1 Z# W" ~+ G
when"000"=>count_ld<="0111011101110"; --3822 -- 1(中音do!)
( n: n' m+ W; w
when"001"=>count_ld<="0000000110010"; --50 -- 1(低音do)
, A1 i" u6 U: \+ B: w
when"010"=>count_ld<="0000000010100"; --20 -- 2(低音re)
4 }( R; M5 Y Q% B# t- M1 @+ \
when"011"=>count_ld<="0000000001010"; --10 -- 3(低音mi)
) I; {4 c* m' G8 l+ H
when"100"=>count_ld<="0000000000101"; --5 -- 4(低音fa)
% o4 J: J( I% K; x
when"101"=>count_ld<="0000000000010"; --2 -- 5(低音sol)
# a/ D+ L. O& H' B! m2 I8 P$ G
when"110"=>count_ld<="1000111000000"; --4544 -- 6(低音la)
. v" [( ]3 b9 a; c z
when"111"=>count_ld<="0111111010000"; --4048 -- 7(低音si)
7 Q( f2 Y& i- h
when others=>count_ld<="0111011101110"; --3822
" H& H/ a s/ l' G
end case;
+ [* x' U& \$ g) S6 M
end process;
. T% G) z" O* O5 q
6 Z5 o2 \. }& u _% T; u0 `4 Y
" Q" v% d$ [8 n$ d% j
————————————————
, _/ q+ ~9 m8 V. E- [
版权声明:本文为CSDN博主「von van」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
8 u$ I' y& O3 P+ I; y9 y
原文链接:https://blog.csdn.net/weixin_46325577/article/details/113522972
9 \) O3 r. L9 C% c+ S+ Y/ ?- T7 g
: P7 y/ r; p; W0 o
* L1 [: q* b. G5 b
欢迎光临 数学建模社区-数学中国 (http://www.madio.net/)
Powered by Discuz! X2.5