Re: Bar number under beam
Thanks Aaron I can work with this Damian > On 18 Aug 2018, at 18:16, Aaron Hill 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 > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bar number under beam
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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bar number under beam
Hi I want bar 15 the same hight as bar 14 Damian > On 18 Aug 2018, at 17:20, Ben wrote: > > On 8/18/2018 11:55 AM, damianlegassick wrote: >> Hi all >> >> I want the bar numbers to remain close to the staff but things aren’t >> working for me if I beam across the carline with overridden beam positions. >> >> Any clues? >> >> Thanks as always >> >> Damian >> >> { >> \version "2.19.82" >> \set Score.timing = ##f >> \autoBeamOff >> \voiceOne >> \override BarNumber.outside-staff-priority = #0 >> \override Score.BarNumber.break-visibility = ##(#t #t #t) >> \set Score.currentBarNumber = #14 \bar "" >> \override Beam.positions = #'(8 . 8) >> c''8[ >> \bar "|" >> \set Score.currentBarNumber = #15 >> d''8] >> } >> > > Hello! > > Do you want the bar number to be directly under the beam as close as > possible, or under the measure itself one-time (i.e. \once \override > Score.BarNumber.Y-offset / X-offset)? > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Bar number under beam
On 8/18/2018 11:55 AM, damianlegassick wrote: Hi all I want the bar numbers to remain close to the staff but things aren’t working for me if I beam across the carline with overridden beam positions. Any clues? Thanks as always Damian { \version "2.19.82" \set Score.timing = ##f \autoBeamOff \voiceOne \override BarNumber.outside-staff-priority = #0 \override Score.BarNumber.break-visibility = ##(#t #t #t) \set Score.currentBarNumber = #14 \bar "" \override Beam.positions = #'(8 . 8) c''8[ \bar "|" \set Score.currentBarNumber = #15 d''8] } Hello! Do you want the bar number to be directly under the beam as close as possible, or under the measure itself one-time (i.e. \once \override Score.BarNumber.Y-offset / X-offset)? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user