You can get the contents of this directory bundled as a zip file.
| Identifier | Caption |
|---|---|
| linegoal | A "dimen" that returns the space left on the line. |
| Name | Size* | Date UTC | Notes |
|---|---|---|---|
| README | 1 KiB | 2010-Aug-27 | Shown below |
| linegoal.dtx | 29 KiB | 2011-Feb-25 | |
| linegoal.ins | 3 KiB | 2011-Feb-25 | |
| linegoal.pdf | 188 KiB | 2011-Feb-25 |
*File sizes in kibibytes.
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}