mirror of
https://github.com/JustAnyones/ktu-paper.git
synced 2026-06-20 22:11:56 +00:00
Add presentation template and example files
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
# KTU-Typst
|
||||
|
||||
To use the template
|
||||
This repository contains a Typst template for KTU style presentation and written work.
|
||||
|
||||
To use the template, just import `template.typ` at the top of the Typst document and apply a show rule.
|
||||
|
||||
## Report
|
||||
|
||||
The following is an example on how to apply the report style for a document
|
||||
|
||||
```typst
|
||||
#import "template.typ": ataskaita
|
||||
@@ -19,3 +25,45 @@ To use the template
|
||||
= Įvadas
|
||||
...
|
||||
```
|
||||
|
||||
## Presentation
|
||||
|
||||
For presentations, we use the Polylux Typst package. I suggest that you consult documentation on how it works before proceeding.
|
||||
|
||||
```typst
|
||||
#import "@preview/polylux:0.3.1": *
|
||||
#import "template.typ": *
|
||||
|
||||
#show: everything => ktu-theme(everything)
|
||||
|
||||
#ktu-title-slide[
|
||||
= Pristatymo tema
|
||||
|
||||
#box[
|
||||
#set text(size: 18pt)
|
||||
Autoriai: Vardenis Pavardenis, Petras Petraitis
|
||||
]
|
||||
]
|
||||
|
||||
#ktu-outline-slide[
|
||||
== Turinys
|
||||
|
||||
1. Įvadas
|
||||
2. Dėstymas
|
||||
3. Išvados
|
||||
]
|
||||
|
||||
#ktu-main-slide[
|
||||
== Įvadas
|
||||
|
||||
...
|
||||
]
|
||||
|
||||
...
|
||||
```
|
||||
### Options
|
||||
|
||||
`#ktu-title-slide`
|
||||
`#ktu-outline-slide`
|
||||
`#ktu-main-slide`
|
||||
`#ktu-no-vertical-slide`
|
||||
|
||||
Reference in New Issue
Block a user