[texhax] adding different amounts of dots for formatting

Philip TAYLOR (Ret'd) P.Taylor at Rhul.Ac.Uk
Wed May 6 18:55:57 CEST 2009



Jeremy C. Reed wrote:
> I want output like this (using random text):
> 
>          Vim modus	tractatos suscipiantur at . . . . . . . . ius
> cu homero nominati	mediocrem feugait nusquam per et  . . . . sanctus 
>          consulatu	concludaturque  . . . . . . . . . . . . . mei
>     Dicat legendos	concludaturque ne ius tale  . . . . . . . dicit 

Maybe something like this (sorry, I do not know how
to force \begin {tabular} to create the equivalent
of an \halign to \hsize {}) --

\documentclass {minimal}
\begin {document}
\begin {tabular}{ r l l }
                     & \hbox to 0,6 \hsize {} & \\
          Vim modus  &   tractatos suscipiantur at \dotfill & ius \\
cu homero nominati  &   mediocrem feugait nusquam per et \dotfill &  sanctus \\
          consulatu  &   concludaturque \dotfill & mei \\
     Dicat legendos  &   concludaturque ne ius tale \dotfill & dicit \\
\end {tabular}
\end {document}

I'm sure a wizard could get the \dotfill into the preamble,
but LaTeX remains more-or-less impenetrable to me :-(

Philip TAYLOR


More information about the texhax mailing list