Questions tagged [badness]
The badness tag has no usage guidance.
95
questions
0
votes
1
answer
88
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 ...
0
votes
2
answers
39
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 ...
0
votes
0
answers
35
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}
\...
1
vote
1
answer
414
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
% ...
0
votes
1
answer
343
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}
\...
8
votes
0
answers
127
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, ...
0
votes
2
answers
98
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 ...
0
votes
1
answer
31
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 ...
2
votes
3
answers
44
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 ...
1
vote
2
answers
128
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}
...
4
votes
2
answers
667
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 ...
1
vote
1
answer
644
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:
...
0
votes
0
answers
407
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 (...
0
votes
0
answers
37
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 ...
0
votes
1
answer
490
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 ...
0
votes
1
answer
3k
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 ...
0
votes
0
answers
1k
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{\...
0
votes
1
answer
343
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 ...
3
votes
0
answers
342
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{...
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 ...
1
vote
1
answer
170
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 ...
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
\...
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 ...
1
vote
0
answers
175
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 \...
0
votes
2
answers
289
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 ...
2
votes
0
answers
66
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 ...
0
votes
1
answer
242
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 ...
0
votes
0
answers
823
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 ...
0
votes
1
answer
109
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, ...
3
votes
2
answers
445
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}
\...
2
votes
1
answer
440
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 ...
2
votes
1
answer
500
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?
0
votes
1
answer
87
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{...
1
vote
1
answer
549
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,...
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 ...
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 ...
0
votes
1
answer
594
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 ...
1
vote
0
answers
91
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}
\...
9
votes
2
answers
38k
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 ...
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 ...
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}
\...
2
votes
1
answer
2k
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}
\...
14
votes
2
answers
6k
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,...
2
votes
1
answer
4k
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 ...
1
vote
0
answers
149
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 ...
3
votes
1
answer
1k
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?...
7
votes
1
answer
607
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, ...
0
votes
1
answer
710
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--...
5
votes
3
answers
6k
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
\...
4
votes
2
answers
665
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 ...