[texhax] One (more) question about \halign

Wed Jan 27 23:53:39 CET 2010

Am 27.01.10 18:24, schrieb Rodolfo Medina:
>> Thanks: but maybe I should have said that I want the second argument instead
>> to stay on the second line, where it is now; whereas what you suggest would
>> move it on the first line.
> In other words, I want
>
>           \rm\rlap{1.2}\ \ \ \ \ \ \
>
> to be on the first line, and bnbnbnbnb' (the second alignment argument) on the
> second line.  Is that possible, and with what trick?
You could look if there is a good table package available for plain
but for the moment the following should do it. What I did was to put
the text in the second column in a box and force a line break with
a empty \hbox in the first row.

\halign to \hsize
{\rm\rlap{1.2}\hskip3em\vtop
{\parindent=0pt\hsize=105mm\hangindent 0em\strut#\hfill\strut}%
\tabskip=0cm plus20cm minus20cm
&\hfil\vtop{\def\\{\egroup\hbox\bgroup}\hbox\bgroup#\egroup}\tabskip=0pt\cr
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla &\\bnbnbnbnb\cr}

Wolfgang

`