help-gnu-music
[Top][All Lists]
Advanced

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

Mysterious context creation


From: Mats Bengtsson
Subject: Mysterious context creation
Date: Tue, 05 Dec 2000 23:26:00 +0100

What happens in the example below?
The lyrics line appears above the music staff 
as soon as I add the property setting.

I know the solution, namely to explicitly create
the Staff context, but I can't understand what's
going on.

      /Mats

\version "1.3.113"
\score {
  \addlyrics
    \notes\relative c' {
    % The following line makes the lyrics appear above the staff!
    \property Score.TextScript \override #'padding = #5
    % Changing Score -> Staff helps, 
    % so does an explicit \context Staff declaration above.
%    \property Staff.TextScript \override #'padding = #5
    c1^"abc" | 
    d^"def" 
  }
  \context Lyrics = mylyrics \lyrics {
    Text text }
  \paper{}
}



reply via email to

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