memoir/pages/latex/tables.md
2023-04-04 13:12:59 +02:00

35 lines
944 B
Markdown
Executable File

# Tables
```latex
\begin{tabular}{ l|r }
\label{item:dtn-simulators-chosen}
Name & Language \\
\hline
The One \cite{sim-theone} & \verb|Java| \\
OPS \cite{sim-ops} & \verb|C++| \\
ns3-dtn-bit \cite{sim-ns3} & \verb|C++| \\
dtnsim \cite{sim-dtnsim} & \verb|Python| \\
DTN \cite{sim-dtn} & \verb|C#| \\
\end{tabular}
```
```latex
begin{table}[h!]
\centering
\begin{tabular}{|c c c c|}
\hline
Col1 & Col2 & Col2 & Col3 \\
\hline\hline
1 & 6 & 87837 & 787 \\
2 & 7 & 78 & 5415 \\
3 & 545 & 778 & 7507 \\
4 & 545 & 18744 & 7560 \\
5 & 88 & 788 & 6344 \\
\hline
\end{tabular}
\caption{Table to test captions and labels.}
\label{table:1}
\end{table}
```
[https://www.overleaf.com/learn/latex/Tables#Tables_with_fixed_length](https://www.overleaf.com/learn/latex/Tables#Tables_with_fixed_length)