Skip to content

Commit

Permalink
feat: add template
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeX4 committed Mar 15, 2024
1 parent ebfcb0f commit 59f97a5
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
25 changes: 25 additions & 0 deletions template/main.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#import "@preview/touying:0.3.2": *

#let s = themes.university.register(aspect-ratio: "16-9")
#let s = (s.methods.info)(
self: s,
title: [Title],
subtitle: [Subtitle],
author: [Authors],
date: datetime.today(),
institution: [Institution],
)
#let (init, slides, touying-outline, alert) = utils.methods(s)
#show: init

#show strong: alert

#let (slide, title-slide, focus-slide, matrix-slide) = utils.slides(s)
#show: slides


= The Section

== Slide Title

Slide content.
Binary file added thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion typst.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@ authors = ["OrangeX4", "Andreas Kröpelin", "ntjess", "Enivex", "Pol Dellaiera"]
license = "MIT"
description = "A powerful package for creating presentation slides in Typst."
repository = "https://github.com/touying-typ/touying"
exclude = ["examples"]
keywords = ["presentation", "slides", "lecture", "touying"]
categories = ["presentation"]
exclude = ["examples"]

[template]
path = "template"
entrypoint = "main.typ"
thumbnail = "thumbnail.png"

0 comments on commit 59f97a5

Please sign in to comment.