Directory tex-archive/macros/latex/contrib/linegoal
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}
Files
| Name | Size | Date | Notes |
|---|---|---|---|
README |
558 | 2010-08-27 08:29:00 | |
linegoal.dtx |
30107 | 2011-02-25 07:16:36 | |
linegoal.ins |
2653 | 2011-02-25 07:16:20 | |
linegoal.pdf |
192294 | 2011-02-25 07:16:36 |
Download the complete
contents of this directory in one zip archive
(150.7k).
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.
| Documentation |
Readme Package documentation |
| Version | 2.9 |
| License | The LaTeX Project Public License 1.3 |
| Maintainer | Florent Chervet |
| Contained in | TeXLive as linegoal |
| MiKTeX as linegoal | |
| Topics |
layout of objects on the page |
