use correct fonts
This commit is contained in:
parent
7db67c24d3
commit
287d80636c
@ -134,13 +134,13 @@
|
|||||||
inset: 3em,
|
inset: 3em,
|
||||||
{
|
{
|
||||||
block(
|
block(
|
||||||
// fill: self.colors.neutral-light,
|
fill: self.colors.neutral-light,
|
||||||
inset: 1em,
|
inset: 1em,
|
||||||
width: 100%,
|
width: 100%,
|
||||||
// radius: 0.2em,
|
// radius: 0.2em,
|
||||||
text(size: 1.6em, fill: self.colors.primary, text(weight: "bold", info.title, hyphenate: false)) + (
|
text(size: 1.6em, fill: self.colors.primary, text(weight: "bold", info.title, hyphenate: false)) + (
|
||||||
if info.subtitle != none {
|
if info.subtitle != none {
|
||||||
linebreak()
|
linebreak()*2
|
||||||
text(size: 1.2em, fill: self.colors.primary, info.subtitle)
|
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),
|
(height: 4em, x: 2em, display-section: false, display-subsection: true, linebreaks: true, short-heading: true),
|
||||||
mini-slides,
|
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)
|
set par(justify: true)
|
||||||
|
|
||||||
show: touying-slides.with(
|
show: touying-slides.with(
|
||||||
|
18
touying.typ
18
touying.typ
@ -3,21 +3,16 @@
|
|||||||
|
|
||||||
// #import "@preview/numbly:0.1.0": numbly
|
// #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(
|
#show: fira-theme.with(
|
||||||
// aspect-ratio: "16-9",
|
// aspect-ratio: "16-9",
|
||||||
// footer: self => self.info.institution,
|
|
||||||
navigation: "mini-slides",
|
navigation: "mini-slides",
|
||||||
config-info(
|
config-info(
|
||||||
title: [Looong LONG lng Long longlonglonglonglonglong TITLE],
|
title: [Looong LONG lng Long longlonglonglonglonglong TITLE],
|
||||||
// subtitle: [Subtitle],
|
subtitle: [Subtitle],
|
||||||
author: [Authors],
|
author: [Authors],
|
||||||
date: datetime.today(),
|
date: datetime.today(),
|
||||||
institution: [Institution],
|
// institution: [Institution],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -33,9 +28,14 @@
|
|||||||
|
|
||||||
$ x_(n+1) = (x_n + a/x_n) / 2 $
|
$ 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
|
= Section B
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user