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
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to