lilypond-user
[Top][All Lists]
Advanced

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

Re: markup height measured from staff?


From: Kieren MacMillan
Subject: Re: markup height measured from staff?
Date: Sat, 9 Dec 2006 23:37:54 -0500

Hi, Mats et al.

Use the staff-padding property to specify the distance from the staff. However, even if you set the padding property to zero, LilyPond will not let the note head collide with the text
(unless you attach it to spacing note in a separate Voice context).

What about this?

\version "2.10.0"

staffMarkup = \once \override TextScript #'Y-offset = #3

music = \relative
{
        \staffMarkup c'''1^\markup{"test"}
        \staffMarkup c,1^\markup{"test"}
        \staffMarkup f'1^\markup{"test"}
        \staffMarkup b,1^\markup{"test"}
}

\score
{
        \music
}

Best,
Kieren.




reply via email to

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