4
votes
1answer
68 views

Multiply defined labels with \usebox

I want to duplicate some content without re-defining its labels. For example, \newbox{\foobox} \sbox{\foobox}{\vbox{\section{Foo}\label{sec:foo}} \usebox{\foobox} \usebox{\foobox} will emit a ...
5
votes
0answers
156 views

Reuse an image resp. a box in TikZ but have side-effects only once

I have a huge document (a pool of exercise problems) with lots of \input statements (one file per subexercise). In order to not get lost in this mess and easily open files from the PDF, I include a ...
8
votes
1answer
230 views

Beamer: Overfull hbox in headline

I try to redefine the header of my frames, but for some mysterious reason I get an overfull hbox of 1.6 points or slightly more: \documentclass{beamer} \usepackage{times} ...
12
votes
1answer
150 views

Can I disable underfull \hbox messages for a specific line?

The line \sbox{\mybox}{\parbox{2cm}{\lipsum[1]}} causes some of the above messages (59): \documentclass{article} \usepackage{lipsum} \newsavebox{\mybox} \begin{document} ...
6
votes
1answer
113 views

siunitx overfull hbox dependent on table-format

There are a few similar questions (see here and here) regarding overfull \hboxes in siunitx tables but neither solves/explains the following. Consider this MWE: \documentclass{article} ...
3
votes
2answers
2k views

Frame option in includegraphics makes an overfull \hbox

I'm using the adjust package to add the frame option in \includegraphics command. The package is loaded in this way: \usepackage[export]{adjustbox} Now I can write the following command: ...
5
votes
1answer
496 views

Overfull hbox in tabular

In the following (M)WE, the tabular version of the Contact information from a CV gives an overfull hbox warning when compiled with pdfLatex, but the minipage version does not. Why? I have not found a ...
15
votes
1answer
212 views

Strange behaviour of \sbox

This question consists of two related parts. I already solved the original problem but still don't understand where it came from or why the solution works. I use the subcaption package so I can place ...
1
vote
0answers
223 views

Occasional overfull \vbox warnings [closed]

Depending on the value of \aeheight I may or may not get Overfull \vbox errors. I don't understand why. \documentclass{article} \usepackage[margin=0.5in,landscape]{geometry} \usepackage{multicol} ...
0
votes
0answers
34 views

Badbox in TexnicCenter.. How to solve it? [duplicate]

After compiling my Project in Latex, I got 206 badboxes of all the types you want. However, I can only see the reference of the Badbox, for example: Underfull \hbox (badness 1607) in paragraph at ...
1
vote
0answers
99 views

Removing overfull and underfull box warnings [closed]

Always when I want to prepare a document with LaTeX I receive different warnings including underfull and overfull but I don't know how I can handle these warnings. As you can see here I have two ...
3
votes
2answers
656 views

algorithm2e with boxruled gives overfull hbox

I am using the algorithm2e package with the boxruled option to format my pseudo-code. However, I am getting an overfull hbox, which I suspect is due to margin/box conflicts. Does anyone have a fix ...
8
votes
1answer
7k views

What is a “Overfull \hbox (9.89561pt too wide)”?

I have this warnings around, some of them seems to be solved naturally but I never really understand what do they mean. What this means? Edit: I would like to keep the question in more general ...
4
votes
2answers
1k views

Removing an “Overfull \vbox” message caused by a nested table

I am trying to typeset a nested table, like this: \documentclass{article} \usepackage{bigstrut} \usepackage{multirow} \begin{document} \begin{tabular}{|lll|} \hline A & \multirow{2}{*}{ ...
5
votes
1answer
1k views

Overfull hbox warning when including graphics

I'm getting the error: Overfull \hbox (14.34999pt too wide) in paragraph at lines 374--375 [][] | when including graphics files. The files are in EPS format. Below is an example: \begin{figure} ...
5
votes
1answer
3k views

How to avoid overfull \hbox warning? [closed]

The following code compiles but throws this error/warning : Overfull \hbox (7.65448pt too wide) in paragraph at lines 21--21 Visually there is nothing wrong though, and the box does not cross the ...
13
votes
2answers
250 views

Persuading (la)tex “silently to go beyond the envelope of 'good taste' ” to avoid an overfull hbox

My understanding, based on reading this website, is that (la)tex performs at most three passes when trying to typeset a paragraph: one based on \pretolerance, one based on \tolerance, and one based on ...
12
votes
1answer
8k views

How do you effectively debug overfull \hbox warnings?

I still haven't found out how to effectively solve Overfull \hbox (0.80913pt too wide) has occurred while \output is active warnings. For instance, this piece of latex generates such a warning and I ...
17
votes
1answer
2k views

What is the command to highlight bad boxes in pdf?

I seem to remember a command to show bad boxes in a PDF when using latex, but googling is not helping me to remember. How can I show bad boxes in my PDF?
6
votes
2answers
898 views

Underfull hbox with \hbox to <dimen> but not with \halign

When using the \halign primitive, cells in the same column all have the same width. Hence, if one entry is very large (abcdefg below), the others will be stretched to the same size. If an entry ...
11
votes
4answers
8k views

Overfull \hbox warning when using tabular

I keep getting this warning Overfull \hbox (0.63303pt too wide) in paragraph at lines xxx--xxx` wherever I have this line in the code \begin{tabular}{p{2cm}|p{4cm}|p{3cm}|p{3cm}} It does ...
8
votes
1answer
688 views

How to centre my display math overfull hboxes?

I have an overfull hbox which I've decided to live with. Actually, several. However, since they're in \[…\], it would look better if they could remain centered, i.e. overflowing the margins equally ...
2
votes
1answer
1k views

Overfull hbox (in the middle of page) in ToC with tocloft package and cftchapaftersnum

To customize the appearance of our Table of contents we use the tocloft package. One point we would like to implement is to underline the chapter entries in the ToC. However, if we use the ...
62
votes
3answers
25k views

What are underfull hboxes and vboxes and how can I get rid of them?

Often, TeX outputs underfull hbox and vbox warnings when running and in the generated log file. What are these and how can I get rid of them?
63
votes
2answers
22k views

What does “overfull hbox” mean?

I often see output from TeX with the warning overfull hbox, badness 10000. What does this message mean?