]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/spacing-space-to-barline.ly
Add newlines at EOF where appropriate.
[lilypond.git] / input / regression / spacing-space-to-barline.ly
1 \version "2.14.0"
2
3 \header {
4   texidoc = "When space-to-barline is false, we measure the space between the note and the
5 start of the clef. When space-to-barline is true, we measure the space between the note and
6 the start of the barline."
7 }
8
9 \paper {ragged-right = ##t}
10
11 {
12   \override Score.SpacingSpanner #'common-shortest-duration = #(ly:make-moment 1 16)
13   c'2 \clef bass c'2 \clef treble
14   \override NoteSpacing #'space-to-barline = ##f
15   c'2 \clef bass c'2 \clef treble
16
17   % the following two measures should be spaced identically
18   \override NoteSpacing #'space-to-barline = ##t
19   c'2 c'2
20   \override NoteSpacing #'space-to-barline = ##f
21   c'2 c'2
22   c'1
23 }