summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-11 21:39:54 +0000
committerKarl Berry <karl@freefriends.org>2018-09-11 21:39:54 +0000
commit4fa20ad9ecd06d8945cdce002fb7228e714ab991 (patch)
treed20fc8b96b193052b6a9f13f3a0c75f3a96c9a2b /Master/texmf-dist/tex/lualatex
parentcd4be1f46517d7a1f09fefa0a0b8fe9f22526e22 (diff)
bezierplot (11sep18)
git-svn-id: svn://tug.org/texlive/trunk@48644 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex')
-rwxr-xr-xMaster/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua6
-rw-r--r--Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty2
2 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua b/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua
index 12574c6eef0..af7dd887b85 100755
--- a/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua
+++ b/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua
@@ -1,6 +1,6 @@
#!/usr/bin/env lua
-- Linus Romer, published 2018 under LPPL Version 1.3c
--- version 1.2 2018-07-23
+-- version 1.3 2018-09-03
abs = math.abs
acos = math.acos
asin = math.asin
@@ -646,8 +646,8 @@ function bezierplot(functionstring,xminstring,xmaxstring,yminstring,ymaxstring,s
x = xmax
end
local y = f(x)
- if (y >= ymin-yerror and ymin ~= -huge or y > ymin and ymin == -huge)
- and (y <= ymax+yerror and ymax ~= huge or y < ymax and ymax == huge)
+ if (y >= ymin-.1*yerror and ymin ~= -huge or y > ymin and ymin == -huge)
+ and (y <= ymax+.1*yerror and ymax ~= huge or y < ymax and ymax == huge)
then -- inside
if outside then -- if it was outside before
outside = false
diff --git a/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty b/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty
index be4c89550e5..4584777e476 100644
--- a/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty
+++ b/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bezierplot}[2018/07/23 bezierplot]
+\ProvidesPackage{bezierplot}[2018/09/03 bezierplot]
\RequirePackage{xparse}
\RequirePackage{iftex}
\ifLuaTeX