-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from touying-typ/refactor
Touying 0.5.0
- Loading branch information
Showing
30 changed files
with
5,826 additions
and
2,960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
#import "../lib.typ": * | ||
|
||
#let s = themes.aqua.register(aspect-ratio: "16-9", lang: "en") | ||
#let s = (s.methods.info)( | ||
self: s, | ||
title: [Title], | ||
subtitle: [Subtitle], | ||
author: [Authors], | ||
date: datetime.today(), | ||
institution: [Institution], | ||
#import themes.aqua: * | ||
|
||
#show: aqua-theme.with( | ||
aspect-ratio: "16-9", | ||
config-info( | ||
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 | ||
#title-slide() | ||
|
||
#let (slide, empty-slide, title-slide, outline-slide, focus-slide) = utils.slides(s) | ||
#show: slides | ||
#outline-slide() | ||
|
||
= The Section | ||
|
||
== Slide Title | ||
|
||
#slide[ | ||
#lorem(40) | ||
] | ||
#lorem(40) | ||
|
||
#focus-slide[ | ||
Another variant with primary color in background... | ||
] | ||
|
||
== Summary | ||
|
||
#align(center + horizon)[ | ||
#set text(size: 3em, weight: "bold", s.colors.primary) | ||
THANKS FOR ALL | ||
] | ||
#slide(self => [ | ||
#align(center + horizon)[ | ||
#set text(size: 3em, weight: "bold", fill: self.colors.primary) | ||
THANKS FOR ALL | ||
] | ||
]) | ||
|
||
|
Oops, something went wrong.