CTAN update: linegoal
Date: November 3, 2010 9:20:36 PM CET
the daemon creeps out and says:
> The following information was provided by the package's contributor.
>
> Name of contribution: linegoal
> Author's name: Florent CHERVET
> Location on CTAN: macros/latex/contrib/linegoal
> Summary description: A new ``dimen'' corresponding to the remainder of the line
> License type: lppl
>
> Announcement text given by the package's contributor:
> ----------------------------------------------------------------------
> linegoal can be loaded now even if pdfTeX is not used:
>
> \linegoal is then equal to \linewidth in any case.
>
> \linegoal can be used in dvi mode with pdfTeX.
>
> This improves compatibility with other packages
thanks for the upload; i have installed the new version and updated the
catalogue repository.
> Users may view the package catalogue entry at
> http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/linegoal.html
> or they may browse the package directory at
> http://www.tex.ac.uk/tex-archive/macros/latex/contrib/linegoal/
The catalogue entry will change (somewhat) overnight tonight.
Robin Fairbairns
For the CTAN team
linegoal – A “dimen” that returns the space left on the line
The linegoal package provides a macro \linegoal to be
used with \setlength:
\setlength<some dimen>\linegoal
will set <some dimen> to the horizontal length of the
remainder of the line.
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.
Package | linegoal |
Version | 2.9 |
Copyright | 2010 Florent Chervet |
Maintainer | Florent Chervet |