lilypond-user
[Top][All Lists]

## 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).
```
```

\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.

```