# How to put a vbox in hbox?

I tried this but it does not work:

\vbox{
\hbox{
{top-left}
{top-right}
}
\hbox{
\vbox{
{bottom-left-top}
{bottom-left-down}
}
\vbox{
{bottom-right-top}
{bottom-right-down}
}
}
}
\bye


bottom-left-top and bottom-left-down are rendered next to each other, although they are in a vbox. And bottom-right goes beyond the right paper size.

• You need \hbox around the items in the \vbox if you want to stack them. What's your precise aim? – egreg Feb 14 at 13:22

\vbox{
{bottom-left-top}
{bottom-left-down}
}


is the same as

\vbox{bottom-left-top bottom-left-down}

and sets a paragraph of text, broken into lines \hsize wide.

I think you intended

\vbox{%
\hbox{bottom-left-top}%
\hbox{bottom-left-down}%
}


to vertically stack two hboxes in a vbox.