Index of /tex-archive/macros/latex/contrib/linegoal

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[TXT]README27-Aug-2010 19:29 558
[TXT]linegoal.dtx25-Feb-2011 18:16 29K
[TXT]linegoal.ins25-Feb-2011 18:16 2.6K
[   ]linegoal.pdf25-Feb-2011 18: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}