lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Align above "current" staff


From: Urs Liska
Subject: Align above "current" staff
Date: Sat, 7 Jul 2018 15:24:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

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 - or if it is explicitly named at all?

Urs


reply via email to

[Prev in Thread] Current Thread [Next in Thread]