93 lines
2.3 KiB
Typst
93 lines
2.3 KiB
Typst
#import "requirements.typ": *
|
|
#import "../meta.typ"
|
|
#import codly: codly-init, codly
|
|
#import "@preview/codly-languages:0.1.10": codly-languages
|
|
#import "@preview/tiaoma:0.3.0"
|
|
|
|
#pdfpc.config(
|
|
start-time: datetime(hour: 13, minute: 15, second: 0),
|
|
end-time: datetime(hour: 13, minute: 55, second: 0),
|
|
duration-minutes: 20,
|
|
)
|
|
|
|
#show raw.where(block: true): set text(size: 0.8em)
|
|
#show: codly-init.with()
|
|
#codly(
|
|
languages: codly-languages
|
|
+ (
|
|
midas: (
|
|
name: "Midas",
|
|
color: rgb("#eedd47"),
|
|
icon: box(
|
|
image(
|
|
"../assets/icon.svg",
|
|
height: 130%,
|
|
fit: "contain",
|
|
),
|
|
),
|
|
),
|
|
),
|
|
)
|
|
|
|
#set raw(
|
|
syntaxes: path("../midas.sublime-syntax")
|
|
)
|
|
|
|
#show: unistra-theme.with(
|
|
config-info(
|
|
author: meta.authors,
|
|
institution: meta.school,
|
|
date: datetime(year: 2026, month: 8, day: 24).display("[day].[month].[year]"),
|
|
title: [Midas],
|
|
subtitle: [Hybrid Type Checking for Python],
|
|
//title: meta.title,
|
|
//subtitle: meta.subtitle,
|
|
//short-title: [Midas],
|
|
//short-subtitle: [Hybrid Type Checking for Python],
|
|
//logo: image("figs/isc_logo.svg"),
|
|
logo: {
|
|
image("figs/isc_logo.svg")
|
|
place(
|
|
left + horizon,
|
|
dx: 100% + 1em,
|
|
clearance: 0pt,
|
|
//scale(80%, tiaoma.qrcode("https://url.kb28.ch/nws0"))
|
|
scale(80%, tiaoma.qrcode("https://git.kb28.ch/HEL/TB-Docs/releases/download/official/presentation_handout.pdf"))
|
|
)
|
|
},
|
|
),
|
|
config-common(
|
|
enable-pdfpc: true,
|
|
handout: sys.inputs.at("handout", default: "false") == "true",
|
|
slide-fn: slide,
|
|
),
|
|
config-store(
|
|
footer-appendix-label: "A",
|
|
show-header: {
|
|
place(
|
|
top + left,
|
|
utils.touying-progress(
|
|
ratio => box(
|
|
width: ratio * 100%,
|
|
height: 6pt,
|
|
fill: orange.C
|
|
)
|
|
)
|
|
)
|
|
}
|
|
),
|
|
)
|
|
|
|
#title-slide(
|
|
logos: (
|
|
box(inset: (x: 0.8em), image("figs/hei_logo.svg", height: 2cm)),
|
|
box(inset: (x: 0.8em), image("figs/isc_logo.svg", height: 2cm)),
|
|
)
|
|
)
|
|
|
|
#include "sections/01_introduction.typ"
|
|
#include "sections/02_state_of_the_art.typ"
|
|
#include "sections/03_midas.typ"
|
|
#include "sections/04_status_and_future.typ"
|
|
#include "sections/05_conclusion.typ"
|
|
#include "sections/06_appendix.typ" |