Feature demo

A slide framework for scientific talks

Steps, continuous sheets, math, arrows and popups

Nicolai Lang

Institute for Theoretical Physics III

Outline

Basics

Steps, sheets, math and arrows

Steps inside a slide

Each press of → reveals the next element

More step controls

  1. Visible during steps 1–2 only
  2. Grows in at step 2
  3. Step 3: no animation
  4. Dimmed at 1–2, highlighted from 4
  5. Visible until step 3, gone from 4

data-on-step: own JavaScript per step

data-time="1:30" fixes this slide's time

A golden thread: the harmonic oscillator

A particle in a harmonic trapP. A. M. Dirac, The Principles of Quantum Mechanics, Oxford University Press (1930):

$$ H = \frac{p^2}{2m} + \frac{1}{2} m\omega^2 x^2 . $$

Instead of the differential equation: the ladder operator

$$ \cssId{adef}{a = \sqrt{\frac{m\omega}{2\hbar}}\left(x + \frac{\i}{m\omega}\,p\right)} , \qquad [a, a^\dagger] = 1 . $$

Inserted into $H$: the compact form

$$ H = \hbar\omega\left(\cssId{number}{a^\dagger a} + \tfrac{1}{2}\right) . $$

The commutator with $H$

$$ \cssId{comm}{[H, a] = -\hbar\omega\, a} , $$

so $a\ket{n}$ has energy $E_n - \hbar\omega$ if $H\ket{n} = E_n\ket{n}$.

The spectrum

Energy bounded from below: a ground state

$$ a\ket{0} = 0 \quad\Rightarrow\quad E_0 = \frac{\hbar\omega}{2} . $$

Applying $a^\dagger$ repeatedly: the whole ladder

$$ E_n = \hbar\omega\left(n + \tfrac{1}{2}\right), \quad n \in \N $$

Everything follows from the commutator

Explaining a central equation

$$ \i\hbar\,\cssId{dt}{\partial_t} \psi = \Big[ \cssId{kin}{-\frac{\hbar^2}{2m}\nabla^2} + \cssId{pot}{V(\vr)} + \cssId{int}{g\,|\psi|^2} \Big]\psi $$

Kinetic energy of the condensate atoms

External trap, e.g. optical or magnetic

Mean-field interaction, $g = 4\pi\hbar^2 a_s/m$

Targets tagged with \cssId; <k-mark> highlights without an arrow

Typesetting

Inline $\braket{\phi|\psi}$, display $$…$$ or \[…\]:

\[ \dv{t}\expval{x} = \frac{\expval{p}}{m}, \qquad \pdv{f}{x} \]

Own macros: SLIDES_MACROS

$$ \ev{\vr} = \int \dd^3 r\; \vr\, \abs{\psi(\vr)}^2 $$

\class{hl}{…} colours a term:

$$ E = \class{hl}{mc^2} + \cancel{\delta E} $$

Packages: physics, braket, mathtools, cancel

MathTime Pro 2 is used automatically where installed

Arrow styles on a diagram

Inputcard
Coreaccent
LOG.mdfile
frame dashed
Tintwith a corner label
Greyfilled
Outputcard
Monitorcard
default dashed dotted, light,
connector
dark, right@0.7 muted, bend,
slide, pad 0

Arrowhead size: --k-arrow-head (here 0.8)

Figures: inline SVG and raster images

Inline SVG: three groups appear step by step
density

A gap opens at $k = 0$: arrows target elements inside the SVG

Spots in a raster image: #dens@0.6,0.7

Media and other layouts

Videos, web pages, documents, layouts

Video

  • Plays when shown, pauses when left
  • WebM (VP9) plays everywhere
  • A video as popup: the still grows and plays

A YouTube video with title and footer

Full-bleed YouTube video

0:15–0:45, looped, no controls

Full-bleed image

The caption sits on frosted glass
The circle is the basis of the whole layout system.

Corporate Design Manual, University of Stuttgart

Tables and three columns

GradeUse
T3long text
T4slides
T4 Tabnumbers

This slide fades in

data-transition="fade"

Small text: .small

This line goes on the next step …

… replaced by this one

A bottom line under the right column

A slide that slides in

  • data-transition="slide": like a slide projector
  • Here inside one section; data-section-transition does it at every new section
  • data-footer="none": no footer on this slide

A web page in the content area

Full-bleed web page

Drag the sliders; mouse onto this caption to use the keys again

A page that grows, with scripted clicks

A document rolling through

  • <k-pdf>: a PDF as a column of pages
  • Rolls from the first to the last page
  • A click pauses and resumes

Edge to edge

Structure and references

Parts, sections, citations, timing

Citing papers

A circled number in the text, the reference at the bottom

Parts and sections

  • Part: data-layout="part", own colour
  • Section: data-section="Name" on any slide
  • Footer: talk → part → section
  • Generic highlight: Mittelblau
  • class="balance": this short slide sits in the middle

Last part

Emphasis and detail

Highlights, components, popups, paged sheets

Pointing at what matters

The key result of the oscillator:

$$E_n = \hbar\omega\left(n + \tfrac{1}{2}\right)$$

This line turns to the accent colour at step 1

A density plot, standing in for a screenshot of a headline
Clipping: source, date

A bottom line sums up the slide

Cards, numbers and chips

Card

White, grey frame

A conclusion

Card key

Tinted in the part colour

An open question

Card accent

Framed in the part colour

42slides
in total
≈ 45minutes
3parts
104steps
1file

part colour dark blue

Title glyph: glyph-title + --k-glyph

Code, cautions and check lists

Gap.leana code card
theorem gap_pos : 0 < Δ := by
  simp [Δ]; positivity
lake build✓ no errors
Terminal $just check _demo ✓ no problems

A caution: .callout.warn

Fastno build step
Offlinefonts and math local
Checkedtwo browsers

Opening a box for details

Without popup

Stays in its place

With popup

Next step: opens over the slide

Popups follow the steps like everything else

Badge

Subsection

A dark divider for an occasional break

Several screens under one title

Page one

  • Each page: one screen below the sticky title
  • Its footnotes belong to itA. Author, A first reference, Journal 1, 1 (2026)

Next step: the next page scrolls in

Page two

A popup on a sheet

Opens in the visible partB. Author, A second reference, Journal 2, 2 (2026)

The second page starts at the same height as the first

A sheet without glass

Freely placed, beside the title: stays sharp

Next step: the video takes the whole screen

Outlook

  • After the parts: data-backmatter
  • Neutral Mittelblau, own row in the overview
  • Next: a generated bibliography
4parts
35slides
1HTML file

References

Thank you

nicolai.lang@itp3.uni-stuttgart.de