mirror of
https://github.com/cupcakearmy/memoir.git
synced 2025-09-07 08:20:40 +00:00
latex
This commit is contained in:
35
pages/latex/tables.md
Executable file
35
pages/latex/tables.md
Executable file
@@ -0,0 +1,35 @@
|
||||
# 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)
|
Reference in New Issue
Block a user