[texhax] One (more) question about \halign

Rodolfo Medina rodolfo.medina at gmail.com
Wed Feb 3 21:22:01 CET 2010


Am 27.01.10 18:24, schrieb Rodolfo Medina:

>> 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?


Wolfgang Schuster <schuster.wolfgang at googlemail.com> writes:

> 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}


Thanks, but your code produces error.

Rodolfo



More information about the texhax mailing list