lilypond-user
[Top][All Lists]
Advanced

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

How to get bar numbers very close to the staff?


From: Marc Mouries
Subject: How to get bar numbers very close to the staff?
Date: Mon, 29 Nov 2010 13:05:40 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6

I'd like to get bar numbers very close to the staff to avoid confusing them with fingering. Through Google i could find how to change the position UP or DOWN but i could not find how to reduce the space between the bar number and the staff.

Here is the snippet for testing i created.
% test bar number close to the staff to avoid confusion with fingering
\version "2.13.40"

melody = \relative c' { c1-1 c1_1 c'1-1 c'1-1 }

\score {
   \new Staff {
     % Layout Settings
     \override Score.BarNumber #'break-visibility = #all-visible
     \override Score.BarNumber #'font-size = #-4
     \override Score.BarNumber #'direction = #DOWN
     % Melody
      \melody
    }
}

--Marc

Attachment: test bar number close to staff.ly
Description: Text Data

Attachment: test bar number close to staff.pdf
Description: Adobe PDF document


reply via email to

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