> > Message: 1 > Date: Thu, 16 Dec 2010 09:34:54 +0100 > From: Jan Warcho? <lemniskata.bernoulli...@gmail.com> > Subject: Re: bar number printed above the phrase (slur) curve > To: MING TSANG <tsan...@rogers.com> > Cc: lilypond-user <lilypond-user@gnu.org> > Message-ID: > <aanlktinwhbcksuogosnjyskua3g4vpya8dgeog2si...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > 2010/12/16 MING TSANG <tsan...@rogers.com>: >> >> Is it possible to line up all bar number just above the staff / bar line, >> especially bar 2, 4 and 5 which is on top of the phrase curve? >> >> Here is a simpler example. >> [65 lines of code] > > A proper tiny example for your question would > be something like this (i wrote it in less than a minute): > > \version "2.13.40" > \relative c''{ > \override Score.BarNumber #'break-visibility = #'#(#t #t #t) > \stemUp \slurUp e e e( e | e e) e e > } > > Now back to the problem. I hoped that adding this > > \override BarNumber #'avoid-slur = #'inside > \override BarNumber #'outside-staff-priority = ##f > > would solve it (similarly to the example in Learning Manual 4.4.3), > but it doesn't. > I also tried adding some Y-offset, but it doesn't work at all - a bug? > see this, the bar number doesn't move at all: > > \version "2.13.40" > \relative c''{ > \override BarNumber #'Y-offset = #5.0 > c c c c \break c c c c > } > > My knowledge ends here. Can anyone wiser than me use my tiny example > of Ming's problem and solve it?
I think I get satisfactory results with: \version "2.12.3" \relative c''{ \override Score.BarNumber #'break-visibility = #'#(#t #t #t) \override Score.BarNumber #'outside-staff-priority = ##f \override Score.BarNumber #'Y-offset = #-2.4 \stemUp \slurUp e e e( e | e e) e e } _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user