COMPGROUPS.NET | Browse | Post | Groups | Users | Stream | About | |

### Overfull/Underfull HBox warnings a real problem??

• Permalink
• Email
• Follow

Hello,

I get some overflow/underflow \hbox warnings from Miktex 2.2. Are this
serious warnings? How to solve this warnings? What does create this kind of
warnings?

Thanks!

Hans


 0
Reply nospam21 (19047) 12/25/2003 1:58:13 PM

See related articles to this posting

Hans wrote:
>
> Hello,
>
> I get some overflow/underflow \hbox warnings from Miktex 2.2. Are this
> serious warnings? How to solve this warnings? What does create this kind of
> warnings?
>
> Thanks!
>
> Hans

I ignore them with contempt.

--
Julian V. Noble
Professor Emeritus of Physics
jvn@lessspamformother.virginia.edu
^^^^^^^^^^^^^^^^^^
http://galileo.phys.virginia.edu/~jvn/

"Science knows only one commandment: contribute to science."
-- Bertolt Brecht, "Galileo".

 0
Reply jvn1 (150) 12/25/2003 4:18:14 PM

Hans wrote:
>
> Hello,
>
> I get some overflow/underflow \hbox warnings from Miktex 2.2. Are this
> serious warnings? How to solve this warnings? What does create this kind of
> warnings?
>

Underfull means that there's too much whitespace in the line. Sometimes
the line

looks         something             like            this.

Look at it and decide whether it's acceptable. Overfull mean's there's
too little. Often the result is that the line extends into the margin.

--

Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)

 0
Reply petebecker (1324) 12/25/2003 4:41:27 PM

On Thu, 25 Dec 2003, Pete Becker wrote:

> Hans wrote:
> >
> > Hello,
> >
> > I get some overflow/underflow \hbox warnings from Miktex 2.2. Are this
> > serious warnings? How to solve this warnings? What does create this kind of
> > warnings?
> >
>
> Underfull means that there's too much whitespace in the line. Sometimes
> the line
>
> 	looks         something             like            this.
>
> Look at it and decide whether it's acceptable.
if it's not acceptable, change the sentence structure or see whether you
may include further hyphenation-commands into the words that extend into
the margin

--

tilman

