Urs Liska <[email protected]> writes: > Hi all, > > I want a music function to produce an ossia staff. The NR states that > in order to place that above alignAboveContext should be used: > > \new Staff = "main" \relative { > c''4 b d c > << > { c4 b d c } > > \new Staff \with { > \remove "Time_signature_engraver" > alignAboveContext = #"main" > \magnifyStaff #2/3 > firstClef = ##f > } > { e4 d f e } > >> > c4 b c2 > } > > But is that also possible when I (or my music-function) doesn't know > the staff's name
You can use \applyContext for getting it before you initiate your own (hopefully uniquely named) Staff. -- David Kastrup _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
