lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bar numbers at beginning of bar


From: Paul Scott
Subject: Re: bar numbers at beginning of bar
Date: Wed, 28 Jan 2009 02:44:34 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20081204 Iceape/1.1.14 (Debian-1.1.14-1)

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.

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
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user







reply via email to

[Prev in Thread] Current Thread [Next in Thread]