Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbalci/35e054c174fdb6e515c8ca9c82dab980 to your computer and use it in GitHub Desktop.
Save sbalci/35e054c174fdb6e515c8ca9c82dab980 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