Hi Kieren, A TextSpanner is indeed what I needed. Thanks to everyone for the help.
This is what I have now: \textSpannerUp \override TextSpanner #'edge-text = #(cons (markup #:circle " " ) "") \override TextSpanner #'dash-fraction = #'() \override TextSpanner #'extra-offset = #'(0 . 0.5) Usage: <hh bd>8\startTextSpan[<hh bd>8] <hh sn>8[hh16 bd16] hh16[sn16 <hh bd>16 bd16] <hh sn>8[hh16 sn16\stopTextSpan] Regards, Frank. >----- Oorspronkelijk bericht ----- >Van: Kieren MacMillan [mailto:[EMAIL PROTECTED] >Verzonden: woensdag, december 5, 2007 03:44 PM >Aan: [EMAIL PROTECTED] >CC: lilypond-user@gnu.org >Onderwerp: Re: open hihat > >Hi Frank, > >> I'm doing a drum sheet in Lilypond and I would like to add the >> following notation on top of the hihat notes: O---------- to mark >> an open hihat. >> How to do this? I guess I need to define some \start... \stop... >> thing? > >I think a regular TextSpanner would do the trick... > >Hope this helps! >Kieren. >____________________________________ > >\version "2.11.33" >\paper{ ragged-right=##t } > >drumStuff = \relative >{ > \override TextSpanner #'dash-fraction = #1 > \override TextSpanner #'bound-details #'left #'text = \markup >{ \musicglyph #"scripts.open" \hspace #0.2 } c'4 c c c | > c\startTextSpan c c c | > c c\stopTextSpan c c >} > >\score >{ > << \drumStuff >> >} > > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user