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.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | svn21523.2.9-48.fc36 | - |
Fedora 35 | svn21523.2.9-45.fc35 | - |
Fedora 34 | svn21523.2.9-38.fc34 | - |
You can contact the maintainers of this package via email at
texlive dash maintainers at fedoraproject dot org
.