Present slides
Show any compiled PDF full screen, with an optional presenter view that has the next slide, a timer, and speaker notes.
Oleafly can present any compiled PDF: a Beamer deck, Typst slides made with Polylux or Touying, a Markdown document with type: slides, or a paper you want to page through on a projector. It can also present a slide deck written in TSX, with no compile. The slides open in their own window, and your project stays open behind them.

Start a presentation
Section titled “Start a presentation”Compile the project first. Then open Present on the PDF preview toolbar and choose one of:
- Present from the start
- Present from this page, which starts at the page showing in the preview
- Present with presenter view
When the preview toolbar is narrow, Present moves into its overflow menu. The preview in its own window has the same button.
From the ⌘K (Ctrl+K) palette, Present slides starts at the first slide, and Present slides with presenter view opens both windows. If a PDF from the project is open in an editor tab, the palette presents that file instead of the compiled document.
If there is nothing to show yet, the window says the slides couldn’t be opened and asks you to compile.
Where the windows go
Section titled “Where the windows go”- Without presenter view, the slides fill the screen Oleafly is on.
- With presenter view and a second display, the slides go full screen on the other display, and the presenter view opens on the display you are working on.
- With presenter view on one display, the slides open in a smaller window near the top-right corner, and the presenter view opens in a window of its own. That suits a rehearsal on a laptop.
Starting a new presentation closes the one that was running.
Move through the slides
Section titled “Move through the slides”These keys work in both the slide window and the presenter view:
| Key | Action |
|---|---|
| →, ↓, Page Down, Space, Enter, N | Next slide |
| ←, ↑, Page Up, Backspace, P | Previous slide |
| Home / End | First / last slide |
| B or . | Blank the audience screen, or bring it back |
| Esc | End the presentation |
Most presentation remotes send Page Down and Page Up, so they work too. In the slide window, a click goes forward and a right-click goes back. The pointer hides after two seconds without movement.
In a TSX deck, going forward plays the slide’s next step before it moves on to the next slide, and going back takes the last step away first.
Both windows always show the same slide. Ending the presentation, or closing either window, closes both.
The presenter view
Section titled “The presenter view”The presenter view is for your screen only. It shows:
- the slide number, such as “Slide 3 of 20”
- Elapsed time, with buttons to pause, resume, and reset the timer, and the current time beside it
- Current slide and Next slide, or a note that you are on the last slide
- Speaker notes for the current slide
- buttons for the previous slide, the next slide, blanking the audience screen, and End presentation
While the audience screen is blank, the presenter view says so, and B brings the slides back.
Speaker notes
Section titled “Speaker notes”Oleafly reads notes in the format the pdfpc presenter uses:
- In a Typst project, it asks Typst for the notes stored in the document. Polylux and Touying both store their speaker notes this way, so notes written with either one appear without extra setup.
- Otherwise, it looks for a
.pdfpcfile with the same name next to the main file, such asmain.pdfpcbesidemain.tex. When you present a PDF from the project, it looks for the.pdfpcfile next to that PDF.
A TSX deck keeps its notes in the file itself. See Slide decks written in TSX.
Slides without notes show “No speaker notes for this slide.”
Slide decks written in TSX
Section titled “Slide decks written in TSX”A slide deck can also be a TSX file in the Open Slide format, so decks you already have open unchanged. Oleafly treats a file as a deck when it’s named index.tsx and sits in its own folder inside a slides folder, such as slides/defense/index.tsx. Create the folder and the file in the file tree.
The file’s default export is the list of slides, each one a React component. A slide is drawn on a 1920 × 1080 canvas and scaled to fit. Export notes, a list of strings in slide order, to give the slides speaker notes.
import type { Page } from "@open-slide/core";import { Step, Steps } from "@open-slide/core";import plot from "./plot.png";
const Title: Page = () => <h1>Measurement time</h1>;
const Results: Page = () => ( <div> <img alt="Measurement time per run" src={plot} /> <Steps> <Step>The revised procedure is faster.</Step> <Step>The effect holds in every run.</Step> </Steps> </div>);
export const notes = ["Open with the question.", "Pause before the second point."];
export default [Title, Results] satisfies Page[];Each Step inside Steps appears on its own as you go forward. A deck can import react, @open-slide/core, lucide-react, recharts, d3, lodash, papaparse, and chart.js. Import a PNG, JPG, GIF, WebP, BMP, or SVG image from the project by a path relative to the deck, as above, or from the project’s assets folder with @assets/, such as @assets/logo.png.
Switch the bar above the editor from Code to Preview to see the slides, or to Both to see the code beside them. The slides follow your edits as you type, with their steps, transitions, and images. Use Previous slide and Next slide to move through them, and read the speaker notes for the slide on screen underneath it. If the default export has no slides, the preview says “This deck has no slides yet. Export an array of slide components as its default export.”
To present the deck, open Present above the slides and choose Present from the start, Present from this page, or Present with presenter view. From there it runs like a PDF presentation. The palette’s Present slides commands present the compiled PDF, not the deck.
Related pages
Section titled “Related pages”- PDF preview: the toolbar that holds Present
- Compiling: build the PDF you want to present
- Keyboard shortcuts: the full key list