Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The Ambrosia Guide / 0.1.0 PDF Manual ↗

API Index

Browse by object rather than following the introductory guides. Each group links to usage, options, and editable examples. Prefer prefixed names with a wildcard import, or the scoped ambrosia API when combining libraries.

Slides

These helpers keep the same names inside ambrosia, such as ambrosia.title-slide() and ambrosia.slide(...).

HelperPurposeGuide
slideOrdinary content; two positional bodies create columns.Composition
title-slideOpening metadata and logos.Title Layouts
outline-slideFitted presentation overview.Agendas
new-section-slideCurrent-section agenda; automatic transition by default.Agendas
section-slideSimple counted divider.Slide Helpers
focus-slideCentral message with frozen slide counter.Slide Helpers
image-slideFull-page image and caption/credit placement.Image Slides
bibliography-slideVisible reference list.Citations
ending-slideClosing content, contacts, and marks.Ending Layouts
backup-slideInterlude with frozen slide counter.Slide Helpers
appendixShow rule starting a separately numbered appendix.Appendix Numbers

The theme’s agenda-style and agenda-text-size apply to both outline-slide and automatic section dividers; each helper accepts local style: and text-size: overrides.

Components

Global namesScoped equivalentsGuide
ambrosia-blockambrosia.blockBlock Styles And Kinds
ambrosia-badge, ambrosia-source-noteambrosia.badge, ambrosia.source-noteText And Annotations
alert, muted, subtleSame names inside ambrosiaText And Annotations
ambrosia-shadowambrosia.shadowShadows
footcite, hidden-bibliographySame names inside ambrosiaCitations
ambrosia-affiliationambrosia.affiliationLinked Affiliations
ambrosia-roadmapambrosia.roadmapRoadmaps
ambrosia-palette-showcaseambrosia.palette-showcasePalettes
ambrosia-slide-previewambrosia.slide-previewLinked Slide Previews
ambrosia-navigation-buttonsambrosia.navigation-buttonsTransparent Buttons
ambrosia-credit-cardambrosia.credit-cardTheme Credits

Configuration And Descriptors

Global namesScoped equivalentsGuide
ambrosia-themeambrosia.themeConfiguration Layers
config-infoambrosia.config-infoAuthors And Institutions
ambrosia-flavorambrosia.flavorFlavors
ambrosia-paletteambrosia.palettePalettes
ambrosia-navigationambrosia.navigationNavigation
ambrosia-title-layoutambrosia.title-layoutTitle Layouts
ambrosia-ending-layoutambrosia.ending-layoutEnding Layouts
config-common, config-store, config-page, config-colorsSame names inside ambrosiaConfiguration Layers

Touying configuration and animation helpers are re-exported. Start with content and reveals for pause and the Touying documentation for their full API. Its re-exported speaker-note (ambrosia.speaker-note) is covered separately in Extras: Presenter Notes With Touying.

Imports

The scoped import is convenient when combining packages:

#import "@preview/touying-ambrosia:0.1.0": ambrosia-theme, ambrosia
#show: ambrosia-theme.with(
  flavor: "minimal", palette: "ocean",
  ambrosia.config-info(title: [Research], author: [Presenter]),
)
#ambrosia.title-slide()
#ambrosia.slide(title: [A Result])[
  #ambrosia.block(style: "poster", kind: "success", title: [Result])[Evidence.]
]

A wildcard import remains available. If importing Touying directly too, import Ambrosia after it to select Ambrosia’s presentation overrides.

Institution wrappers use the supported extensions module and ambrosia-flavor builder; see Create Your Own Theme. Other internal source paths are implementation details.