2022 Developer Survey is open! Take survey.

Questions tagged [badness]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
94 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 % ...
user avatar
0 votes
1 answer
80 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} \...
user avatar
7 votes
0 answers
106 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, ...
user avatar
  • 12.9k
0 votes
1 answer
61 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 ...
user avatar
  • 515
0 votes
1 answer
25 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 ...
user avatar
  • 360
2 votes
3 answers
38 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 ...
user avatar
1 vote
2 answers
67 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} ...
user avatar
  • 2,024
1 vote
1 answer
262 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 ...
user avatar
1 vote
1 answer
360 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: ...
user avatar
0 votes
0 answers
227 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 (...
user avatar
  • 85
0 votes
0 answers
30 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 ...
user avatar
  • 1
0 votes
1 answer
221 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 ...
user avatar
0 votes
1 answer
774 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 ...
user avatar
  • 2,423
0 votes
0 answers
560 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{\...
user avatar
  • 1
0 votes
1 answer
145 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 ...
user avatar
  • 335
3 votes
0 answers
229 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{...
user avatar
1 vote
0 answers
125 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 ...
user avatar
  • 1,838
1 vote
1 answer
122 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 ...
user avatar
0 votes
1 answer
1k 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 avatar
  • 4,335
0 votes
0 answers
36 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
158 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 \...
user avatar
  • 111
0 votes
2 answers
225 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 ...
user avatar
  • 1,969
2 votes
0 answers
57 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 ...
user avatar
  • 1,025
0 votes
1 answer
153 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 avatar
  • 4,335
0 votes
0 answers
595 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 ...
user avatar
  • 123
0 votes
1 answer
79 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, ...
user avatar
3 votes
2 answers
352 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} \...
user avatar
2 votes
1 answer
341 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 ...
user avatar
  • 159
2 votes
1 answer
365 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?
user avatar
  • 1,838
0 votes
1 answer
81 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{...
user avatar
  • 1,391
1 vote
1 answer
451 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,...
user avatar
0 votes
0 answers
987 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 ...
user avatar
  • 33
0 votes
1 answer
809 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 ...
user avatar
0 votes
1 answer
492 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 avatar
  • 4,335
1 vote
0 answers
89 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} \...
user avatar
  • 17.2k
9 votes
2 answers
30k 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 avatar
  • 4,335
1 vote
0 answers
136 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 avatar
  • 4,335
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 avatar
  • 4,335
2 votes
1 answer
1k views

How to auto adjust my last table column width, and why is there Underfull \vbox badness on this table?

Currently the table is throwing this warning, but I have no idea from where it is coming from: \documentclass[ 10pt, a5paper, twoside ]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \...
user avatar
  • 4,335
14 votes
2 answers
4k views

Why is Latex hyphenating some words automatically, but others dont?

On this example, the word usando is not being hyphenated, but the word Comandos is. If I force a hyphen on the first word usan-do, it is hyphenated correctly: \documentclass[10pt,openright,twoside,...
user avatar
  • 4,335
2 votes
1 answer
2k views

Why latex is letting my text goes out of the screen? [duplicate]

I am fixing my thesis template, and on the middle of it I found some texts are going out of the screen, randomly. After hours of work, I could narrow it down to a simple MWE, so I could post a ...
user avatar
  • 4,335
1 vote
0 answers
147 views

Minipage/framebox text is not justified and throws several Underfull \hbox (badness 10000) [duplicate]

How can I make the minipage/framebox page justified, so it stop the badness underfull warnings? The warnings are: Bad Boxes: D:\test2.tex:23: Underfull \hbox (badness 10000) in paragraph at lines ...
user avatar
  • 4,335
3 votes
1 answer
828 views

How to fix this url bad box for stackoverflow link?

I am really tired of them, it over and over again, they never stop coming up. Always there is some new URL which breaks and bring a new bad boxes up. How to fix this url bad box for stackoverflow link?...
user avatar
  • 4,335
7 votes
1 answer
528 views

Underfull \hbox with \input

Consider the following (minimal) example: \documentclass{article} \parindent0em \begin{document} \rule{\textwidth}{0.1em} %\input{file} \end{document} It works well so far. But now, ...
user avatar
  • 573
0 votes
1 answer
600 views

How to fix URL overfull & underfull on emumeration?

Backed by several questions' answers, I was able to remove several warnings from my enumeration quote box, except this warning: test.tex:41: Underfull \hbox (badness 2913) in paragraph at lines 41--...
user avatar
  • 4,335
4 votes
3 answers
5k views

How to disable the Overfull \hbox too wide warning for my table?

It just seems impossible to disable it. I tried putting: On the question Overfull \hbox warning when using tabular says adding \hfuzz=0.64pt, I tried \hfuzz=50000pt and no success. \hfuzz=5000pt \...
user avatar
  • 4,335
4 votes
2 answers
506 views

How to write a table, a little larger than the paragraphs, with centered columns and no warnings?

I am trying to do a awesome sized table, however there are some difficulties I listed on the picture below: On 1 we my notice the word is not hyphenating automatically. The other ones are, but it is ...
user avatar
  • 4,335
1 vote
1 answer
3k views

underfull \hbox (badness 4765) in paragraph at lines 22-23

\documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{url} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{verbatim} \title{Annotated Bibliography} \author{...
user avatar
  • 21
0 votes
1 answer
698 views

Avoid badbox with maths in the line

I would like to learn to avoid this annoying warnings: Overfull \hbox (11.18448pt too wide) in paragraph at lines 6--7 The easiest document possible: \documentclass[a4paper, 10pt]{article} \...
user avatar
  • 303
0 votes
0 answers
113 views

Producing Lines of Text without underfull \hbox errors [duplicate]

I'm preparing a colophon for a book I'm writing in memoir class. The code is as follows: \documentclass{memoir} \usepackage{lipsum} \usepackage{nth} \usepackage{textcomp} \usepackage{multicol} \...
user avatar
  • 2,028