Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!rusux1!suncvt13.verfahrenstechnik.uni-stuttgart.de From: claus@suncvt13.verfahrenstechnik.uni-stuttgart.de (Claus Fleischer) Newsgroups: comp.text.tex Subject: Re: Getting rid of underfull hbox Message-ID: <365@rusux1.rus.uni-stuttgart.de> Date: 5 Dec 90 17:28:34 GMT References: <503.2759C7E2@bberry.uucp> Sender: zrf80385@rusux1.rus.uni-stuttgart.de Organization: ICVT Lines: 22 In article <503.2759C7E2@bberry.uucp> Pieter.Muller@f11.n492.z5.fidonet.org (Pieter Muller) writes: > >I use the following as part of a command to generate boxed headings in a technical manual: > > \vspace{.5cm} \noindent > \framebox[\textwidth][l]{{\bf #1}} > > >For each instantiation of this command I get the warning: > >Underfull \hbox (badness 10000) in paragraph at lines 483--483 > I would try the following \framebox[\textwidth][l]{{\hfill \bf #1 \hfill}} so you get an infinitely stretchable space at the beginning and the end of your #1 and should therefore not produce an "underfull \hbox" warning at all. claus