diff options
author | Karl Berry <karl@freefriends.org> | 2024-06-03 20:02:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-06-03 20:02:23 +0000 |
commit | b33a445f6ccc20318004a809e0c934af094b75a7 (patch) | |
tree | 99dadb0ae3aff3d6f624d23fdb85802ee563b131 /Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex | |
parent | 14d2204f5421d0bb95d3a1158dea44c7a92ff25f (diff) |
proflycee (3jun24)
git-svn-id: svn://tug.org/texlive/trunk@71414 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex b/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex index ade88434c2c..1581688cb1f 100644 --- a/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex +++ b/Master/texmf-dist/tex/latex/proflycee/proflycee-tools-analyse.tex @@ -996,4 +996,15 @@ }% } +%----max/min +\NewDocumentCommand\DetermineMax{ O{0.01} m m m O{\tmpmax} O{\tmpmaxvalx} }{% + \xdef#5{\xintfloateval{max(seq(#2,x=#3..[#1]..#4,#4))}}% + \xdef#6{\xintfloateval{first(seq((#2 == #5)?{x}{},x=#3..[#1]..#4,#4))}}% +} + +\NewDocumentCommand\DetermineMin{ O{0.01} m m m O{\tmpmin} O{\tmpminvalx} }{% + \xdef#5{\xintfloateval{min(seq(#2,x=#3..[#1]..#4,#4))}}% + \xdef#6{\xintfloateval{first(seq((#2 == #5)?{x}{},x=#3..[#1]..#4,#4))}}% +} + \endinput
\ No newline at end of file |