Half and whole rests with no staff lines
I'm making some rhythm exercises for my piano students with no staff lines (which is the way it is usually done in piano methods). Everything looks fine except for the half and whole rests which don't have the traditional little extra lines above and below them to make them distinguishable. Can anyone point me to a way to add these? \version "2.16.1" \new Staff \relative c'' { \override Staff.Clef #'stencil = ##f \override Staff.StaffSymbol #'stencil = ##f g4 g r2 | r1 | g2 r | \bar "|." } Thanks, Michael -- View this message in context: http://lilypond.1069038.n5.nabble.com/Half-and-whole-rests-with-no-staff-lines-tp143198.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Half and whole rests with no staff lines
Hello Michael, Hmm, I'm not sure if you can add those lines to the rests; I always thought LilyPond used the staff lines as a sort of a "home base" to decide where to place the rest (either above or below the line as needed), according to its duration --> half / whole. I know you can change the style of rests (like normal, classical, etc) but that too doesn't add the lines you are looking for either. I guess worst case: you could just add them in Inkscape post-LilyPond? That's perfectly doable, just add the lines manually - though not ideal, but maybe someone can post here a simpler way to do what you're asking right in LilyPond. Sorry, I wish I could help more. Best of luck. Ben Michael Rivers wrote > I'm making some rhythm exercises for my piano students with no staff lines > (which is the way it is usually done in piano methods). Everything looks > fine except for the half and whole rests which don't have the traditional > little extra lines above and below them to make them distinguishable. Can > anyone point me to a way to add these? > > \version "2.16.1" > > \new Staff > \relative c'' { > \override Staff.Clef #'stencil = ##f > \override Staff.StaffSymbol #'stencil = ##f > g4 g r2 | r1 | g2 r | \bar "|." } > > Thanks, > Michael ----- composer | sound designer -- View this message in context: http://lilypond.1069038.n5.nabble.com/Half-and-whole-rests-with-no-staff-lines-tp143198p143199.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Half and whole rests with no staff lines
Michael Rivers writes: > I'm making some rhythm exercises for my piano students with no staff lines > (which is the way it is usually done in piano methods). Everything looks > fine except for the half and whole rests which don't have the traditional > little extra lines above and below them to make them distinguishable. Can > anyone point me to a way to add these? > > \version "2.16.1" > > \new Staff > \relative c'' { > \override Staff.Clef #'stencil = ##f > \override Staff.StaffSymbol #'stencil = ##f > g4 g r2 | r1 | g2 r | \bar "|." } > > Thanks, > Michael \new Staff \relative c'' { \override Staff.Clef #'stencil = ##f \override Staff.StaffSymbol #'line-count = 0 \override Staff.BarLine #'bar-extent = #'(-2 . 2) g4 g r2 | r1 | g2 r | \bar "|." } -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Half and whole rests with no staff lines
David for the win! :) dak wrote > Michael Rivers < > michaeljrivers@ > > writes: > >> I'm making some rhythm exercises for my piano students with no staff >> lines >> (which is the way it is usually done in piano methods). Everything looks >> fine except for the half and whole rests which don't have the traditional >> little extra lines above and below them to make them distinguishable. Can >> anyone point me to a way to add these? >> >> \version "2.16.1" >> >> \new Staff >> \relative c'' { >> \override Staff.Clef #'stencil = ##f >> \override Staff.StaffSymbol #'stencil = ##f >> g4 g r2 | r1 | g2 r | \bar "|." } >> >> Thanks, >> Michael > > \new Staff > \relative c'' { > \override Staff.Clef #'stencil = ##f > \override Staff.StaffSymbol #'line-count = 0 > \override Staff.BarLine #'bar-extent = #'(-2 . 2) > g4 g r2 | r1 | g2 r | \bar "|." } > > -- > David Kastrup > > > ___________________ > lilypond-user mailing list > lilypond-user@ > https://lists.gnu.org/mailman/listinfo/lilypond-user - composer | sound designer -- View this message in context: http://lilypond.1069038.n5.nabble.com/Half-and-whole-rests-with-no-staff-lines-tp143198p143202.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user