I am very new to LaTeX, and I am trying to create a table. The table should look like this one:
I created this code:
\begin{table}[h!]
\centering
\caption{My caption}
\label{my-label}
\begin{tabular}{lll}
Path & \multicolumn{2}{l}{Alice} \\
Type & \multicolumn{2}{l}{Client} \\
Parameters & &
\end{tabular}
\end{table}
But I am stuck on how to add the parameters. It also doesn't show the table lines. How can I do this?
Best Answer
Dan's answer is very good and teaches how to build such a table from scratch. However, if you have several tables following the same patterns it might be better to have a higher level syntax for them.
The advantage to such an approach will be evident when you'll decide that, after all, those rules are annoying and you'll want to switch to
booktabs
. Just modifying the main command in a few details, all your similar tables will change format.Note that the document code has not changed in any way.