Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions packages/preview/sgh-presentation/0.1.2/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 Piotr Kuszewski

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
69 changes: 69 additions & 0 deletions packages/preview/sgh-presentation/0.1.2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# sgh-presentation

A presentation theme for [Touying](https://typst.app/universe/package/touying)
following the visual identity of the SGH Warsaw School of Economics (Szkoła
Główna Handlowa w Warszawie). The theme is bilingual — the SGH logo switches
between Polish and English depending on the document language (`pl` / `en`).

The standard font for SGH presentations is Lato (a free font developed in Poland
by Łukasz Dziedzic, available at <https://www.latofonts.com>). If Lato is not
installed, Typst falls back to a default font. On the Typst web app the font is
already available.

The full manual, a complete example presentation, and the matching SGH thesis
template are available in the project repository:
<https://github.com/piotr-m-kuszewski/Szablony_Typst_SGH>.

![Title slide of the example presentation produced with the theme](thumbnail.png)

## Usage

The theme builds on Touying, so import both packages:

```typst
#import "@preview/touying:0.7.4": *
#import "@preview/sgh-presentation:0.1.2": *

#set text(lang: "pl") // the SGH logo follows the language: "pl" or "en"

#show: sgh-presentation-theme.with(
config-info(
title: [Prezentacja],
author: [Ijon Tichy],
date: [Marzec 2026],
),
// footer: [custom footer],
// footer-progress: true,
// aspect-ratio: "4-3",
)

#title-slide()

== A simple slide

Some text on the slide.

= Section

== Another slide

#focus-slide[Wake up!]
```

## Available functions

- `sgh-presentation-theme(...)` — the main theme (used with
`#show: sgh-presentation-theme.with(...)`). Options include `aspect-ratio`,
`align`, `header`, `header-right`, `footer`, `footer-right` and
`footer-progress`.
- `title-slide(...)` — the title slide (SGH logo on the brand background).
- `slide(...)` — a regular content slide.
- `new-section-slide(...)` — a section-divider slide.
- `focus-slide[...]` — a full-bleed slide used to draw attention.

Slide structure follows Touying conventions: level-1 headings (`=`) start new
sections and level-2 headings (`==`) start new slides.

## License

MIT — see the [LICENSE](LICENSE) file.
Loading
Loading