Overfull mean's there's
> too little. Often the result is that the line extends into the margin.
>
> --
>
> Pete Becker
> Dinkumware, Ltd. (http://www.dinkumware.com)
>
>


 0
Reply utzt4 (3) 12/25/2003 6:52:08 PM

Tach Hans,                                  0x2B859DE3 (PGP-PK-ID)

Hans schrieb:
> I get some overflow/underflow \hbox warnings from Miktex 2.2. Are this
> serious warnings? How to solve this warnings? What does create this
> kind of warnings?

TeX organises the page in boxes (word boxes -> line boxes and so on),
so if your line box is greater than your textwidth you get an hbox
warning. You can ignore it during the creation of your document, but
when it reaches its final state you should avoid them (just looks
nicer). This can be reached by rewriting the sentence, setting
hyphenations by hand or similar means.

V-Li

--
Fingerprint: 68C5 D381 B69A A777 6A91 E999 350A AD7C 2B85 9DE3
http://www.gnupg.org

 0
Reply 12/25/2003 7:04:00 PM

UTZ Tilman <utzt4@cti.ecp.fr> writes:

> On Thu, 25 Dec 2003, Pete Becker wrote:
>
> > Hans wrote:

> > > I get some overflow/underflow \hbox warnings from Miktex
> > > 2.2. Are this serious warnings? How to solve this warnings? What
> > > does create this kind of warnings?
> > >
> >
> > Underfull means that there's too much whitespace in the
> > line. Sometimes the line
> >
> > 	looks         something             like            this.
> >
> > Look at it and decide whether it's acceptable.

> if it's not acceptable, change the sentence structure or see whether
> you may include further hyphenation-commands into the words that
> extend into the margin

Actually, given that his name is "Hans" and his provider something
including "Benelux", it is quite likely that he is writing in a
non-English language with accents.

So the first thing to do would be to check whether he has selected
the right language for hyphenation and is using a T1 (or equivalent)
font encoding.

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
UKTUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>

 0
Reply dak (3571) 12/25/2003 7:23:15 PM

"Hans" <nospam@nospam.com> wrote ...
> I get some overflow/underflow \hbox warnings from Miktex 2.2. Are this
> serious warnings? How to solve this warnings? What does create this kind
of
> warnings?

Personally, I would strongly disagree with Julian's propositions, as it is
too easy to overlook serious shortcomings, such as instances where the end
of a line really' juts into the margin due to, say, bad hyphenations. TeX
has a reason for warning you, so my advice would be to heed them, while
circumventing the rather unproblematic ones.

To use an example, Times---as a typeface---sets rather tightly, which leads
to enumerable warnings of overfull/underfoot boxes, as already discussed by
others. In such circumstances, TeX is forced to either leave the line
over/underfull and stretch the interword spaces (elasticity), or resort to
hyphenations, which in turn also give rise to penalties. However, if you're
not too rigid with your typesetting, you can try to apply a simple
adjustment, as suggested by Alan Jeffrey as an adaptation to handle an
otherwise to rigid elasticity ...

\tolerance800
\emergencystretch2em
\doublehyphendemerits5000
\hfuzz0pt
\leftskip0pt minus 1pt
\rightskip0pt minus 1pt

If your not happy with the result, try toying around with the values till
you get, what your looking for. That should allow you to rid yourself of the
unnecessary warnings, while retaining the rather more important once.

Nat

`
 0
Reply nat1 (44) 12/25/2003 8:19:26 PM

6 Replies
163 Views

Similar Articles

[PageSpeed] 33

• Permalink
• Email
• Follow

 Reply:

Similar Artilces:

Overfull and Underfull \hbox errors
I'm not doing anything fancy in LaTeX but I'm getting these "Overfull \hbox" errors. Sometimes they say that xx.xxpt is too wide in a certain paragraph, and the text extends past the margins, or it gives me an Underfull error reporting "(badness 10000)", which is significantly badassness, but irritating. The underfull errors don't appear to give any noticeable formatting glitches in the output pdf file. I realize I can manually break the line to remove the overfull error, but that seems unnatural. And I have no idea what the underfull errors are for. Thanks fo...

Help with long citations and overfull hbox warnings
Can someone help me with the following: how to separate a long cite-label? For example: [Nunamaker et al 89] Latex is not able to separate such a label and so I run into a lot of 'overfull hbox'-messages and the text lookes like it! I read on another posting that I need to change \@citex command in the Latex.tex file by removing the \hbox. However, I am a novice at this and cannot locate the Latex.tex file (I am using MikTeX). Any hints or help would be appreciated. Thanks, Amit deokar.amit@gmail.com writes: >Can someone help me with the following: >how to separate a long ci...

Underfull hbox -- can't see the problem
Hello NG, I've been occasionally working with LaTeX for some months. These days I am writing a reference about Turbo Pascal for my computer science course. I know there are loads of docs in the net, but I want to get only the commands we've discussed in the lessons and (of course) it's a good chance to do some exercise:-) There is a table in my document and by compiling LaTeX remarks that there's an underfull hbox. This is the code: \begin{tabular}{lll} \textbf{Datentyp}&\textbf{Inhalt}&\textbf{Wertebereich}\\ \verb�integer�&Ganzzahlen&$-32768$ bis $+3276... How to set matter in a box of given dimensions, and get overfull/underfull warnings Hello I'd like to create a box with given dimensions, and to get overfull/underfull warnings if the content does not properly fit into the box. Something like \def\wibble #1#2{\hbox to #1{#2}} which gives warnings if #2 is long/short, except I'd also like to specify the total height+depth, and get overfull/underfull warnings. Has anyone seen or used something like this before? -- Jonathan Fine The Open University, Milton Keynes, England Jonathan Fine <J.Fine@open.ac.uk> wrote: > Hello > > I'd like to create a box with given dimensions, and to get > o... warning problems Hi, i had this m file: fs=3*10e3; %campioning frequency Ts=1/fs; f1=175; f2=700; A=4; B=1; N=256; n=[0:N-1]; x=A.*cos(2*pi*f1*n*Ts)+i*B*sin(2*pi*f2*n*Ts); figure(1) stem(n,x) title('Rappresentazione di x[n]') xlabel('n') ylabel('x[n]') axis([0 N-1 -4 4]) grid on it tell me with warning that it ignore complex number, so the plot i have is different from the one i'm looking for....how can i resolve this problem and have a right plotting of my function? thank u! ... why Overfull \hbox ? \item Let$S=\mathbb{N}$. Identifying any map$f:\mathbb{N} \longmapsto \mathbb{F}$with the sequence$f(1),f(2),\cdots,f(n)$. We see that$\mathbb{F}^{\mathbb{N}}$is nothing but the set of all sequence$a_1,a_2,a_3,\cdots,a_n$in$\mathbb{F}$. \item Let$\mathbb{S}=\mathbb{R}$and$\mathbb{F}=\mathbb{R}$. Then$ \mathbb{F}^{\mathbb{S}}$is the set of all function$\mathbb{R} \longmapsto \mathbb{R}$. Such functions are visualized by their graph in$\mathbb{R}^2\$. I got an error message: Overfull \hbox (35.8682pt too wide) in paragraph at lines 520--521 Overfull \hbox (10.13635pt too wide)...

underfull \hbox
Dear all, in his LaTeX book (in German) J. Knappen recommends that underfull \boxes may be eliminated by \usepackage[T1]{fontenc}. What other solutions to the underfull \hbox-problem are possible? BR pkg In article <1151676714.159145.28450@d56g2000cwd.googlegroups.com>, pkg wrote: > in his LaTeX book (in German) J. Knappen recommends that underfull > \boxes may be eliminated by \usepackage[T1]{fontenc}. What other > solutions to the underfull \hbox-problem are possible? That seems nonsense to me: \documentclass{minimal} \usepackage[T1]{fontenc} \begin{document} Begin with s...

Overfull hboxes
While reading theTeXbook, I ran into the next passage regarding hboxes: "[...] with the overfull box you also get [...] (2) a big black bar inserted at the right of the offending box, in your output." (The TeXbook, p. 27, second paragraph from the bottom) I was always wondering about that, since I've had some overfull hboxes, but never have I seen said bar. Either this feature isn't implemented in my TeX (MiKTeX) or it's disabled. Anyone knows how I can turn it on? Thanks in advance, Ohad. Ohad Kammar wrote: > While reading theTeXbook, I ran into the next pa...

Why this overfull \hbox?
Hi all, Consider the following file: \documentclass[12pt]{article} \newtheorem{theorem}{Theorem} \setlength{\textwidth}{127mm} \begin{document} \begin{theorem}{\upshape\bfseries(Fundamental theorem of Mathematics)} It is impossible to prove that a mathematical statement is simultaneously true and false. \end{theorem} \begin{theorem}[Fundamental theorem of Mathematics] It is impossible to prove that a mathematical statement is simultaneously true and false. \end{theorem} \end{document} If I compile this file, then what I get is a text that contains two theorems (theorem 1 and theorem 2). Bot...