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

Icon  Name                                        Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] README 2010-08-28 03:29 558 [TXT] linegoal.ins 2011-02-26 03:16 2.6K [TXT] linegoal.dtx 2011-02-26 03:16 29K [   ] 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}