While learning with Plain TeX, I am trying to create a framed paragraph.
I have started with the following code, which is supposed to limit the paragraph width but still enable the line breaking mechanism to work correctly (so I can later use \vline
and \hline
to create the frame):
\hbox to 10cm{
\vbox{
\hsize 10cm
test
}
}
\bye
When I use this code, I get an overfull \hbox
error
Overfull \hbox (4.44443pt too wide) detected at line 6
[] |
When I use longer text, it is correctly divided into individual lines of the width 10 cm.
Why is there an overfull? What am I missing?