diff --git a/templates/default.typ b/templates/default.typ index 31d5412..6a7b206 100644 --- a/templates/default.typ +++ b/templates/default.typ @@ -98,7 +98,7 @@ set page( paper: paper, flipped: orientation == "landscape", - margin: (top: 2.5cm, right: 1.5cm, bottom: 2cm, left: 2.5cm), + margin: page-margin, ..if export_format == "single-page" and orientation == "landscape" { (width: auto,) } else if export_format == "single-page" { diff --git a/templates/modern.typ b/templates/modern.typ index 8599ace..72b357c 100644 --- a/templates/modern.typ +++ b/templates/modern.typ @@ -95,7 +95,7 @@ set page( paper: paper, flipped: orientation == "landscape", - margin: (top: 2.5cm, right: 1.5cm, bottom: 2cm, left: 2.5cm), + margin: page-margin, ..if export_format == "single-page" and orientation == "landscape" { (width: auto,) } else if export_format == "single-page" {