Skip to content

Commit

Permalink
feat(harbin-bachelor): 微调封面部分参数
Browse files Browse the repository at this point in the history
  • Loading branch information
vonbrank committed May 2, 2024
1 parent 5dd4533 commit e758b40
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions harbin/bachelor/pages/cover.typ
Original file line number Diff line number Diff line change
Expand Up @@ -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")[*本科毕业论文(设计)*]

Expand Down Expand Up @@ -70,7 +70,7 @@
) = {
align(center)[

#let space-scale-ratio = 1.6
#let space-scale-ratio = 1.4

#align(right)[
#text(size: 字号.四号, font: 字体.宋体)[密级:公开]
Expand All @@ -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)[
Expand All @@ -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),
Expand All @@ -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))[专 业]),
Expand All @@ -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))[学 校]),
Expand Down

0 comments on commit e758b40

Please sign in to comment.