数学建模社区-数学中国

标题: 数学建模论文常用LaTeX代码(2021美赛) [打印本页]

作者: 杨利霞    时间: 2021-7-19 16:58
标题: 数学建模论文常用LaTeX代码(2021美赛)

) j5 R/ u* A6 i  p7 f, l& H( y8 r) A* g% _; }: L0 O" s9 `7 @
数学建模论文常用LaTeX代码(2021美赛)/ n0 V) W0 p* q8 J

$ y+ s& P& f4 u. l/ R* k2 T
( w4 P- U3 @0 w% F; i
+ c) S2 |, S* @
数学建模论文常用LaTeX代码' K5 q1 s; y4 C4 L9 e) E
图片7 C7 W* x7 P+ \% k6 H5 g! b
% 单图0 V2 `9 r# ]( |
\begin{figure}[htbp]9 G# y: C+ }# S) T& E0 r4 N/ n
    \centering( D4 e; C( w! p6 U% t
    \includegraphics[width=.9\textwidth]{XXX.pdf}         % 图片相对位置
. _' }+ d' f; {/ E    \caption{xxx}                % 图片标题
; m2 |* I& M4 X3 \' ]# a/ a    \label{fig:xxx}                                                        % 图片标签9 q+ [1 f0 U5 \' b4 |
\end{figure}: \7 K' ?) B" K8 C$ O

. [- g: Y( p7 ], p$ c\begin{figure}[H]
: I9 o- d* O4 f# ?    \centering" Z  t0 y- {8 m. n  O+ V7 q+ w
    \includegraphics[width=.4\textwidth]{ex2-3jie.pdf}         % 图片相对位置
0 g% B5 ~3 S5 ~    \caption{xxx}                % 图片标题
3 j! G/ ]$ Y* ^2 F+ z0 I3 n    \label{fig:ex4-9}$ J6 D0 a+ W* z) {8 _
\end{figure}5 x7 O* G4 c$ V5 L) O7 ?
% 多图
* ^' d  k' w5 {& I\begin{figure}[htbp]$ f5 ~5 B2 I, I& ~
    \centering   
3 }1 a7 ~+ E/ y( U4 a( k    \subfigure[Hot Map of one Room]{                                % 图片1([]内为子图标题)
) m  U6 ~1 x8 M    \label{fig:sub.roomhot}                                                        % 子图1的标签( R% M( I  u' ^) }4 \8 x
    \includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图1的相对位置
+ I% I( j9 n, I    \subfigure[Hot Map of one Floor]{                                % 图片2
! T+ f5 I, u9 p+ |* v# q$ E    \label{fig:sub.floorhot}                                                % 子图2的标签
: g4 d0 k9 {) `& M7 w- R7 ^    \includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图2的相对位置& U2 a9 p9 c. F: Y" a7 I
    \caption{Hot Map of one Room and one Floor}                % 总图标题
' J/ o6 y- T; \! d9 P6 Z    \label{fig:hot}                                                                        % 总图标签& m* E& n+ c: m8 [1 [; |0 R" ], K8 p
\end{figure}
8 h; m% m) I0 R/ o表格
- s, P. p) ~; }+ T- Q* m% 三线表
- A7 D# n( z) _: Y  s, U4 p\begin{table}[!htbp]
' J+ D9 w' p) f' k' }: k\begin{center}
# u3 ]) `7 Y# E6 K\caption{Notations}                                                        % 表格标题& K* y6 Y) R% P4 J! \
\begin{tabular}{c|l}                        % 三线表格式('c'居中,'l'左对齐,'|'表示竖框线)/ q& u5 j, l9 ^7 Z& P/ l+ r
        \toprule                                                                % 上框线
