[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bar number printed above the phrase (slur) curve
From: |
Patrick Karl |
Subject: |
Re: bar number printed above the phrase (slur) curve |
Date: |
Thu, 16 Dec 2010 10:39:39 -0600 |
>
> Message: 1
> Date: Thu, 16 Dec 2010 09:34:54 +0100
> From: Jan Warcho? <address@hidden>
> Subject: Re: bar number printed above the phrase (slur) curve
> To: MING TSANG <address@hidden>
> Cc: lilypond-user <address@hidden>
> Message-ID:
> <address@hidden>
> Content-Type: text/plain; charset=UTF-8
>
> 2010/12/16 MING TSANG <address@hidden>:
>>
>> 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
}