Skip to content

Commit

Permalink
change the page margin according to the guideline
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-feng committed Apr 7, 2024
1 parent 5063447 commit 086f88c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/template_en.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
[
Expand Down
2 changes: 1 addition & 1 deletion resources/template_zh.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
[
Expand Down

0 comments on commit 086f88c

Please sign in to comment.