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} Adding this to the document preamble will add space between the rows:

Continue reading

My minimal example: \documentclass[a4paper]{article} %%% FIGURES AND TABLES %%%% \usepackage{graphicx} %gives the \includegraphics[width=0.5\textwidth]{my_image} %%% PAGE AND TEXT SET-UP %%%% \usepackage{fullpage} %gets rids of the wide default borders \renewcommand{\baselinestretch}{1.5} %space between lines \begin{document} Hello hello hello \end{document} And then one that is not so minimal, but still pretty basic and useful: \documentclass[a4paper]{article} %%% FIGURES AND TABLES %%%% \usepackage{graphicx} %gives the \includegraphics[width=0.5\textwidth]{my_image} \usepackage{booktabs} %for nicer tables \usepackage{tabu} %advanced control over tables \renewcommand{\thetable}{S\arabic{table}} %if this is supplement (this numbers figures as S1, S2.

Continue reading

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. Code #1 is the code from Tables Generator with the addition of caption, label and Latex document begin-end (so it’s compilable).

Continue reading

Author's picture

Riinu Pius (Ots)

if it aint broke, you’re outdated

Senior Data Manager

Edinburgh, UK