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: Maximilian Albert
Subject: Re: score imbedded in markup text (in-line)
Date: Mon, 01 Oct 2007 18:36:52 +0200
User-agent: Mozilla-Thunderbird 2.0.0.4 (X11/20070828)

Mats Bengtsson schrieb:

snip = \markup {
   \score
   { \new Staff \with {
       \remove Time_signature_engraver
       firstClef = ##f
       }
       {  << c''4\\ a' >> }
       \layout { indent = #0 ragged-right = ##t }
       }
}
\markup {
 {
   foo
   \general-align #Y #CENTER \snip
 }
}

Nice solution. Thanks for the explanation, Mats!

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

Max




reply via email to

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