[latex3-commits] [git/LaTeX3-latex3-latex3] master: Document \CoordsToLengths (a4c58aea6)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Aug 24 13:37:27 CEST 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/a4c58aea655cd7f79c24190aed8cd8868cf417ce

>---------------------------------------------------------------

commit a4c58aea655cd7f79c24190aed8cd8868cf417ce
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Aug 24 12:29:46 2020 +0100

    Document \CoordsToLengths


>---------------------------------------------------------------

a4c58aea655cd7f79c24190aed8cd8868cf417ce
 l3trial/xbox/xbox.dtx | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/l3trial/xbox/xbox.dtx b/l3trial/xbox/xbox.dtx
index d9e2aa21d..c511e0e06 100644
--- a/l3trial/xbox/xbox.dtx
+++ b/l3trial/xbox/xbox.dtx
@@ -397,6 +397,18 @@
 %   is aligned within the box to the left, center or right as appropriate.
 % \end{function}
 %
+% \subsection{Possible additions to \pkg{xparse}}
+%
+% \begin{function}{\CoordsToLengths}
+%   \begin{syntax}
+%     \cs{CoordsToLengths} \Arg{coords}
+%   \end{syntax}
+%   Converts a co-ordinate pair (given as \meta{x}\texttt{,}\meta{y}) into
+%   two lengths. Where the co-ordinates are integers with no units,
+%   \cs{unitlength} is assumed, otherwise they are treated as dimension 
+%   expressions.
+% \end{function}
+%
 % \subsection{Possible additions somewhere}
 %
 % It's not entirely clear where these belong, but they seem general enough





More information about the latex3-commits mailing list.