# [texhax] More plain TeX box fun --

Martin Heller mr_heller at yahoo.dk
Wed Nov 14 05:53:43 CET 2007

Peter King skrev:

> Now what I'd like to do is to leave that box in place, and put a
> second box -- perhaps itself made up of boxes -- on the same line
> but flush to the opposite margin:
>
>    ___                                   __________________
>   |   |                                 |                  |
>   |___|                                 |__________________|

Maybe:

\hbox to 0pt{\hss box~1\hss}\hfill\hbox{box~2}
\bye

?

> If anyone knows the answer, I'd love to know.  Even better would
> be to have the answer *and* to be told where to go to get up to
> speed on arranging boxes on pages. Thanks!

The canonical reference is The TeXBook by D. Knuth but there are
lots of books on TeX

<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=books>

there are even several books on-line

<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ol-books>