p
pixel-family
@previewInline pixel art characters for Typst — drop them into text like emoji
v0.2.1
MIT
Pixel Family
Inline pixel art characters for Typst, rendered as native vector graphics. Drop them into running text like emoji.
Meet the Family
Their names come from the cast of cryptography: Alice and Bob exchange secret messages, Eve eavesdrops, Frank forges signatures, Grace certifies keys, Trent arbitrates, Mallory attacks, and Victor verifies.
Vote for your favorite character!
Quick Start
#import "@preview/pixel-family:0.2.1": *
Hello #bob() and #alice() are talking while #eve() listens.
Characters default to 1em and center-align with surrounding text. Pass size for explicit sizing:
#bob(size: 3cm)
Use baseline: 0pt for bottom alignment:
#bob(size: 3cm, baseline: 0pt)
Color Customization
Every character accepts skin, hair, shirt, and pants:
#bob(size: 3cm, hair: blue, shirt: red)
#alice(size: 3cm, hair: black, shirt: green)
Built-in skin tone presets: skin-default, skin-light, skin-medium, skin-dark.
License
MIT