Make tierlists in Typst using the pastel color palettes from Catppuccin.
Usage
#import "@preview/tierpist:0.1.0": tierlist, theme
#show: tierlist.with(
tiers: (
[This is S-tier!],
[This is A-tier!],
[This is B-tier!],
grid.cell(align: center)[This is C-tier!],
[This is D-tier!],
grid.cell(inset: 1em)[This is E-tier!],
[This is F-tier!],
),
/// This line is optional
/// Available themes are:
/// - `theme.latte` (a light theme)
/// - `theme.frappe` (a dark theme)
/// - `theme.macchiato` (a dark theme)
/// - `theme.mocha` (a dark theme)
/// The default theme is `theme.macchiato`
/// See https://typst.app/universe/package/typpuccino
theme: theme.mocha,
/// This `page` dictionary is optional
page: (
/// The default page size is A4 in landscape orientation
width: 10in, /// The default page width is `297mm`
height: 6in, /// The default page height is `210mm`
),
/// This `text` dictionary is optional
text: (
/// This line is optional
/// The default Typst font is `"Libertinus Serif"`
font: "DejaVu Sans",
/// This line is optional (and commented out, here)
/// The default text color is taken from the color theme
// fill: white,
)
)
#set page(margin: 1cm)
This text will show up on a new page.
Explain your ranking here!
Mocha
Macchiato
Frappe
Latte
Acknowledgments
Tierpist uses the typpuccino package published by Nan Huang under the terms of the MIT License.
License
Tierpist is a free and open-source Typst package available under the terms of the MIT License.