See slide_example.typ for an example presentation.
Just remember to change the first line (the import) to the following:
- #import "sraslides.typ": *
+ #import "texmf/typst/sraslides.typ": *
As this is a fork of Polylux, most of its documentation is still helpful (Polylux book).
You can create pdfpc notes and change settings inside your typst slides.
// configure pdfpc at the beginning of your slides
#pdfpc.config(
duration-minutes: 20,
start-time: none,
end-time: none,
last-minutes: none,
note-font-size: none,
disable-markdown: false,
default-transition: none,
)
// Create a speaker note inside a frame
#frame(title: [Test])[
- Lorem Ipsum...
```note
- Here is a speaker note
- ...
```
]
The pdfpc config and notes can be exported with:
typst query --root . ./slides.typ --field value --one "<pdfpc-file>" > ./slides.pdfpc
F=slides
TYPST = typst
all: $(F).pdf $(F).pdfpc
.PHONY: all clean
.DEFAULT: all
$(F).pdf: $(F).typ
$(TYPST) compile $(F).typ
$(F).pdfpc: $(F).typ
$(TYPST) query --root . $(F).typ --field value --one "<pdfpc-file>" > $(F).pdfpc
clean:
rm -f $(F).pdf $(F).pdfpc