Re: automatic bar number following multimeasure rest
Klaus, I haven't tested that. I'm sure it probably works. Unfortunately, this is what I was trying not to do. My reason for wanting an automatic solution is for making rehearsals easier for parts with lots of rests. Start at measure x, can be a bother with many blocks of multi-measure rests. With many parts to deal with a manual solution ends up being rather labor intensive. -David - Original Message - From: Klaus Blum benbigno...@gmx.de To: lilypond-user@gnu.org Sent: Sunday, August 16, 2015 12:07:59 PM Subject: Re: automatic bar number following multimeasure rest Hi David, I don't know an automatic solution, but would it be interesting to set it manually? % -- \version 2.18.2 showBarnum = { \once \override Score.BarNumber.break-visibility = #end-of-line-invisible \once \override Score.BarNumber.self-alignment-X = #LEFT % maybe improves readability... } \relative c' { c1 c c c c c c c c c c c c c c c c1 c c c c c c c c c c c c c c f \showBarnum c1 c c c c c c c c c c c c c c c } % -- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/automatic-bar-number-following-multimeasure-rest-tp179671p179676.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 ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic bar number following multimeasure rest
Hi David, I don't know an automatic solution, but would it be interesting to set it manually? % -- \version 2.18.2 showBarnum = { \once \override Score.BarNumber.break-visibility = #end-of-line-invisible \once \override Score.BarNumber.self-alignment-X = #LEFT % maybe improves readability... } \relative c' { c1 c c c c c c c c c c c c c c c c1 c c c c c c c c c c c c c c f \showBarnum c1 c c c c c c c c c c c c c c c } % -- Cheers, Klaus -- View this message in context: http://lilypond.1069038.n5.nabble.com/automatic-bar-number-following-multimeasure-rest-tp179671p179676.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: automatic bar number following multimeasure rest
2015-08-16 13:27 GMT+02:00 bobr...@centrum.is bobr...@centrum.is: Is there a way to automatically have a measure number printed after a multi-measure rest? I mean, aside from/in addition to the default behavior of placing them at the beginning of a system. I did try searching for a solution but did not find anything. How about: \version 2.18.2 tst = #(define-music-function (parser location music)(ly:music?) (music-map (lambda (m) (if (equal? (ly:music-property m 'name) 'MultiMeasureRestMusic) #{ $m \once \override Score.BarNumber.break-visibility = ##(#f #t #t) \once \override Score.BarNumber.self-alignment-X = #CENTER #} m)) music)) \tst { \compressFullBarRests c''1 R1*20 c'' \break c'' } Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic bar number following multimeasure rest
Yes! Nice! Thank you! -David - Original Message - From: Thomas Morley thomasmorle...@gmail.com To: bobr...@centrum.is Cc: Lillypond Users Mailing List lilypond-user@gnu.org Sent: Sunday, August 16, 2015 1:47:30 PM Subject: Re: automatic bar number following multimeasure rest 2015-08-16 13:27 GMT+02:00 bobr...@centrum.is bobr...@centrum.is: Is there a way to automatically have a measure number printed after a multi-measure rest? I mean, aside from/in addition to the default behavior of placing them at the beginning of a system. I did try searching for a solution but did not find anything. How about: \version 2.18.2 tst = #(define-music-function (parser location music)(ly:music?) (music-map (lambda (m) (if (equal? (ly:music-property m 'name) 'MultiMeasureRestMusic) #{ $m \once \override Score.BarNumber.break-visibility = ##(#f #t #t) \once \override Score.BarNumber.self-alignment-X = #CENTER #} m)) music)) \tst { \compressFullBarRests c''1 R1*20 c'' \break c'' } Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic bar number following multimeasure rest
Am 16.08.2015 um 15:27 schrieb bobr...@centrum.is: Klaus, I haven't tested that. I'm sure it probably works. Unfortunately, this is what I was trying not to do. My reason for wanting an automatic solution is for making rehearsals easier for parts with lots of rests. Start at measure x, can be a bother with many blocks of multi-measure rests. Normally, one would use rehearsal marks to circumvent that: http://lilypond.org/doc/v2.18/Documentation/notation/bars#rehearsal-marks HTH, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: automatic bar number following multimeasure rest
Hello Harm, Thanks a lot, that solves a problem I had too! JM Le 16 août 2015 à 15:47, Thomas Morley thomasmorle...@gmail.com a écrit : 2015-08-16 13:27 GMT+02:00 bobr...@centrum.is bobr...@centrum.is: Is there a way to automatically have a measure number printed after a multi-measure rest? I mean, aside from/in addition to the default behavior of placing them at the beginning of a system. I did try searching for a solution but did not find anything. How about: \version 2.18.2 tst = #(define-music-function (parser location music)(ly:music?) (music-map (lambda (m) (if (equal? (ly:music-property m 'name) 'MultiMeasureRestMusic) #{ $m \once \override Score.BarNumber.break-visibility = ##(#f #t #t) \once \override Score.BarNumber.self-alignment-X = #CENTER #} m)) music)) \tst { \compressFullBarRests c''1 R1*20 c'' \break c'' } Cheers, Harm ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user