2014-02-26 10:35 GMT+01:00 Carlo Vanoni <vanoniiscrizi...@yahoo.it>:

> I would like to reproduce this layout:
>
>
> http://d29ci68ykuu27r.cloudfront.net/product/Look-Inside/large/2965619_02.jpg
>
> As you can see, there is a well aligned "1  2  3  4" beat count above the
> measures. Sometimes an even more useful "1 + 2 + 3 + 4 +" count is used,
> with hints on the octave notes, too.
> Is there a way to get this with LilyPond?
> I thought about using markup on hidden notes, but maybe there is a more
> standard way to do it.
>
>
Hi Carlo,

Try this :

\version "2.18.0"

\score {

<<

\new RhythmicStaff

\with {

\override VerticalAxisGroup.default-staff-staff-spacing = #'(())

}

{

\repeat unfold 2 { s4^1 s^2 s^3 s^4 }

\repeat unfold 2 { s8^1 s^"+" s^2 s^"+" s^3 s^"+" s^4 s^"+" }

}

\new Staff

 \relative c'' {

\set Score.proportionalNotationDuration = #(ly:make-moment 1/4)

\override NoteHead #'style = #'slash

\override NoteHead #'font-size = #-4

c4 r r2

r4 c r2

\set Score.proportionalNotationDuration = #(ly:make-moment 1/8)

r2 c4 r

r2 r4 c

}

>>

\layout {

\context {

\RhythmicStaff

\remove "Time_signature_engraver"

\remove "Clef_engraver"

\override BarLine #'transparent = ##t

\override StaffSymbol #'line-count = #0

}

}

}


HTH
Pierre
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to