Add back cover

Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
方而静 2025-07-09 14:45:52 +08:00
parent 96f52399b9
commit aa3abaa326
Signed by: szTom
GPG Key ID: 072D999D60C6473C
2 changed files with 17 additions and 6 deletions

10
back-cover.typ Normal file
View File

@ -0,0 +1,10 @@
#import "color.typ": text_color_set
#{
set align(right)
v(1fr)
set text(22pt, fill: text_color_set.at("100"))
box($ F_n = 1/(sqrt(5))[((1+sqrt(5))/2)^n-((1-sqrt(5))/2)^n] $)
}

View File

@ -55,11 +55,8 @@
) )
] ]
#[
#show: setup_main_text
#{ #{
show: setup_main_text
for i in range(0, toc.len()) { for i in range(0, toc.len()) {
pagebreak(weak: true) pagebreak(weak: true)
let chapter = toc.at(i) let chapter = toc.at(i)
@ -73,7 +70,11 @@ for i in range(0, toc.len()) {
include "sections/" + n + ".typ" include "sections/" + n + ".typ"
} }
} }
} // main text
} #{
] pagebreak(weak: true, to: "even")
include "back-cover.typ"
} // back cover