Paul Scott wrote:
Mats Bengtsson wrote:
I don't understand what you mean, can you provide an example?
Thanks for answering, Mats. With the following code the bar number
displaces the notes in each bar to the right. If I remove the two
self-alignment-X overrides the bar number does not displace any music.
Ok. If I apply some padding and increase the outside-staff-priority I
can solve the initial displacement of the music. In some cases the
padding would have to be a lot. I have changed the
outside-staff-priority below to as much as 400. It would seem that a
high outside-staff-priority would solve this without needing the
padding. When I can I will post an example that seems to show that
outside-staff-priority works sometimes but padding is needed at other times.
Paul
\version "2.12.1"
numberEveryBar = {
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\set Score.barNumberVisibility = #(every-nth-bar-number-visible 1)
\override Score.BarNumber #'outside-staff-priority = #1
\override Score.BarNumber #'font-size = #-2
\override Score.BarNumber #'self-alignment-X = #-1
}
barNumberDown = {
\override Score.BarNumber #'direction = #DOWN
\override Score.BarNumber #'outside-staff-priority = #1
\override Score.BarNumber #'font-size = #-2
\override Score.BarNumber #'self-alignment-X = #-1
}
\relative c'' {
\numberEveryBar \barNumberDown
\repeat unfold 52 c2
\set Score.currentBarNumber = #100
\repeat unfold 48 c4
}
/Mats
Paul Scott wrote:
Hi,
12.2.1
When numbering all bars the default bar numbers seem to be at the
end of the previous bar which is confusing to the reader. When I use
\override Score.BarNumber #'self-alignment-X = #-1
to try to make these less confusing to the reader *sometimes* the
music above the bar numbers is moved to the right which looks ugly.
Is there another way to move the bar numbers without moving the music?
Thanks,
Paul Scott
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user