I have a quite long (3 pages) longtable in landscape and it is generating me a ton of bad box warnings (overfull \vbox and \hbox messages up to 30.0000pt too wide). But the table is perfectly fine for printing so I do not care about these messages at all. However I do care about them when they occur outside the table so I really hate it that this table spams my log and that I don't see the bad box messages I actually want to eliminate.
The tips I found so far don't seem to have any effect. Currently I have the following settings in my preamble:
\hbadness=10000
\vbadness=\maxdimen
\vfuzz=30pt
\hfuzz=30pt
This is just for testing as I wanted to be sure to set the right option. Later I would like to set the working setting right before the table and clear it afterwards. The settings however have no effect in the table. But they are not ignored, when I create a overfull box outside the table on purpose it's warning is gone with these settings in the preamble...
So what can I do to get rid of those nasty warnings for the table?
Here is the code of a table like mine. My actual preamble is much longer and so my actual table looks a little different. With this example the problem also only exists for \hbox while in my actual table there are also bad \vbox warnings but I guess it is the same problem:
\documentclass[
12pt,
a4paper,
twoside,
headinclude,
headsepline,
BCOR12mm,
DIV14,
parskip=half,
bibliography=totoc,
listof=totoc,
numbers=noenddot,
captions=tableheading,
appendixprefix,
abstracton,
pdftex
]{scrreprt}
%Testing to get rid of bad box warnings
\hbadness=\maxdimen
\vbadness=\maxdimen
\vfuzz=30pt
\hfuzz=30pt
\usepackage{pdflscape}
\usepackage{longtable, colortbl}
\usepackage{multicol, multirow}
\usepackage{tabularx}
\usepackage{array}
\usepackage{ragged2e}
\begin{document}
\begin{landscape}
% Change the footnote style to lowercase letters and ignore badness warnings
\renewcommand{\thefootnote}{\alph{footnote}}
\scriptsize
\begin{center}
\begin{longtable}{p{1.0in}p{1.0in}p{0.95in}lp{0.5in}lp{0.3in}l>{\RaggedRight\arraybackslash}p{1.0in}>{\RaggedRight\arraybackslash}p{1.0in}}
\caption[Table title]{Table title} \label{tab:market} \\
\hline \hline \\[-2ex]
\multicolumn{1}{c}{One} &
\multicolumn{1}{c}{Two} &
\multicolumn{1}{c}{Three} &
\multicolumn{1}{c}{Four$^a$} &
\multicolumn{1}{p{0.2in}}{Five (some words)$^b$} &
\multicolumn{1}{c}{Six$^c$} &
\multicolumn{1}{p{0.55in}}{Seven\-longerword} &
\multicolumn{1}{p{0.3in}}{Eight (some words)$^d$} &
\multicolumn{1}{c}{Nine} &
\multicolumn{1}{c}{Ten} \\[0.5ex] \hline \\[-1.8ex]
\endfirsthead
\multicolumn{10}{c}{{\tablename} \thetable{} -- continued} \\[0.5ex]
\hline \hline \\[-2ex]
\multicolumn{1}{c}{One} &
\multicolumn{1}{c}{Two} &
\multicolumn{1}{c}{Three} &
\multicolumn{1}{c}{Four$^a$} &
\multicolumn{1}{p{0.2in}}{Five (some words)$^b$} &
\multicolumn{1}{c}{Six$^c$} &
\multicolumn{1}{p{0.55in}}{Seven\-longerword} &
\multicolumn{1}{p{0.3in}}{Eight (some words)$^d$} &
\multicolumn{1}{c}{Nine} &
\multicolumn{1}{c}{Ten} \\[0.5ex] \hline \\[-1.8ex]
\endhead
\multicolumn{10}{l}{{See next page\ldots}} \\
\endfoot
\\[-1.8ex] \hline \hline
\endlastfoot
%Data starts here:
One (some words) & Two (some words) & Three (some words) & Four & Five & Six & Seven & Eight & Nine: Here comes a short text & Ten: Here comes a short text \\
One (some words) & Two (some words) & Three (some words) & Four & Five & Six & Seven & Eight & Nine: Here comes a short text & Ten: Here comes a short text \\
One (some words) & Two (some words) & Three (some words) & Four & Five & Six & Seven & Eight & Nine: Here comes a short text & Ten: Here comes a short text \\
%And a lot more data...
\end{longtable}
\end{center}
% footnote a:
\footnotetext[1]{Footnote one}
% footnote b:
\footnotetext[2]{Footnote two}
% footnote c:
\footnotetext[3]{Footnote three}
% footnote d:
\footnotetext[4]{Footnote four}
\normalsize
% Reset the footnotes and badness
\renewcommand{\thefootnote}{\arabic{footnote}}
\end{landscape}
\end{document}
standalone
. – cfr Feb 16 '14 at 4:36