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 <[EMAIL PROTECTED]> > An: "lilypond-user@gnu.org lilypond-user" <lilypond-user@gnu.org> > 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 > lilypond-user@gnu.org > 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user