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.
Quellen | /macros/latex/contrib/linegoal |
Dokumentation | |
Version | 2.9 |
Lizenzen | The LaTeX Project Public License 1.3 |
Copyright | 2010 Florent Chervet |
Betreuer | Florent Chervet |
Enthalten in | TeX Live als linegoal MiKTeX als linegoal |
Themen | Layout |
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (150.7k).
Ankündigungen
- 2011-02-25 CTAN package update: linegoal (v2.9)
- 2010-11-28 CTAN update: linegoal
- 2010-05-07 New CTAN package: linegoal
Vorschläge
Vielleicht sind auch die folgenden Pakete von Interesse.
Bewertungskommentare