I am working on tables for my thesis and using
tabular*
. Since my table has larger rows than columns, I adjust it with text width. I don't know why but the table exceeds the bottom margin which I set up in the beginning (1 inch). I would like to keep tabular*
instead of tabularx.
Code: Select all
\documentclass[12pt,openright,twoside]{report}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{fullpage}
\usepackage{pdflscape}
\usepackage{subfig}
\usepackage{appendix}
\usepackage{setspace}
\usepackage[margin=1in]{geometry}
\usepackage{natbib}
\usepackage{fancyhdr}
\usepackage{booktabs} %change in mine
\usepackage{array}
\begin{document}
\begin{table}[h!]
\caption{table test}
\begin{tabular*}{\textwidth}{@{}>{\bfseries}l@{\extracolsep{\fill}}*{4}{c}@{}}
\multicolumn{1}{c}{} & \multicolumn{1}{c}{(1)} & \multicolumn{1}{c}{(2)} & \multicolumn{1}{c}{(3)} & \multicolumn{1}{c}{(4)} \\
\end{tabular*}
\caption*{Notes:table description}
\end{table}
\end{document}