Feature demo
A slide framework for scientific talks
Steps, continuous sheets, math, arrows and popups
Outline
Basics
Steps, sheets, math and arrows
Steps inside a slide
Each press of → reveals the next element
- A slide is one
<section>; a new section slides in sideways data-step: elements appear one after another- Earlier steps dimmed later:
data-step-class - View ID bottom right (slide.step) = URL hash
- g + ID: jump there · o: overview
- b: black screen · e: edit mode
More step controls
- Visible during steps 1–2 only
- Grows in at step 2
- Step 3: no animation
- Dimmed at 1–2, highlighted from 4
- 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 trap
Instead of the differential equation: the ladder operator
Inserted into $H$: the compact form
The commutator with $H$
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
Applying $a^\dagger$ repeatedly: the whole ladder
Everything follows from the commutator
Explaining a central equation
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 \[…\]:
Own macros: SLIDES_MACROS
\class{hl}{…} colours a term:
Packages: physics, braket, mathtools, cancel
MathTime Pro 2 is used automatically where installed
Arrow styles on a diagram
LOG.mdfileconnector dark, right@0.7 muted, bend,
slide, pad 0
Arrowhead size: --k-arrow-head (here 0.8)
Figures: inline SVG and raster images
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 glassThe circle is the basis of the whole layout system.
Corporate Design Manual, University of Stuttgart
Tables and three columns
| Grade | Use |
|---|---|
| T3 | long text |
| T4 | slides |
| T4 Tab | numbers |
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-transitiondoes 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 againA 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
- BEC first seen in dilute alkali gases
M. H. Anderson, J. R. Ensher, M. R. Matthews, C. E. Wieman, E. A. Cornell, Observation of Bose–Einstein condensation in a dilute atomic vapor, Science 269, 198 (1995) K. B. Davis et al., Bose–Einstein condensation in a gas of sodium atoms, Phys. Rev. Lett. 75, 3969 (1995) - Dynamics: Gross–Pitaevskii equation
L. Pitaevskii, S. Stringari, Bose–Einstein Condensation and Superfluidity, Oxford University Press (2016) , math in a referenceS. Fell, T. F. Maier, H. P. Büchler, N. Lang, Excitation gap of a blockade structure with $\mathbb{Z}_2$ topological order, arXiv:2609.39475 (2026) - Cited again: same number
M. H. Anderson, J. R. Ensher, M. R. Matthews, C. E. Wieman, E. A. Cornell, Observation of Bose–Einstein condensation in a dilute atomic vapor, Science 269, 198 (1995) ; numbers run through the whole talk - Software and websites:
type=MathJax Consortium, MathJax, mathjax.org (2026)
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:
This line turns to the accent colour at step 1
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
in total
part colour dark blue
Title glyph: glyph-title + --k-glyph
Code, cautions and check lists
Gap.leana code cardtheorem gap_pos : 0 < Δ := by simp [Δ]; positivity
$just check _demo
✓ no problems
A caution: .callout.warn
Opening a box for details
Without popup
Stays in its place
With popup
Next step: opens over the slide
popup-only: shown only when open- Open layout:
.k-popup-openintalk.css - Next step: shrinks back
Popups follow the steps like everything else
A badge as popup at step 3, in a box set by --popup-x/y/w/h
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 it
A. 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 part
Sticky title, footnotes and footer are blurred behind it
The second page starts at the same height as the first
A sheet without glass
class="continuous plain": no frosted title or footer zone- The title has no
sticky: it scrolls away with the first screen
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
References
Thank you
nicolai.lang@itp3.uni-stuttgart.de
Find these slides at slides.nicolailang.de/_demo