[latex3-commits] [latex3/latex2e] develop: Clearer maths (de8ca4a2)

github at latex-project.org github at latex-project.org
Fri Oct 20 14:26:24 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/de8ca4a2b3a982055a7ccee9556901024d2a2c98

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

commit de8ca4a2b3a982055a7ccee9556901024d2a2c98
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Oct 20 13:26:24 2023 +0100

    Clearer maths


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

de8ca4a2b3a982055a7ccee9556901024d2a2c98
 base/doc/ltnews38.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/doc/ltnews38.tex b/base/doc/ltnews38.tex
index 4eff0033..700756a0 100644
--- a/base/doc/ltnews38.tex
+++ b/base/doc/ltnews38.tex
@@ -271,7 +271,7 @@ programmers to create non-standard functions that can then be used inside
 \ExplSyntaxOn
 \fp_new_variable:n{duck}
 \fp_new_function:n{dinner}
-\fp_set_function:nnn{dinner}{duck}{duck-0.25duck}
+\fp_set_function:nnn{dinner}{duck}{duck - 0.25 * duck}
 \fp_set_variable:nn{duck}{1}
 $\fp_eval:n{duck}
  >\fp_eval:n{dinner(duck)}





More information about the latex3-commits mailing list.