Skip to content

Commit

Permalink
Fix revision efc15f4.
Browse files Browse the repository at this point in the history
  • Loading branch information
johncbowman committed Sep 23, 2024
1 parent 88a0a7b commit 82c919f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions base/slide.asy
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ real pageheight=-2pagemargin;
bool landscape=orientation == Landscape || orientation == Seascape;

if(landscape) {
usepackage("geometry");
texpreamble("\geometry{landscape}");
orientation=Portrait;
pagewidth += settings.paperheight;
pageheight += settings.paperwidth;
Expand All @@ -27,6 +25,9 @@ if(landscape) {
pageheight += settings.paperheight;
}

texpreamble("\paperwidth="+string(pagewidth)+"bp");
texpreamble("\paperheight"+string(pageheight)+"bp");

size(pagewidth,pageheight,IgnoreAspect);
picture background;

Expand Down

0 comments on commit 82c919f

Please sign in to comment.