4

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.

  • 2
    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
7
\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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.