From aa3abaa32609ec271673e14290a056d4c3c23eef Mon Sep 17 00:00:00 2001 From: szdytom Date: Wed, 9 Jul 2025 14:45:52 +0800 Subject: [PATCH] Add back cover Signed-off-by: szdytom --- back-cover.typ | 10 ++++++++++ main.typ | 13 +++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 back-cover.typ diff --git a/back-cover.typ b/back-cover.typ new file mode 100644 index 0000000..255b38b --- /dev/null +++ b/back-cover.typ @@ -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] $) + +} \ No newline at end of file diff --git a/main.typ b/main.typ index 0eaf0db..84b2485 100644 --- a/main.typ +++ b/main.typ @@ -55,11 +55,8 @@ ) ] -#[ -#show: setup_main_text - #{ - +show: setup_main_text for i in range(0, toc.len()) { pagebreak(weak: true) let chapter = toc.at(i) @@ -73,7 +70,11 @@ for i in range(0, toc.len()) { include "sections/" + n + ".typ" } } +} // main text -} +#{ -] \ No newline at end of file +pagebreak(weak: true, to: "even") +include "back-cover.typ" + +} // back cover \ No newline at end of file