lilypond-user
[Top][All Lists]
Advanced

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

Re: score imbedded in markup text (in-line)


From: Mats Bengtsson
Subject: Re: score imbedded in markup text (in-line)
Date: Tue, 02 Oct 2007 09:40:08 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

Quoting Maximilian Albert <address@hidden>:
> In the example, I have also changed the vertical alignment, to
> make it look better. You may want to try \general-align #Y #DOWN
> instead.

... or even some value in between like \general-align #Y #-0.2 so as to make the text appear at about the height of the middle staff line, in case this is what you want (though unfortunately the value -0.2 was obtained by trial and error).

There's no need for trial and error. If you want the text exactly
centered with the music, then you can use

\markup {
 {
   \general-align #Y #CENTER foo
   \general-align #Y #CENTER \snip
 }
}

which sets the alignment point of both the text and the \snip
on the vertical of the respective markup. What my previous suggestion does is to align the baseline of the text with the center of \snip, which explains why the text ended up slightly too high, in your opinion.

  /Mats





reply via email to

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