From 086f88cf324bf1fdd5a8b1a27dea28d79e08ca21 Mon Sep 17 00:00:00 2001 From: Dazhi Feng Date: Sun, 7 Apr 2024 15:24:48 +0800 Subject: [PATCH] change the page margin according to the guideline --- resources/template_en.typ | 2 +- resources/template_zh.typ | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/template_en.typ b/resources/template_en.typ index 17e3193..54a3ee2 100644 --- a/resources/template_en.typ +++ b/resources/template_en.typ @@ -241,7 +241,7 @@ doc, ) = { set page("a4", - margin: (x: 3.17cm, y: 2.54cm), + margin: (top: 2.5cm, bottom: 2cm, left: 3cm, right: 2.5cm), footer: locate(loc => { if skippedstate.at(loc) and calc.even(loc.page()) { return } [ diff --git a/resources/template_zh.typ b/resources/template_zh.typ index 08ece2e..4dbed08 100644 --- a/resources/template_zh.typ +++ b/resources/template_zh.typ @@ -241,7 +241,7 @@ doc, ) = { set page("a4", - margin: (x: 3.17cm, y: 2.54cm), + margin: (top: 2.5cm, bottom: 2cm, left: 3cm, right: 2.5cm), footer: locate(loc => { if skippedstate.at(loc) and calc.even(loc.page()) { return } [