|
From: | Trevor Daniels |
Subject: | Re: How to set different bar number format every nth bar? |
Date: | Fri, 15 Oct 2010 22:03:39 +0100 |
Antheo wrote Friday, October 15, 2010 9:49 PM
Anyone would have any idea how to accomplish this?
I'm sure someone would have replied by now if they knew how to do it. Since it's not possible to tell in a music function which measures are going to be placed at the beginning of each line this could be quite difficult to do in general. But if you are going to force 6 measures per line and everything is regular, you could write a music function which takes the music to a measure as argument, and overrides and reverts the font size around the music, and then use that for every sixth measure. Trevor
Antheo wrote:I'd like to have bar numbers printed on every bar with the first barnumber of each line bigger.I'd like to find if there is any way to set different bar number formatwith a function rather than inline with the music.I'd like to avoid to reset the bar number format for each staff like:\score { % set the size of the first bar number larger \override Score.BarNumber #'font-size = #-2 c d e f | % 1st measure % 5th other measures on the same staff \override Score.BarNumber #'font-size = #-4 g a b c | c d e f | g a b c | c d e f | g a b c | % and so on... }I've seen Neil's music function to set the visibility of the bar number every odd measure but don't think this can be reused to set the font size.links to documentation i may have missed or scheme functions are welcome._______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user--View this message in context: http://old.nabble.com/How-to-set-different-bar-number-format-every-nth-bar--tp29888078p29975345.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com._______________________________________________ lilypond-user mailing list address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |