Hi Jacques, don't know if this is correct, but if you use
\override DrumStaff.StaffSymbol.line-count = 1 instead of \override Staff.StaffSymbol.line-count = 1 You will get a one line drumstaff, but the next staff will be a five lines one. I did get these exceptions using DrumStaff. DrumStaff don't take overrides or settings from Staff context. Seems that we should always needs to specify most of context in the particular DrumStaff one.. Hope this helps.. (and hope this is not a stupidity i am saying here.) Best K On Tue, Jun 12, 2018 at 04:12:31PM -0400, [email protected] wrote: > Send lilypond-user mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/lilypond-user > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of lilypond-user digest..." > > > Today's Topics: > > 1. DrumStaff question (Menu Jacques) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 12 Jun 2018 22:12:22 +0200 > From: Menu Jacques <[email protected]> > To: lilypond-user Mailinglist <[email protected]> > Cc: Menu Jacques <[email protected]> > Subject: DrumStaff question > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Hello folks, > > I can?t seem to get why the code below produces an empty 5-line first staff. > Thanks for your help! > > > > JM > > > %%%%%%%%%%%% > > \version "2.19.80" > > \header { > title = "basic/UnpitchedTuplet.xml" > software = "MuseScore 2.0.3.1" > encodingDate = "2017-05-20" > } > > \paper { > indent = 3\cm > } > > \layout { > \context { > \Score > autoBeaming = ##f % to display tuplets brackets > } > } > > P_PFour_Staff_One_Voice_One = \relative { > \language "nederlands" > \key c \major > \clef "percussion" > > \stopStaff > \override Staff.StaffSymbol.line-count = 1 > \startStaff > \numericTimeSignature \time 4/4 > \stemDown e4 r \once \omit TupletBracket > \tuplet 3/2 { e8 [ :16 e e ] } > \once \omit TupletBracket > \tuplet 3/2 { e8 [ :16 e e ] } > > \bar "|." | > } > > \score { > << > > \new DrumStaff = "P_PFour_Staff_One" > \with { > instrumentName = "Snare Drum 4" > shortInstrumentName = "Sn. Dr." > } > \drummode > {%<< > \context Voice = "P_PFour_Staff_One_Voice_One" << > \P_PFour_Staff_One_Voice_One > >> > }% >> > >> > > \layout { > \context { > \Score > } > } > > \midi { > \tempo 4 = 90 > } > } > > > %%%%%%%%%%%% > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.gnu.org/archive/html/lilypond-user/attachments/20180612/887039fc/attachment.html> > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: PastedGraphic-1.tiff > Type: image/tiff > Size: 17304 bytes > Desc: not available > URL: > <http://lists.gnu.org/archive/html/lilypond-user/attachments/20180612/887039fc/attachment.tiff> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > lilypond-user mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/lilypond-user > > > ------------------------------ > > End of lilypond-user Digest, Vol 187, Issue 40 > ********************************************** -- Karim Haddad email : [email protected] webpage : http://karim.haddad.free.fr _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
