lilypond-user
[Top][All Lists]
Advanced

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

Re: defining a \markup-only context ("Staff"?)


From: Tao Cumplido
Subject: Re: defining a \markup-only context ("Staff"?)
Date: Wed, 25 Jun 2008 19:21:25 +0200

Hi,

I have no experience in creating new contexts but maybe you can achieve what 
you want just using the Lyrics context.
I just made this small snippet, not sure though if it's what you're looking for.
One thing I noticed is that markup in lyricmode seems to need something to be 
attached to, be it note, rest or skip, even when using explicit durations.
I guess that could be a bug but I don't know how these things are supposed to 
work internally.



test = \lyricmode
{
        \markup { \italic "Olé" }2
        \markup { \bold "Oléeeeeeeeee" }2
        \markup { \column { "Olé" "Bla" } }1
}

<<
        \new Staff = "s" \new Voice = "v" { c'1*1/2 s2 c'1 }
        \new Lyrics \with { alignAboveContext = "s" }
        {
                \set associatedVoice = "v"
                \test
        }
>>

-------- Original-Nachricht --------
> Datum: Wed, 25 Jun 2008 12:29:13 -0400
> Von: Kieren MacMillan <address@hidden>
> An: "address@hidden lilypond-user" <address@hidden>
> Betreff: defining a \\markup-only context ("Staff"?)

> [Lilypond 2.11.49]
> 
> Hello all,
> 
> I'm trying to define a context which will act like a Staff, but will  
> only contain \markup objects (attached to skips). I may need to put  
> it above the rest of my GrandStaff, or possibly embed it (e.g.,  
> between the strings and the piano).
> 
> I've started with
> 
>       \context
>       {
>               \type "Engraver_group"
>               \name "ScriptLine"
>               \consists "Output_property_engraver"
>               \consists "Axis_group_engraver"
>               \consists "Text_engraver"
>       }
> 
> But regardless of where I put my ScriptLine context, it doesn't  
> trigger vertical spacing correctly -- in particular, it doesn't seem  
> to have any vertical extent, there are lots of collisions (i.e., it  
> overlaps with adjacent Staff contexts), and the \markup text (or  
> entire context?) always floats to the top of the GrandStaff that  
> contains it.
> 
> Without posting an example (which might be hard to reduce), is there  
> anything someone can see or suggest?
> 
> Thanks,
> Kieren.
> 
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




reply via email to

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