On 24 October 2010 10:47, Herbert Liechti <[email protected]> wrote:
>
> Hello
> I like to write a rhythm mark as in the attached picture. I found some
> examples in LSR for swing but not for this kind of marks.
> Any ideas on how to do that?
Hi!
Since one can include a whole \score inside a \markup , we can define
a special \tempo \markup whith a customized score inside.
@James:
I started from a Staff because I do not think it is possible to put
notes elsewhere than _on_ the line within RhythmicStaff (i.e. not just
below or above, like in the picture).
rhythmicMark =
\once \override Score.MetronomeMark #'break-align-symbols = #'(clef)
\tempo \markup {
\score {
\new Staff \with {
drumStyleTable = #percussion-style
\override StaffSymbol #'line-count = #1
\override BarLine #'bar-size = #3
\override Clef #'stencil = ##f
} {
\relative b' {
\time 9/8
\set Timing.beatStructure = #'(2 2 2 3)
a8 c a8 c a8 c a8 c c
}
}
\layout {
#(layout-set-staff-size 14)
}
}
}
\score {
<<
\new Staff {
\relative f' {
\key f \minor
\time 9/8
\set Timing.beatStructure = #'(2 2 2 3)
\rhythmicMark
r8 c8 f aes c c bes4 aes8
}
}
>>
}
Cheers,
Xavier
--
Xavier Scheuer <[email protected]>
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user