CTAN Comprehensive TeX Archive Network

Ankündigungen für linegoal

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 pdf, 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.

Paketlinegoal
Version2.9
Copyright2010 Florent Chervet
BetreuerFlorent Chervet

Atom Atom-1.0-Feed mit Ankündigungen für das Paket linegoal.
RSS RSS-2.0-Feed mit Ankündigungen für das Paket linegoal.

Gästebuch Seiten-Struktur Impressum Autor kontaktieren