9 B* z/ |) C8 G' |        \multicolumn{1}{m{3cm}}{\centering Symbol}+ y+ \  k. R& D2 H# v
        &\multicolumn{1}{m{8cm}}{\centering Definition}\\1 j; j! M! l( {3 b
        \midrule                                                                % 中框线
; ?4 i6 C$ Q; @: A    $\rho$      &   the people density\\, x: O9 l' }# g% r  r
    $\mathit{SD_i}$ & the spatial danger of the $i^{th}$ cellular\\
9 V1 T, K1 _  M; v. {* I    $v_i$       &   the velocity of the $i^{th}$ visitor\\
# S' U! @  o+ j2 ~; I    $\overrightarrow{F_{Mi}}$   &   the attractive force (spatial danger and velocity) on the $i^{th}$ visitor\\
6 E! g, ?+ v8 o9 j! C+ j2 C    $\overrightarrow{F_{ppi}}$  &   the people-to-people interaction force on the $i^{th}$ visitor\\
9 \- U  L+ X# G- `    $\overrightarrow{d_i}$  &   the expected movement direction the $i^{th}$ visitor\\
# ?4 R  s. l! u/ ]9 ^8 S( A& |0 v        $\alpha$ &the weight of the spatial danger and visitors’ velocity in $\overrightarrow{d_i}$\\
* v$ v6 R* |0 W% ^+ X% N    $\beta$ &the weight of interaction force between people in $\overrightarrow{d_i}$\\: Q; O' G2 X- d3 U' b
    $p$ &   the ratio of the crowd decentralization\\* K$ N4 x) q, o
    \bottomrule                                                                %底框线# J8 h! f8 A- A3 a
\end{tabular}\label{tb:notation}. n& H3 u; R1 r- E* A( a# W
\end{center}9 A/ ]1 x' ~$ ^: B
\end{table}& f$ \; {* ~7 ?+ f& w9 v9 |* P
代码高亮; z1 J+ ]9 {! n0 ~: C' n
% 硬件语言 VHDL4 ]9 X- I% @+ R5 h8 b1 G
\begin{lstlisting}[language=vhdl]" ^9 f" M& H, E+ {
process(sel3) --根据音调编码,分配分频系数- o; q/ ~# W+ F' r& @* T2 A" C
begin
- W' {- T7 K' X+ k1 T7 c% g    case sel3 is
" s, Z; b2 c6 A9 ]* L        when"000"=>count_ld<="0111011101110"; --3822    -- 1(中音do!)
, |" v/ n5 G* ?8 ?        when"001"=>count_ld<="0000000110010"; --50      -- 1(低音do)
4 t5 F8 S- t& U% c% c        when"010"=>count_ld<="0000000010100"; --20      -- 2(低音re)
1 d6 c) r" p5 r/ g' S4 E. I        when"011"=>count_ld<="0000000001010"; --10      -- 3(低音mi)& n! e3 @. e0 G& m, q2 F
        when"100"=>count_ld<="0000000000101"; --5       -- 4(低音fa)
9 l9 g1 H9 X( ^6 B2 ^) @        when"101"=>count_ld<="0000000000010"; --2       -- 5(低音sol)" D2 G" A, [( \( X: [0 O8 Q
        when"110"=>count_ld<="1000111000000"; --4544    -- 6(低音la)$ k- [8 n+ t- m+ x- _# j
        when"111"=>count_ld<="0111111010000"; --4048    -- 7(低音si)2 y+ u9 \* w3 {+ F. G' [4 k5 O
        when others=>count_ld<="0111011101110"; --3822
, B4 y* Q1 H* E) j* O& Zend case;
- v/ a' W7 R) Vend process;   
# y' n# h) X1 G9 l
8 u! r- u2 `& t( Q; N' j

) `3 Q; n6 i: d: R* l————————————————) W  o+ P. ~  g4 j! `% M
版权声明:本文为CSDN博主「von van」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
1 I2 e! _/ I$ t原文链接:https://blog.csdn.net/weixin_46325577/article/details/113522972" E$ r% n9 ^# z6 p( `7 |

# I# X3 Y. r- _: u' d5 b& N( z! Q4 g* n3 r: ]2 a  z





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