The \TeX{} way: \vtop{some codes here}
Overfull \hbox (78.88861pt too wide) in paragraph at lines 3--4
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}
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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (1 / 15) |
Uptime: | 160:03:09 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,056 |
Messages: | 6,416,492 |