Universe

The banner of the package, which says "Alertoni" with each syilable split up and put into separate callout boxes

A Typst package that introduces callouts with three different styles and various types. In addition, the package also supports custom styles, types and icon sets.

  • Read more on how to use it and other functionality in the Manual.

Quick Examples

#import "@preview/alertoni:1.0.0" as at

All Predefined Types

#at.callout(type: "info", [])
#at.callout(type: "warning", [])
#at.callout(type: "important", [])
#at.callout(type: "caution", [])
#at.callout(type: "tip", [])
#at.callout(type: "correct", [])
#at.callout(type: "incorrect", [])
#at.callout(type: "example", [])

a collection of all types with the default style

All Predefined Styles

Note: you can add your own style. Refer to the manual.

#at.callout(
    style: "minimal", [Style `"minimal"`]
)

#at.callout(
    style: "quarto", [Style `"quarto"`]
)

#at.callout(
    style: "compact", [Style `"compact"`]
) -- it is also an inline style.

a collection of all callout styles

A Custom Type

#at.new-type(
    name: "hey",
    color: olive,
    placeholder: "Hello There!",
    icon: emoji.hand.wave
)

#at.callout(type: "hey", [
    #lorem(20)
])

a custom callout type called "hey", that adds a olive coloured callout with "Hello There!" as title and a wave emoji as icon

Types can also be langnuage specific and is explained in the manual.