Code: Select all
\begin{tabular}{l|ccc}
& Year \\
\cline{2-4}
City & 2006 & 2007 & 2008 \\
\hline
London & 45789 & 46551 & 51298 \\
Berlin & 34549 & 32543 & 29870 \\
Paris & 49835 & 51009 & 51970 \\
\end{tabular}
Code: Select all
\begin{tabular}{l|ccc}
& Year \\
\cline{2-4}
City & 2006 & 2007 & 2008 \\
\hline
London & 45789 & 46551 & 51298 \\
Berlin & 34549 & 32543 & 29870 \\
Paris & 49835 & 51009 & 51970 \\
\end{tabular}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\multicolumn{3}{c}{Year}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis