Keith OHara wrote > In the file scm/define-grobs.scm that is part of the distributed LilyPond, > there is a comment just before the setting that determines where the > bar number should go > ;; want the bar number before the clef at line start. > (break-align-symbols . (left-edge staff-bar)) > indicating that some thought went into the choice, > which might indicate that the choice was not obvious.
Thanks for sharing this information; as you say, it indeed shows that there was some thought behind this decision. Keith OHara wrote > It is the (unavoidably?) complicated method for setting objects on things > that might be line-breaks. > \override Score.BarNumber #'break-align-symbols = > #'(left-edge) % or maybe you prefer #'(staff-bar clef) > \override Score.BarNumber #'self-alignment-X = #LEFT > \override Score.Clef #'break-align-anchor-alignment = #LEFT Well, I don't think this is particularly complicated. Maybe it would be interesting to add some example to the snippet repository, which might be useful to other users who might be interested on this. This is how I usually write my bar numbers: bar_numbers_(italic,_small,_to_the_right).ly <http://lilypond.1069038.n5.nabble.com/file/n153853/bar_numbers_%28italic%2C_small%2C_to_the_right%29.ly> And I will add this code to the repository later. Thanks for your reply and take care, Gilberto -- View this message in context: http://lilypond.1069038.n5.nabble.com/Bar-numbers-position-tp153274p153853.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user