[latex3-commits] [latex3/latex3] main: Allow for fp expr. in \draw_path_corner_arc:nn (d4afaddf8)
github at latex-project.org
github at latex-project.org
Tue Mar 5 17:30:05 CET 2024
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/d4afaddf87c10a8502be6f8799a73d706fb04ba9
>---------------------------------------------------------------
commit d4afaddf87c10a8502be6f8799a73d706fb04ba9
Author: Joseph Wright <joseph at texdev.net>
Date: Tue Mar 5 16:30:05 2024 +0000
Allow for fp expr. in \draw_path_corner_arc:nn
Fixes #1501
>---------------------------------------------------------------
d4afaddf87c10a8502be6f8799a73d706fb04ba9
l3experimental/l3draw/l3draw-paths.dtx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3experimental/l3draw/l3draw-paths.dtx b/l3experimental/l3draw/l3draw-paths.dtx
index 0eb85b01e..606da4a85 100644
--- a/l3experimental/l3draw/l3draw-paths.dtx
+++ b/l3experimental/l3draw/l3draw-paths.dtx
@@ -192,8 +192,8 @@
% \begin{macrocode}
\cs_new_protected:Npn \draw_path_corner_arc:nn #1#2
{
- \dim_set:Nn \l_@@_corner_xarc_dim {#1}
- \dim_set:Nn \l_@@_corner_yarc_dim {#2}
+ \dim_set:Nn \l_@@_corner_xarc_dim { \fp_to_dim:n {#1} }
+ \dim_set:Nn \l_@@_corner_yarc_dim { \fp_to_dim:n {#2} }
\bool_lazy_and:nnTF
{ \dim_compare_p:nNn \l_@@_corner_xarc_dim = { 0pt } }
{ \dim_compare_p:nNn \l_@@_corner_yarc_dim = { 0pt } }
More information about the latex3-commits
mailing list.