lilypond-user
[Top][All Lists]
Advanced

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

Re: Bar number under beam


From: damianlegassick
Subject: Re: Bar number under beam
Date: Mon, 20 Aug 2018 11:55:40 +0100

Thanks Aaron

I can work with this

Damian

> On 18 Aug 2018, at 18:16, Aaron Hill <address@hidden> wrote:
> 
> On 2018-08-18 09:25, damianlegassick wrote:
>> I want bar 15 the same hight as bar 14
> 
> {
>  \version "2.19.82"
>  \set Score.timing = ##f
>  \autoBeamOff
>  \voiceOne
>  \override BarNumber.outside-staff-priority = #0
>  \override Stem.outside-staff-priority = #1
>  \override Beam.outside-staff-priority = #1
>  \override Score.BarNumber.break-visibility = ##(#t #t #t)
>  \set Score.currentBarNumber = #14 \bar ""
>  \override Beam.positions = #'(8 . 8)
>  c''8[
>  \bar "|"
>  \once \override Score.BarNumber.self-alignment-X = #0.33
>  \set Score.currentBarNumber = #15
>  d''8]
> }
> 
> It's probably a little bit of a hack, but changing the 
> `outside-staff-priority` of stems and beams so that bar numbers have priority 
> allows the number to stick close to the staff.  However, then there is an 
> overlap issue with the stem.  Changing `self-alignment-X` to be closer to 
> centered seems to help a bit.
> 
> 
> -- Aaron Hill
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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