name linegoal category Package revision 21523 shortdesc A "dimen" that returns the space left on the line. relocated 1 longdesc The linegoal package provides a macro \linegoal to be used with longdesc \setlength: \setlength\linegoal will set to the horizontal length of the remainder of the line. longdesc This is achieved using the \pdfsavepos primitive of pdftex, longdesc through the zref-savepos package. Example: Some text: longdesc \begin{tabularx}\linegoal{|l|X|} \hline one & two \\ three & longdesc four \\\hline \end{tabularx} will position the table after the longdesc initial text, and make the table fill the rest of the line. runfiles size=1 RELOC/tex/latex/linegoal/linegoal.sty catalogue-ctan /macros/latex/contrib/linegoal catalogue-date 2014-02-26 23:03:13 +0100 catalogue-license lppl1.3 catalogue-version 2.9