summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/linegoal/README
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/linegoal/README
Initial commit
Diffstat (limited to 'macros/latex/contrib/linegoal/README')
-rw-r--r--macros/latex/contrib/linegoal/README20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/latex/contrib/linegoal/README b/macros/latex/contrib/linegoal/README
new file mode 100644
index 0000000000..2592317aac
--- /dev/null
+++ b/macros/latex/contrib/linegoal/README
@@ -0,0 +1,20 @@
+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}
+