# Beamer in [Typst](https://typst.app/)
[中文](https://github.com/qujihan/typst-beamer/blob/main/readme_zh.md) | [English](github.com/qujihan/typst-beamer)

[Bilibili](https://www.bilibili.com/video/BV1Nk4y157fu/)

## What does it look like?
![pic_1](./example/example_pic_1.png)
![pic_2](./example/example_pic_2.png)

or download [PDF](https://github.com/qujihan/typst-beamer/blob/main/example/example.pdf)

## How to complile example code
**Note:** If you use vscode and Typst LSP, it may report an error, that's normal, wait for the plugin to be updated.
Linux/Macos
```
typst --root . c ./example/example.typ
```

Windows
```
typst --root . c .\example\example.typ
```

## Quick Start
```
#import "beamer.typ": beamer

#show: beamer.with(
  title: "Write a Beamer Template in Typst",
  author: "<EMAIL>",
  date: "2023-07-17",
)

= First

== Second
...

```
` = ` creates a split page, ` == ` creates a new page, and the title at the top of each page is the title of ` = `.



## Thanks
[diapo](https://github.com/lvignoli/diapo) 
