AZ logo

Package linegoal:
A "dimen" that returns the space left on the line.

used with \setlength:

This is achieved using the \pdfsavepos primitive of pdftex, through the zref-savepos package.

Example:

Some text: \begin{tabularx}\linegoal{|l|X|} \hline
             one & two \\
	     three & four \\\hline
	   \end{tabularx}
will position the table after the initial text, and make the table fill the rest of the line.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX linegoal
TeX Live linegoal

You can also visit linegoal's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Readme
Package documentation
Documentation off CTAN -none known-
Maintainers
Florent Chervet
Version 2.9
License LaTeX Project Public License, version 1.3 or later
Related packages -none recorded-
Keywords
macro programming
Characterizations
primary:
Programming in TeX > Box manipulation

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.