1

I want to create a table like this:

Title Name Title Name


Mr Tom Mr Tim

Mrs Eliza Mr Ohm

so I want a table with multiple columns, but I don't want to input the LaTeX code like

Mr &Tom &Mr &Tim

(etc)

but instead I want to input it like:

Mr &Tom

Mrs &Eliza

(some code)

Mr &Tim

Mr &Ohm

Is it possible to do this? I want to do it like this because it is much easier to read when the data for one person is contained in just one, rather than having two people on one line. Thank you.

Maxim
  • 13

1 Answers1

0

Perhaps placing two tabulars side-by-side will work for you?

\documentclass{article}
\begin{document}

\begin{tabular}{ll}
Title & Name \\ \hline
Mr    & Tom \\
Mrs   & Eliza \\
\end{tabular}
\begin{tabular}{ll}
Title & Name \\ \hline
Mr    & Tim \\
Mr    & Ohm \\
\end{tabular}

\end{document}

enter image description here

James
  • 4,587
  • 1
  • 12
  • 27