lilypond-user
[Top][All Lists]
Advanced

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

automatically adjust bar numbers upwards


From: Neil Thornock
Subject: automatically adjust bar numbers upwards
Date: Tue, 30 Aug 2011 14:21:51 -0600

Hi all,
By default, it appears that bar numbers, in order to occupy their
horizontal space, will push measure content to the right if necessary.
 In the code below, the C that begins measure 2 begins some way into
the measure to allow room for the huge number 2.  This gets very ugly
in my orchestra score, where only 3 staves in the system have bar
numbers.

{
    \override Score.BarNumber #'break-visibility = #'#(#f #t #t)
    \override Score.BarNumber #'font-size = #7
    \override Score.BarNumber #'self-alignment-X = #LEFT
    c'''1 c'''4 c''' c''' c'''
}

I'd like the measure number to be offset upwards so as not to impact
horizontal spacing.  I can do it manually every time it occurs; but
I'm wondering if there's a way to automatically set some behavior
where the bar number moves itself up, rather than moving everything
else to the right.  (I assume this is Scheme-able?)

Thanks!
Neil

-- 
Neil Thornock, D.M.
No Stopping, Standing, or Parking:
http://neilthornock.net/mp3s/nostopping.mp3
Assistant Professor of Music
Composition/Theory
Brigham Young University



reply via email to

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