今天写论文的时候需要写一个表格,mark一下,万一以后又要写到。
\begin{table}[h]\footnotesize
\begin{center}
\begin{tabular}{|l|l|}
\hline
\textbf{Parameter} & \textbf{Value} \\
\hline
Routing algorithm & Epidemic \\
Simulation area & 500m x 500m \\
Number of nodes & 40 \\
Bandwidth (Kbit/s) & 250 Kbit/s \\
Size of message (KB) & 500 KB \\
Time interval (s) & 40 s \\
Transmission range (m) & 100 m\\
\hline
\end{tabular}
\caption{\label{tab:Paremeter}Simulation Parameters}
\end{center}
\end{table}
运行结果: