Index of /ctan/macros/latex/contrib/linegoal/
Name | Last Modified | Size | Type |
../ | | - | Directory |
README | 2010-Aug-27 18:29:00 | 0.5K | text/plain;charset=utf-8 |
linegoal.dtx | 2011-Feb-25 18:16:36 | 29.4K | application/octet-stream |
linegoal.ins | 2011-Feb-25 18:16:20 | 2.6K | application/octet-stream |
linegoal.pdf | 2011-Feb-25 18:16:36 | 187.8K | application/pdf |
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}