数学建模社区-数学中国

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

作者: 杨利霞    时间: 2021-7-19 16:58
标题: 数学建模论文常用LaTeX代码(2021美赛)
* D3 w  H6 b" D$ S8 i, h; g
5 W  B, o4 `( J# ~! |" a8 ~7 ?( h9 z/ R
数学建模论文常用LaTeX代码(2021美赛)
! U& B9 F1 k: P
$ H$ C( E0 I3 _
) O( M2 i; o2 U7 {! N" I
7 _- H' V+ G3 w" c, o
数学建模论文常用LaTeX代码9 j6 Q  S" B0 J+ [' G; {( T# J5 C
图片
( t: V  J2 O% o3 t( h/ N4 _% 单图
4 K/ B' O- c% R* i' S\begin{figure}[htbp]
4 B6 V; K5 P/ I5 _4 w    \centering# ]# ~4 K" \* }) n4 @* T6 H
    \includegraphics[width=.9\textwidth]{XXX.pdf}         % 图片相对位置
5 |3 n7 [6 `8 [! C- x    \caption{xxx}                % 图片标题
8 `: Z; |, u) Y; B5 Z    \label{fig:xxx}                                                        % 图片标签/ d9 }( S9 F8 o  T
\end{figure}
6 S7 }: z6 Y( i3 c# U
6 [6 \# {8 C! D% n\begin{figure}[H]0 r' G+ p2 S) @  A, ?! A4 J
    \centering
+ p7 ]: v" u$ g* `% u" S    \includegraphics[width=.4\textwidth]{ex2-3jie.pdf}         % 图片相对位置4 [8 w6 y6 X9 H, K7 Z5 c, A
    \caption{xxx}                % 图片标题
% j! d* `2 ~; X" E4 Y4 I    \label{fig:ex4-9}
0 k5 H4 |* ?( Z  H7 {+ h# k# \) ]. S\end{figure}- A1 v" E! z+ G4 H9 ?  ]
% 多图% e# U! H) `5 }: p  v
\begin{figure}[htbp]
! y: ]8 r. U* v7 ]0 T    \centering    $ ]( [1 o/ ]2 J! b. L
    \subfigure[Hot Map of one Room]{                                % 图片1([]内为子图标题)
: ~: R5 c. m/ n& B6 G$ \    \label{fig:sub.roomhot}                                                        % 子图1的标签# [# F" ^  c9 a. h1 J
    \includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图1的相对位置
, c. X9 K. d( X2 w3 l7 L    \subfigure[Hot Map of one Floor]{                                % 图片2/ _. B: Z0 R# Y/ K
    \label{fig:sub.floorhot}                                                % 子图2的标签
# O& c" }/ A2 i1 n5 F2 E1 T; E    \includegraphics[width=0.45\textwidth]{XXX.jpg}}% 子图2的相对位置$ O. w: l- _; A8 ?7 w% q% d6 _
    \caption{Hot Map of one Room and one Floor}                % 总图标题
+ P& [9 R) T/ _6 Z4 X; a& Z- G/ C    \label{fig:hot}                                                                        % 总图标签
6 @6 Z% P+ {( ?\end{figure}
! p8 r+ h( r# E# v表格
1 J6 @" ~4 F( W/ x& I, A% 三线表
' F3 ]4 s4 G; Y, \. T; X; }\begin{table}[!htbp]
" {, M  B8 g1 H# D\begin{center}
0 {$ b0 U$ r. p! y' N\caption{Notations}                                                        % 表格标题
5 _9 H2 Z/ T& ?  W1 X' F7 x: q\begin{tabular}{c|l}                        % 三线表格式('c'居中,'l'左对齐,'|'表示竖框线)
3 d1 U3 J8 [+ x& H        \toprule                                                                % 上框线
0 d, U/ z0 L# l1 A% m        \multicolumn{1}{m{3cm}}{\centering Symbol}; `9 i2 J3 U- P9 S$ m0 `) X2 X
        &\multicolumn{1}{m{8cm}}{\centering Definition}\\
. c* k# R2 d( C        \midrule                                                                % 中框线
7 R, }0 J, _# V    $\rho$      &   the people density\\/ C2 h% F5 t- F0 E0 ^; [; Y* n9 h9 X
    $\mathit{SD_i}$ & the spatial danger of the $i^{th}$ cellular\\
* w0 N' g$ E( E/ ]) o' a- D    $v_i$       &   the velocity of the $i^{th}$ visitor\\
) H& n  g/ O% w' n    $\overrightarrow{F_{Mi}}$   &   the attractive force (spatial danger and velocity) on the $i^{th}$ visitor\\
8 ~; \# T8 O5 n( i; P# E    $\overrightarrow{F_{ppi}}$  &   the people-to-people interaction force on the $i^{th}$ visitor\\0 o, Y; n7 u* w) U; D
    $\overrightarrow{d_i}$  &   the expected movement direction the $i^{th}$ visitor\\
* w; y# d) V8 u/ J3 U        $\alpha$ &the weight of the spatial danger and visitors’ velocity in $\overrightarrow{d_i}$\\
# V4 B/ {3 U4 e    $\beta$ &the weight of interaction force between people in $\overrightarrow{d_i}$\\
3 G* _" ]7 B+ s: t2 E4 R" Q    $p$ &   the ratio of the crowd decentralization\\: d% U, w0 B8 l' V! V
    \bottomrule                                                                %底框线) G4 j! h% a1 n# B9 j" {9 H8 t9 J. X
\end{tabular}\label{tb:notation}- P* Z& ~( ?' [4 n! S+ n4 y" j
\end{center}
7 y- t$ q1 P2 X! R# r2 T\end{table}1 E2 P7 B' `. U" Y, ~" X
代码高亮
4 c- q' O3 C* k% 硬件语言 VHDL- I9 q6 s) ~3 @6 I$ p  `6 ^0 h
\begin{lstlisting}[language=vhdl]
/ t  R8 I2 @' `$ ^5 y4 s/ xprocess(sel3) --根据音调编码,分配分频系数! T9 r* M/ t1 O
begin
4 k+ X' d9 m3 s6 Z  W; @    case sel3 is- d7 B% @! q# g. Y
        when"000"=>count_ld<="0111011101110"; --3822    -- 1(中音do!)7 k7 w/ Z  o( f9 U
        when"001"=>count_ld<="0000000110010"; --50      -- 1(低音do)' L. @1 T0 J% y* R( B  L
        when"010"=>count_ld<="0000000010100"; --20      -- 2(低音re)
) H/ E, e/ u  @; n1 d- j) I        when"011"=>count_ld<="0000000001010"; --10      -- 3(低音mi)
& a) x; ~& I& Q( r$ \        when"100"=>count_ld<="0000000000101"; --5       -- 4(低音fa)
6 N. R! q- }+ F" N        when"101"=>count_ld<="0000000000010"; --2       -- 5(低音sol)
; ]5 p4 [" S9 Z8 t/ g/ i4 t        when"110"=>count_ld<="1000111000000"; --4544    -- 6(低音la)# R( Q+ M; w: r& l! P" z# w# v
        when"111"=>count_ld<="0111111010000"; --4048    -- 7(低音si)# _7 b5 o6 m+ X) `7 o% f
        when others=>count_ld<="0111011101110"; --3822
! Y/ i: w/ d$ N6 z; x7 i' kend case;
; s/ n! c1 V7 S4 Eend process;     l$ U4 D, y3 j
8 ?* u7 o: C% ^8 U1 K- H

" C  i' W5 Y* Z* q6 `+ S————————————————
9 N, Y7 z( K/ k8 p, H: o( z版权声明:本文为CSDN博主「von van」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
7 o- E* c1 a+ y- P原文链接:https://blog.csdn.net/weixin_46325577/article/details/113522972
0 y7 T( r( L' [- [0 X
) G2 X& ~: x2 y; W& S# e- Q  L8 l) {: @& ~% V, A+ Z( |





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