From e758b40bbee5f453558d7078f736417062c5bb88 Mon Sep 17 00:00:00 2001 From: vonbrank Date: Thu, 2 May 2024 19:27:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(harbin-bachelor):=20=E5=BE=AE=E8=B0=83?= =?UTF-8?q?=E5=B0=81=E9=9D=A2=E9=83=A8=E5=88=86=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- harbin/bachelor/pages/cover.typ | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/harbin/bachelor/pages/cover.typ b/harbin/bachelor/pages/cover.typ index c12e047..e94de4b 100644 --- a/harbin/bachelor/pages/cover.typ +++ b/harbin/bachelor/pages/cover.typ @@ -18,9 +18,9 @@ ) = { align(center)[ - #let space-scale-ratio = 1.2 + #let space-scale-ratio = 1.25 - #v(字号.小四 * 3 * space-scale-ratio) + #v(字号.小四 * 6 * space-scale-ratio) #text(size: 字号.小一, font: 字体.宋体, weight: "bold")[*本科毕业论文(设计)*] @@ -70,7 +70,7 @@ ) = { align(center)[ - #let space-scale-ratio = 1.6 + #let space-scale-ratio = 1.4 #align(right)[ #text(size: 字号.四号, font: 字体.宋体)[密级:公开] @@ -86,9 +86,9 @@ #v(字号.小四 * 1 * space-scale-ratio) - #v(字号.二号 * 3 * space-scale-ratio) + #v(字号.二号 * 4 * space-scale-ratio) - #v(字号.小四 * space-scale-ratio) + // #v(字号.小四 * space-scale-ratio) #let cover-info-key(content) = { align(right)[ @@ -108,7 +108,8 @@ ] } - #let key-width = 字号.四号 * (4 + 0.5 * 3) + #let base-space = 0.8 + #let key-width = 字号.四号 * (4 + base-space * 3) #grid( columns: (auto, 1em, auto), @@ -120,7 +121,7 @@ cover-info-key(text(spacing: (key-width - 2em))[学 号]), cover-info-colon[:], cover-info-value(student-id), - cover-info-key(text(spacing: 0.5em)[指 导 教 师]), + cover-info-key(text(spacing: base-space * 1em)[指 导 教 师]), cover-info-colon[:], cover-info-value(supervisor), cover-info-key(text(spacing: (key-width - 2em))[专 业]), @@ -129,7 +130,7 @@ cover-info-key(text(spacing: (key-width - 2em))[学 院]), cover-info-colon[:], cover-info-value(collage), - cover-info-key(text(spacing: 0.5em)[答 辩 日 期]), + cover-info-key(text(spacing: base-space * 1em)[答 辩 日 期]), cover-info-colon[:], cover-info-value([#[#year]年#[#month]月]), cover-info-key(text(spacing: (key-width - 2em))[学 校]),