[latex3-commits] [git/LaTeX3-latex3-latex3] master: Drawing boxes don't have to be hboxes (32eb81d)
Joseph Wright
joseph.wright at morningstar2.co.uk
Sun Mar 4 12:13:08 CET 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/32eb81da9b4bef164ce4d8770f52f5eac4a9c11e
>---------------------------------------------------------------
commit 32eb81da9b4bef164ce4d8770f52f5eac4a9c11e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sun Mar 4 11:13:08 2018 +0000
Drawing boxes don't have to be hboxes
>---------------------------------------------------------------
32eb81da9b4bef164ce4d8770f52f5eac4a9c11e
l3experimental/l3draw/l3draw-boxes.dtx | 4 ++--
l3experimental/l3draw/l3draw.dtx | 7 ++++---
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/l3experimental/l3draw/l3draw-boxes.dtx b/l3experimental/l3draw/l3draw-boxes.dtx
index f57230d..8f30456 100644
--- a/l3experimental/l3draw/l3draw-boxes.dtx
+++ b/l3experimental/l3draw/l3draw-boxes.dtx
@@ -68,13 +68,13 @@
% \end{macrocode}
% \end{variable}
%
-% \begin{macro}{\draw_hbox_use:N}
+% \begin{macro}{\draw_box_use:N}
% Before inserting a box, we need to make sure that the bounding box is being
% updated correctly. As drawings track transformations as a whole, rather
% than as separate operations, we do the insertion using an almost-raw
% matrix.
% \begin{macrocode}
-\cs_new_protected:Npn \draw_hbox_use:N #1
+\cs_new_protected:Npn \draw_box_use:N #1
{
\bool_if:NT \l_draw_bb_update_bool
{
diff --git a/l3experimental/l3draw/l3draw.dtx b/l3experimental/l3draw/l3draw.dtx
index 55569e4..d103b52 100644
--- a/l3experimental/l3draw/l3draw.dtx
+++ b/l3experimental/l3draw/l3draw.dtx
@@ -882,13 +882,14 @@
%
% \subsection{Text}
%
-% \begin{function}{\draw_hbox_use:N}
+% \begin{function}{\draw_box_use:N}
% \begin{syntax}
-% \cs{draw_hbox_use:N} \meta{box}
+% \cs{draw_box_use:N} \meta{box}
% \end{syntax}
% Inserts the \meta{box} into a drawing, taking account of the current
% transformation matrix and shift, and adjusting the drawing bounding
-% box to contain the (apparent) size of the box.
+% box to contain the (apparent) size of the box if this is active
+% (see \cs{l_draw_bb_update_bool}).
% \end{function}
%
% \subsection{Color}
More information about the latex3-commits
mailing list