diff options
Diffstat (limited to 'Master/texmf/asymptote/slide.asy')
-rw-r--r-- | Master/texmf/asymptote/slide.asy | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Master/texmf/asymptote/slide.asy b/Master/texmf/asymptote/slide.asy index b23a352fc5d..579253b182f 100644 --- a/Master/texmf/asymptote/slide.asy +++ b/Master/texmf/asymptote/slide.asy @@ -18,11 +18,8 @@ bool landscape=orientation == Landscape || orientation == Seascape; if(landscape) { orientation=Portrait; - real temp=settings.paperwidth; - settings.paperwidth=settings.paperheight; - settings.paperheight=temp; - pagewidth += settings.paperwidth; - pageheight += settings.paperheight; + pagewidth += settings.paperheight; + pageheight += settings.paperwidth; } else { pagewidth += settings.paperwidth; pageheight += settings.paperheight; @@ -430,12 +427,13 @@ void multifigure(string[] slist, string options="", string caption="", firststep=false; } -void indexedfigure(string prefix, int n, string options="", string caption="", - pair align=S, pen p=itempen, pen figuremattpen=figuremattpen) +void indexedfigure(string prefix, int first, int last, + string options="", string caption="", + pair align=S, pen p=itempen, pen figuremattpen=figuremattpen) { string[] s; - for (int i=0; i<n; ++i) - s.push(prefix+"+"+string(i)); + for(int i=first; i <= last; ++i) + s.push(prefix+string(i)); multifigure(s, options, caption, align, p, figuremattpen); } |