Sulekha · Presenting

Teach from your Beamer deck

Press F5, or start the lecture in one command with sulekha --present lec05.pdf. The deck goes full screen on the projector and the presenter view opens on yours, with a pen already in hand.

Two screens: on the left the slide as the room sees it, with a red circle and arrow drawn on it; on the right the presenter view with the same slide and ink, the next slide, the slide number, a timer, the time of day and the speaker notes.
The projector, and the presenter view beside it. The circle and the arrow were drawn on the presenter view, on the laptop, and appeared on the projector as they were drawn.

A presenter view that is a mirror

It shows the slide the room is looking at, the next one, the slide number, an elapsed timer and the time of day. Ink, the laser and the spotlight appear on it exactly as the audience sees them. It is also where your hands are, so drawing on it lands on the screen behind you.

  • Ink is ephemeral. Draw over a slide and it clears when you move on, so next year’s deck does not carry this year’s arrows. Press e to keep it.
  • The eraser reaches stage ink too, from the stylus’s other end or with 5. Nothing drawn on stage is written into the file.
  • d swaps the displays when the compositor has put the deck on the laptop and the presenter view on the projector. Every lecture starts that way somewhere.
  • The screen is held awake for as long as the deck is up.
Sulekha's presenter view: the current slide with ink on it, the next slide, 'Slide 11 of 20', an elapsed timer of 0:52, the clock, and the speaker note for the slide rendered with mathematics.
The presenter view on a 16:10 laptop showing a 16:9 deck: the notes fill the band under the slide that would otherwise be empty.

Speaker notes in Markdown, beside the deck

lec01.pdf gets lec01.notes.md, with a heading per slide. The notes live beside the PDF rather than in it, because a deck is rebuilt and anything written into it is lost on the next build. The file is read again whenever you save it, even mid-rehearsal with the presenter view open.

  • Maths renders: $\Delta t \le h^2/2\alpha$ comes out as symbols, fractions and roots. Whatever it does not understand is shown as written, never swallowed.
  • Code is coloured for Python, C and C++, CUDA, Julia, MATLAB, Fortran, Rust, shell and TeX, and pipe tables line up.
  • One note can cover an overlay build-up: ## Slides 14-16.
  • Edit Speaker Notes… writes the file for you, a heading per slide with its title, and never overwrites one that exists.
The presenter view on a slide with a table of numbers; the speaker note below it contains a short Python loop with syntax colouring.
A note with a fenced Python block, coloured, under the slide it belongs to.
## Slide 11: Let x grow by a little bit
Draw the corner in red. Area $(x+dx)^2 = x^2 + 2x\,dx + (dx)^2$; the corner is
$(dx)^2$, second order. Pause here for questions.

## Slides 14-16
One note for the whole overlay build-up.

## Slide 17
If there is time, check the table live:
```python
for dx in (1, 0.1, 0.01):
    x = 100
    print(dx, (x + dx)**2 - x**2, 2*x*dx, dx**2)   # the corner vanishes
```

Animations and video that play

Decks built with LaTeX’s animate package play at the rate the file asks for, looping or in palindrome, several to a slide, starting again each time you arrive. No JavaScript is run: Sulekha reads the frames and keeps the clock itself, which is also why a recorded talk exports with its animations moving.

Clips embedded with media9 play inside the slide, on arrival or on a click, and v starts or stops one from the keyboard. media9 still names Flash as its player, so these clips play in no other reader; the video inside is ordinary H.264, and Sulekha plays it directly.

  • a holds the animations on a slide while you talk over them; Shift+A plays them from the start.
  • A deck with a gigabyte of film opens as fast as one without: a clip is taken out of the file only when its slide is first shown.
An \animateinline figure: the secant turning into the tangent.
A clip embedded with \includemedia, playing inside the slide.

Pointing, and the keys a clicker sends

Take up the laser with l or the spotlight with s, and the pen points instead of drawing, on both screens at once. Blank to black or white when the room should be looking at you.

→ ← SpaceNext / previous slide
b / wBlank to black / white
l / sLaser pointer / spotlight
1–4 / 5Take up an instrument / the eraser
x / eWipe this slide’s ink / keep ink
t / Shift+RStart or pause the timer / reset it
dSwap the displays
rPause or resume the recording
Esc F5 qEnd the presentation
The projector and presenter view with a red laser dot on 'second order', shown on both screens.
The laser, pointed on the presenter view and shown on the projector.

Presenting full screen is free in every tier, forever. The presenter view, ink over slides, the laser and blanking come with a licence.