How to add tones above and below to lyrics?

I would like to recreate this

I have checked package and there are things for chords and also tested codex-woltiensis – Typst Universe but it has not this feature.

Thanks

Here’s one approach:

#let tone-above(it) = {
  box[
    #it
    #place(center+top, dy:-4pt)[^]
  ]
}
#let tone-below(it) = {
  box[
    #it
    #place(center+bottom, dy:5pt, rotate(180deg)[^])
  ]
}

He has pointed out the Dh#tone-below[a]mma: beautiful in the beg#tone-below[i]nning, beautiful in the m#tone-above[i]ddle, beautiful #tone-below[i]n the end.

You might replace the ^ character with an SVG file that better mimics the symbol you have in your example. You can play with the dx and dy arguments of place to get it positioned as you like.

worked very well thanks’

1 Like