Sujet : Re: Overfull \hbox (78.88861pt too wide) in paragraph
De : peter (at) *nospam* silmaril.ie (Peter Flynn)
Groupes : comp.text.texDate : 10. Mar 2025, 13:15:00
Autres entêtes
Organisation : Usenet Labs Bozon etector Facility
Message-ID : <m383e4FpofcU1@mid.individual.net>
References : 1 2
User-Agent : Mozilla Thunderbird
On 10/03/2025 09:17, Stefan Ram wrote:
Jinsong Zhao <jszhao@yeah.net> wrote or quoted:
The \TeX{} way: \vtop{some codes here}
Overfull \hbox (78.88861pt too wide) in paragraph at lines 3--4
Inside the "vtop" there's a paragraph that wraps to the current
page width. That's way too wide! But we can nip that in the bud
by first tucking the text into an "hbox".
\documentclass{article}
\begin{document}
The \TeX{} way: \vtop{\hbox{some codes here}}
\end{document}
Or you can set the desired width inside the \vtop, eg
The \TeX{} way: \vtop{\hsize3cm some codes here}
But it's hard to know because you don't say what you are trying to do.
Peter