ποΈ add-page-margin-dicts
Add page margin dictionary to another page margin dictionary.
ποΈ add-dicts
Add a dictionary to another dictionary recursively.
ποΈ merge-dicts
Merge some dictionaries recursively.
ποΈ touying-progress
Get the progress of the current slide.
ποΈ call-or-display
Call a self => {..} function and return the result, or wrap plain content in [].
ποΈ method-wrapper
Wrap a function with a self parameter to make it callable as a method.
ποΈ hiding-cover
The default cover method (wraps Typst's own hide) and touying's default value for config-methods(cover: ..).
ποΈ cover-kind-query
the string cover methods expect on self to return their kind see cover-kind below
ποΈ cover-caption-query
Passed as self to a 'recolour' cover method to ask it for a show rule that covers a figure's caption, rather than to ...
ποΈ cover-kind
What kind of cover fn is: 'recolour' if it restyles the content it covers, 'paint' if it draws over it, 'hide' if it ...
ποΈ cover-hides-footnote
Whether the presentation's configured cover method genuinely removes the content it covers, rather than merely restyl...
ποΈ methods
Extract all method functions from self and bind self as their first named argument.
ποΈ capitalize
Capitalize a string.
ποΈ titlecase
Convert a string into title case.
ποΈ short-heading
Convert a heading with label to a short display form.
ποΈ current-heading
Get the current heading on or before the current page.
ποΈ display-current-heading
Display the current heading on the page.
ποΈ display-current-heading-number
Display the current heading number on the page.
ποΈ display-current-short-heading
Display the current short heading on the page.
ποΈ section-relationship
Get the relationship of the current section a passed in outline entry.
ποΈ display-info-date
Display the date from self.info.date formatted with self.datetime-format.
ποΈ markup-text
Convert content to markup text, partly from typst-examples-book.
ποΈ fit-to-height
Fit content to specified/remaining height.
ποΈ fit-to-width
Fit content to specified width.
ποΈ is-block
true for all typst content that is not inline.
ποΈ cover-with-rect
Cover content with a rectangle of a specified color.
ποΈ update-alpha
Update the alpha channel of a color.
ποΈ semi-transparent-cover
Cover content with a semi-transparent rectangle matching the page background color.
ποΈ color-changing-cover
Cover content by forcing every colour to one flat colour.
ποΈ alpha-changing-cover
Cover content by fading every colour towards transparency.
ποΈ alert-with-primary-color
Applies the theme's primary color to text content.
ποΈ alert
Apply alert styling to content using the theme's alert method.
ποΈ effect
Take effect in some subslides.
ποΈ uncover
Uncover content in some subslides.
ποΈ only
Display content in some subslides only.
ποΈ animate-placements
The placement effects that animate understands as strings: 'show', 'cover' and 'remove'.
ποΈ animate
Animate content arbitrarily with your own or builtin effects.
ποΈ animate-hidden
animate starting from covered rather than shown, so the effects say when body *appears* instead of when it disappears.
ποΈ animate-removed
animate starting from removed rather than shown.
ποΈ alternatives-match
#alternatives has a couple of 'cousins' that might be more convenient in some situations.
ποΈ alternatives
#alternatives is able to show contents sequentially in subslides.
ποΈ alternatives-fn
You can have very fine-grained control over the content depending on the current subslide by using #alternatives-fn.
ποΈ alternatives-cases
You can use this function if you want to have one piece of content that changes only slightly depending of what 'case...
ποΈ item-by-item-fn
Display list, enum, or terms items one by one with animation and styling.
ποΈ item-by-item
Display list, enum, or terms items one by one with animation.
ποΈ speaker-note
Speaker notes are a way to add additional information to your slides that is not visible to the audience.
ποΈ page-args-from-aspect-ratio
Convert an aspect ratio string to page configuration arguments.
ποΈ get-page-dimensions
Get the page width and height from the slide configuration.
ποΈ i18n-outline-title
Internationalized outline/table-of-contents title.
ποΈ get-input
*Returns input given to the compiler.* Anything Typst knows is parsed as Typst: red is a colour, left an alignment, 3...
ποΈ rescale-image
Rescale an image element to fit within a column-fraction of the available content width.
ποΈ create-nav-symbols
Takes in a symbol or a dictionary of symbols and emits a 2d dict for filled|stroked-styled x left|right-orientated sy...