# Adding space between rows in LaTex tables

By default, LaTex tables are very tight: \usepackage{booktabs} \begin{table}[] \centering \caption{My caption} \label{my-label} \begin{tabular}{@{}lll@{}} \toprule Rows & Column 1 & Column 2 \\ \midrule Row 1 & 1234 & 2345 \\ Row 2 & 3456 & 4567 \\ Row 3 & 5678 & 6789 \\ Row 4 & 7890 & 8901 \\ Row 5 & 9012 & 10000 \\ \bottomrule \end{tabular} \end{table} <img src="https://riinudata.files.wordpress.com/2016/04/screen-shot-2016-04-11-at-11-28-54.png" alt="Screen Shot 2016-04-11 at 11.28.54" height="260" class="alignnone size-full wp-image-278" width="319" /> Adding this to the document preamble will add space between the rows:

# My minimal LaTex preamble


# Latex tables: column widths and alignments

Firstly, start off your table in http://www.tablesgenerator.com/. Tables Generator will do a lot for you. Its most useful features are importing from .csv and merging cells. The Booktabs table style (alternative to default table style from the menu) looks a bit nicer and is “publication quality”. Note that publication quality tables should not contain vertical lines. Screen shot of Tables Generator Code#1 Code #1 is the code from Tables Generator with the addition of caption, label and Latex document begin-end (so it’s compilable).

#### Riinu Ots

if it aint broke, you’re outdated

Data Manager

Edinburgh, UK