Index of /macros/latex/contrib/linegoal
      Name                    Last modified       Size  Description

[DIR] Parent Directory 17-Oct-2019 18:15 - [   ] linegoal.ins 26-Feb-2011 05:16 3k [   ] linegoal.dtx 26-Feb-2011 05:16 29k [   ] linegoal.pdf 26-Feb-2011 05: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}