Index of /archives/text/CTAN/macros/latex/contrib/linegoal

Icon  Name                                      Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] README 2010-08-28 03:29 558 [TXT] linegoal.dtx 2011-02-26 03:16 29K [TXT] linegoal.ins 2011-02-26 03:16 2.6K [   ] linegoal.pdf 2011-02-26 03:16 188K
Nota : this packages requires pdfTeX.

The linegoal package provides a macro \linegoal
to be used with \setlength :
   \setlength<some dimen>\linegoal

will assign to <some dimen> the horizontal length
of the remainder of the line.

This is achieved using the \pdfsavepos primitive
and the zref-savepos package.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Typical usage :

Some text: \begin{tabularx}\linegoal{|l|X|} \hline
            one & two                       \\
            three & four                    \\\hline
           \end{tabularx}