From 287d80636c2dd6740c64ac4d1ad87933ca43d7f6 Mon Sep 17 00:00:00 2001 From: Yu Cong Date: Fri, 23 May 2025 00:38:28 +0800 Subject: [PATCH] use correct fonts --- firatheme.typ | 8 +++++--- touying.typ | 18 +++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/firatheme.typ b/firatheme.typ index 3be608e..3c71d61 100644 --- a/firatheme.typ +++ b/firatheme.typ @@ -134,13 +134,13 @@ inset: 3em, { block( - // fill: self.colors.neutral-light, + fill: self.colors.neutral-light, inset: 1em, width: 100%, // radius: 0.2em, text(size: 1.6em, fill: self.colors.primary, text(weight: "bold", info.title, hyphenate: false)) + ( if info.subtitle != none { - linebreak() + linebreak()*2 text(size: 1.2em, fill: self.colors.primary, info.subtitle) } ), @@ -341,7 +341,9 @@ (height: 4em, x: 2em, display-section: false, display-subsection: true, linebreaks: true, short-heading: true), mini-slides, ) - set text(size: 20pt) + set text(size: 24pt, font: "FiraGO", weight: 400) + show math.equation: set text(font: "Fira Math") + set strong(delta: 200) set par(justify: true) show: touying-slides.with( diff --git a/touying.typ b/touying.typ index 913c76a..ad34ee8 100644 --- a/touying.typ +++ b/touying.typ @@ -3,21 +3,16 @@ // #import "@preview/numbly:0.1.0": numbly -#set text(font: "FiraGO", weight: "regular") -#show math.equation: set text(font: "Fira Math") -#set strong(delta: 200) -#set par(justify: true) #show: fira-theme.with( // aspect-ratio: "16-9", - // footer: self => self.info.institution, navigation: "mini-slides", config-info( title: [Looong LONG lng Long longlonglonglonglonglong TITLE], - // subtitle: [Subtitle], + subtitle: [Subtitle], author: [Authors], date: datetime.today(), - institution: [Institution], + // institution: [Institution], ), ) @@ -33,9 +28,14 @@ $ x_(n+1) = (x_n + a/x_n) / 2 $ -== Subsection A.2 -A slide without a title but with *important* infos +A slide without a title but with *important* infos 测试中文 + +$ +min sum_(e in E) x_e f_k "such that some fonts" +$ + +#lorem(40) = Section B