written 14 March 2025
someone asked me to help make a program to typeset "wugs" for them. apparently for a puzzle. it's pretty hilarious, check this out:
// setup code
#let bird(body) = {
image("wug.png", height: 6em)
place(
dx: -20pt,
dy: -25pt
)[#text(font: "Libertinus Serif", body, size: 14pt)]
}
#let birds(x) = {
let xx = x.map(it => [
#image("wug.png", height: 6em)
#place(
dx: -20pt,
dy: -25pt
)[#text(font: "Libertinus Serif", it, size: 14pt)]
])
xx.join([,])
}
// examples
${ #bird[tɹ̝̊], #bird[t̪θ], ... }$
$A subset.eq { #birds(("ʡʢ","dʑ","tꞎ")) }$