[latex3-commits] [git/LaTeX3-latex3-latex3] master: Document \driver_draw_scope: [ci skip] (372c05d)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Feb 23 08:36:12 CET 2018


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

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

commit 372c05da7f25f04cc501f6da5557bd633c1d7971
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Feb 23 07:36:12 2018 +0000

    Document \driver_draw_scope: [ci skip]


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

372c05da7f25f04cc501f6da5557bd633c1d7971
 l3experimental/l3draw/l3draw.dtx |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/l3experimental/l3draw/l3draw.dtx b/l3experimental/l3draw/l3draw.dtx
index 3a60b6b..f2620d7 100644
--- a/l3experimental/l3draw/l3draw.dtx
+++ b/l3experimental/l3draw/l3draw.dtx
@@ -99,6 +99,18 @@
 % will appear. Note that these all apply \emph{globally}, though some are
 % rest at the start of each drawing (\cs{draw_begin:}).
 %
+% \begin{function}{\draw_scope_begin:, \draw_scope_end:}
+%   \begin{syntax}
+%     \cs{draw_scope_begin:}
+%     ...
+%     \cs{draw_scope_end:}
+%   \end{syntax}
+%   Creates a scope for localisation of state settings within a drawing.
+%   A scope forms a \TeX{} group but will also localise global state
+%   variables (such as \cs{g_draw_linewidth_default_dim}), and driver-level
+%   concepts such as the termination of lines.
+% \end{function}
+%
 % \begin{function}{\g_draw_linewidth_default_dim}
 %   The default value of the linewidth for stokes, set at the start
 %   of every drawing (\cs{draw_begin:}).





More information about the latex3-commits mailing list