Graphics, Figures & TablesTable with Width of Text exceeds Bottom Margin

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
bliss00
Posts: 1
Joined: Fri Apr 12, 2013 3:16 pm

Table with Width of Text exceeds Bottom Margin

Post by bliss00 »

Hello,

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}
Could you help? I am searching but I haven't found an answer. Thank you in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Table with Width of Text exceeds Bottom Margin

Post by localghost »

These environments don't allow page breaks. Seems that the use of packages like ltablex or ltxtable instead of tabular* is inevitable. Possible solutions can for sure be found by a search in the forum.


Remarks:
  • Do not use the fullpage package. It does settings in the background which are not documented and can cause trouble. The geometry package is way to go.

Thorsten
Post Reply