Skip to content

Instantly share code, notes, and snippets.

@dantalus
Created January 13, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dantalus/2f571db27ead7ce08aab to your computer and use it in GitHub Desktop.
Save dantalus/2f571db27ead7ce08aab to your computer and use it in GitHub Desktop.
Basic LaTeX table
\documentclass{article}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{array}
\usepackage{float}
\usepackage[cm]{fullpage}
\begin{document}
\begin{tabular}{p{3.0cm}ccccc}
\toprule
& & Total Sample & Group A & Group B & Test Statistic \\
Variable & Missing & (n = ) & (n = ) & (n = ) & \\
\cmidrule(lr){3-6}
\addlinespace[48pt]
\bottomrule
\end{tabular}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment