Skip to main content

Questions tagged [badness]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Spacing problem (underfull box)

I have the following problem: I have a theorem environment where I nested an enumerate environment. This environment is at the end of a page, and in the subsequent page, LaTeX starts producing ...
Matteo Bulgarelli's user avatar
0 votes
0 answers
34 views

Underfull \hbox (badness 10000) in normal paragraph with no \\ [duplicate]

I have done a lot of googling on this issue and haven't come up with anything that matches my scenario. My apologies if I've overlooked it, please feel free to delete this post if it's a duplicate. I ...
ohshitgorillas's user avatar
1 vote
1 answer
75 views

Why is there no parameter \emergencytolerance?

If overfull boxes cannot be removed by rewording, layout changes etc., there are basically two strategies for removing them: Increase the value of \tolerance Increase the value of \emergencystretch ...
user227621's user avatar
0 votes
1 answer
82 views

Avoid the warning "What does the phrase "Underfull \hbox (badness 10000) in paragraph", while keeping the line space as using \\[<space>]

There is plenty of advice to avoid line break by \\ and use an empty line for going to the next line. My problem is that the template I am using is full of warnings of Underfull \hbox (badness 10000) ...
Abbas's user avatar
  • 73
0 votes
1 answer
38 views

Help with badness error from an new environment

I am using the following code and it works ok but when I include the environment to make a line after proof causes badness errors, but not every time I use proof, any help? \documentclass{article} \...
Paul A's user avatar
  • 1,117
0 votes
0 answers
79 views

Stretching vertical space and reducing badness at the bottom of a page

Problem Is there a way in TeX/LaTeX to somehow reduce the badness which comes from a distance of a line from target height of a page? Context I am creating a document class for my students to use ...
lpszTemp's user avatar
1 vote
1 answer
83 views

Underfull \hbox (badness 10000) in a tabularx table

I'm encountering the Underfull \hbox (badness 10000) error when using the below provided code. By testing the code, I've noticed that the error vanishes when reducing the first column to a single word ...
NewHere's user avatar
  • 13
3 votes
1 answer
267 views

"Underfull" or "Loose" box in TeX?

When badness exceeds \hbadness, there should be Underfull. When badness exceeds \tolerance, there should be Overfull. Origin story.tex file is \hrule \vskip 1in \centerline{\bf A SHORT STORY} \vskip ...
Y. zeng's user avatar
  • 2,105
4 votes
1 answer
114 views

Same badness cause different space in the same sentence in TeX?

On page 29 of The TeXbook, Mr. Knuth show the same sentence with the same badness, but those have different space between their word. What is the reason and how to understand the badness here?
Y. zeng's user avatar
  • 2,105
0 votes
1 answer
261 views

Underfull \hbox (badness 10000) in paragraph at lines 17--18

Throughout my document, I constantly have problems with the text spreading out when there is no real reason for it. I have tried to look up how to solve it but nothing seems to work for me. I am ...
Ninnie Tägtström's user avatar
0 votes
2 answers
44 views

How do you define a "thispage" macro that only works on a particular page?

Sometimes I use \vbadness=10000 to suppress the warning Underfull \vbox (badness ...) has occurred while \output is active... I put \vbadness=10000 in the page the warning occurs and \vbadness=1000 ...
Onner Irotsab's user avatar
0 votes
0 answers
36 views

Difference Between Break and Linebreak Commands [duplicate]

The motivation for this question originates from the answer given to Centering an Arabic Section Number Above Justified Title Text Consider the code \documentclass{book} \usepackage{titlesec} \...
DDS's user avatar
  • 9,768
1 vote
1 answer
637 views

How can I reduce the "Underfull \vbox badness" warning if I have a tcolorbox box that almost takes up an entire page?

I want to create a box using the tcolorbox package that almost takes up an entire page and here's my MWE of a document that I compiled using LuaLaTeX in a scrbook class. % !TeX program = lualatex % ...
Farrel Ahmed's user avatar
0 votes
1 answer
489 views

Underfull \hbox (badness 1043) in paragraph at lines 52--52

I have this bad error with Latex, and i can't resolve it can somebody help me ? Thank you \documentclass[12pt, letterpaper, twoside]{article} \usepackage[utf8]{inputenc} \usepackage{fancyhdr} \...
Corentin's user avatar
9 votes
1 answer
172 views

Has anyone made a modified TeX with infinity greater than 10,000?

We're all familiar with the effect of \sloppy deciding that if there has to be something bad in the paragraph, it might as well shove everything into one really bad line. Part of this is, no doubt, ...
Don Hosek's user avatar
  • 14.2k
0 votes
2 answers
116 views

How can I fix necessarily wordy overfull \hbox (badness xxxx) errors?

Apparently \subsection{Impact of the Tiananmen Square Massacre and China's standing in the international community} gets an overfull \hbox (0.844 too wide) message. I didn't know there was a word ...
user71207's user avatar
  • 555
0 votes
1 answer
37 views

tabularx inside `small` produces underfull hbox

I have a table implemented with tabularx and I want all the text inside my table to be "small". Putting the tabularx inside a small environment seems to work just fine, except it produces a ...
Seub's user avatar
  • 400
2 votes
3 answers
46 views

Can't fit an imported excel table in a page (overfull hbox and vbox)

Good evening to anyone. I'm trying desperately to fit this table into an horizontal page. As I've used excel2latex to import it, I'm using the array environment, and I don't really know what to do to ...
Matteo Bulgarelli's user avatar
1 vote
2 answers
154 views

Why all the underfull \hbox (badness) in the console, for this simple code?

I'm getting lots of warnings in the console, about Underfull \hbox (badness ...), with several sub-figures settings. Here's a MWE reproducing the issue: \documentclass[11pt,letterpaper,twoside]{book} ...
Cham's user avatar
  • 2,328
4 votes
1 answer
840 views

Panic on overfull \hbox

Last week, I handed in a homework where an equation went off the edge of the page. Embarassing... I would like to prevent this from happening again by having LaTeX stop compilation when it notices an ...
mostsquares's user avatar
1 vote
1 answer
902 views

Underfull \vbox (badness 4543) has occurred while \output is active []

I am using overleaf and I got the following message: Underfull \vbox (badness 4543) has occurred while \output is active [] I have no idea of what does it mean. It appears in the log after a figure: ...
marius190's user avatar
0 votes
0 answers
464 views

Underfull \hbox (badness 1226) in paragraph at lines 103--112

I am getting these messages and don't know why! so please let me know how to fix them. Overfull \hbox (1.90002pt too wide) has occurred while \output is active output.bbl, line 103 Underfull \hbox (...
soooleh's user avatar
  • 125
0 votes
0 answers
46 views

\vbox badness helvetica 12pt and 1.5 spacing

My university asks for 1.5 spacings, and at least 2cm left and right. I'd like to use arial and a header as stated below. Now, I get \vbox badness and I read this means pages are badly defined. But ...
Felix's user avatar
  • 101
0 votes
1 answer
707 views

Where Should \HBADNESS Be?

Because there are too many Underfull \vbox (badness 10000) has occurred while \output is active messages, I am trying to use \hbadness=10000 to suppress them. If I use TeXworks, then where should I ...
Junyong Kim's user avatar
0 votes
1 answer
4k views

Underfull and Overfull \hbox(xxxxpt too wide) detected at line

I get a lot of warning message: Underfull and Overfull \hbox(xxxpt too wide) detected at line xxx I am using \documentclass[12pt,oneside]{book} as my document class. (I am not sure I am correct) I ...
aan's user avatar
  • 2,693
0 votes
0 answers
2k views

Underfull \hbox (badness 10000) in alignment

In my thesis I wanted to have the members of the equations as following: So I found this way of creating it: \newlength{\conditionwd} \newenvironment{variables}[1][on\quad] {% #1\tabularx{\...
Roger's user avatar
  • 1
0 votes
1 answer
412 views

Error with tabular* (Underfull \hbox (badness 10000))

I get an error when compiling a tabular* environment. The error I get is: Underfull \hbox (badness 10000) in alignment at lines 3--5 [] Overfull \hbox (17.62482pt too wide) in paragraph at lines ...
Morzen's user avatar
  • 325
3 votes
0 answers
377 views

underfull hbox when using caption+listings in enumeration

I'm getting a weird underfull hbox linked to the caption when having a listing inside an enumeration : \documentclass[a4paper,11pt]{article} \usepackage{caption} \usepackage{listings} \lstset{...
Emmanuel's user avatar
1 vote
0 answers
128 views

Badness: why 100.|z|^3 instead of 100 z^2?

As written here on page 158, the badness penalty is 100|z|^3 instead of 100z^2. Why is "3" in the exponent when we take the absolute value of z? Here z=(L-w)/w^+, where L is the required width and w ...
user2925716's user avatar
  • 1,960
1 vote
1 answer
202 views

Having difficulty identifying where the underfull \hbox error is coming from in this WME

I ran in to a underfull \hbox error in a proposal I am writing and am trying to understand if the error is in the caption or text. Also, it seems lipsum does not play nice with wrapfigure, but in my ...
Brendan S.'s user avatar
0 votes
1 answer
2k views

How to stop \newsavebox giving me bad boxes warnings or how to use better names with \setbox?

The original answer from list of figures and tables when there are no figures or tables?, does not give me any bad box warnings: \def\wheninteresting#1{% \setbox0\vbox{#1}% \ifdim\ht0>35pt \...
user's user avatar
  • 4,815
0 votes
0 answers
40 views

What is the following tooltip when I hover on it?

Here is an screenshot from J. M. Lee book (Riemannian manifolds 2018) (page 15): (I think) It has been defined by \font\ursymbol=psyr at 12pt \def\urpartial{\mbox{\ursymbol\char"B6}} But when I ...
user avatar
1 vote
0 answers
181 views

How can I solve the underfull \hbox (badness 1173) in paragraph? [duplicate]

This message of warning appears at the line 967, which says: \begin{enumerate} \item Dac\u{a} $(a_{n})_{n \geq 1} \subseteq D$ este un \c{s}ir cu $\lim_{n \to \infty} a_{n} \in D$, atunci $\lim_{n \...
popmaria's user avatar
  • 111
0 votes
2 answers
341 views

Putting two tables side by side: Fixing overfull hbox badness

I'm having trouble getting two tables to sit nicely next to each other. I get errors like this: Overfull \hbox (255.00095pt too wide) in paragraph at lines 9--35 It looks like this: It seems to ...
voices's user avatar
  • 2,059
2 votes
0 answers
69 views

LaTeX floats do not increase vertical stretchability nor the page total (t), but reduces the goal height (h). Why? And how to change?

Foreword This question is a follow up question of this question. More precisely, I was able to trace the problem down to its root, especially I was able to produce three MWE that illustrate the ...
nagmat84's user avatar
  • 1,125
0 votes
1 answer
279 views

Can I tell Latex to hyphenate first, only then try to stretch?

Earlier today on Why my document is not hyphenating on words starting with upper case letter? (I am not using \uchyph=0) I figured out that increasing the value of \emergencystretch too much will ...
user's user avatar
  • 4,815
0 votes
0 answers
936 views

How to find and remove an "Overfull \hbox"

In my log output I get the following 5 warnings: Overfull \hbox (1.18692pt too wide) detected at line 81 []\T1/lmr/m/sc/10.95 100 \hbox(6.90094+0.0)x16.97252 .\glue 0.0 plus 1.0fil .\pdfcolorstack ...
cem_astor's user avatar
  • 123
0 votes
1 answer
115 views

How to calculate "badness" for ragged right margins?

In TeXbook (p.30) it is said: When \raggedright has been specified, badness reflects the amount of space at the right margin, instead of the spacing between words. That is, in ragged-right case, ...
Igor Liferenko's user avatar
3 votes
2 answers
510 views

multicol package causes underfull \hbox

I would like to have two (or three) equations in the same line, side-by-side. I tried to do it with the multicol package: \documentclass[a4paper]{article} \usepackage{multicol} \begin{document} \...
Lorenzo B.'s user avatar
2 votes
1 answer
482 views

Twoside documentclass: Underfull \vbox (badness 10000) has occurred while \output is active

I'm using the documentclass article with the option twoside in order to customize the header and the footer for even and odd pages with the fancyhdr package. The compilation works, but the problem is ...
TFra6's user avatar
  • 179
2 votes
1 answer
588 views

What is the difference between badness and penalty?

What in LaTeX is the difference between badness and penalty? Are badness and penalty the same? In what range are the values for both, badness and penalty?
user2925716's user avatar
  • 1,960
0 votes
1 answer
92 views

csvsimple and tabular produces garbage

A simple example: \documentclass[12pt]{article} \usepackage{csvsimple} \begin{document} \begin{tabular}{|c|c|} \csvreader[separator=pipe,head to column names]{test.csv}{}{\foo&\bar\\} \end{...
uzsolt's user avatar
  • 1,431
1 vote
1 answer
579 views

Overfull \hbox with a tabular TikZ

Compiling my .tex file in TeXnicCenter, \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{tikz} \usetikzlibrary{arrows.meta,...
Ignacio T's user avatar
0 votes
0 answers
1k views

Underfull \hbox (badness 10000) in paragraph at lines

I know there are already a million posts about this problem, but I can't seem to find the problem. This little bit of text already gives me the following error: Underfull hbox (badness 10000) in ...
Leo's user avatar
  • 33
0 votes
1 answer
1k views

hbox badness and no indentation

Dealing with some slight problems on my LaTeX project. Below I have two very simple paragraphs and one is giving me an error and the other is simply being annoying. In the first paragraph I get an ...
The_Poseidolon's user avatar
0 votes
1 answer
636 views

ltablex package unalign my document and do bad boxes

On the question How to write a table, a little larger than the paragraphs, with centered columns and no warnings? I learned to align my documented centered. Now, I added ltablex to my document guided ...
user's user avatar
  • 4,815
1 vote
0 answers
93 views

How can I make tabularx break lines rather than hypenate?

I tables, especially in the header row, I prefer line breaks rather than hyphenating words. Can I make LaTeX prefer line breaks to hyphenation? Minimal Example \documentclass[a5paper]{article} \...
Martin Thoma's user avatar
11 votes
2 answers
41k views

How to fix the Underfull \vbox badness has occurred while \output is active on my memoir chapter style?

After some hours studying the warning Underfull \vbox (badness 2573) has occurred while \output is active on the question how to suppress "Underfull \vbox (badness 10000) ... while \output is ...
user's user avatar
  • 4,815
1 vote
0 answers
137 views

Why several longtables are throwing bad box warning when there is a \hline on its top? [duplicate]

I spend some hours today trying to find a longtable implementation which does not throw warnings when there is a \hline on its top header. For example: So far the only table I could find out which ...
user's user avatar
  • 4,815
0 votes
1 answer
1k views

Why my longtable is throwing Underfull \vbox (badness 10000)

\documentclass[10pt,a5paper,twoside]{memoir} \usepackage{lmodern} \usepackage{ragged2e} \usepackage{longtable} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[main=english]{babel} \...
user's user avatar
  • 4,815