[texhax] Toubles with \vbox within \item environment

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Sun Sep 27 21:53:15 CEST 2009



Rodolfo Medina wrote:

 > With plain TeX:
 >
 > if I do:
 >
 > \item{} bla bla bla
 >         $$\vbox{}$$
 >
 > , I get an overfull \hbox error message.  How can I work the problem out?

1) Inspect the resulting output and note that the
    overfull box is the second displayed line

2) Eliminate the contents of the \vbox and thereby
    demonstrate to yourself that they trigger the
    problem.

3) Note the magnitude of the overrun from the log
    file (20pt) and reduce the value of \hsize local
    to the \vbox by this amount.

4) Satisfy yourself that all is now well.

Philip Taylor
--------
\item{} bla bla bla
         $$\vbox{\advance \hsize by -20 pt bla bla}$$
\end





More information about the texhax mailing list