]> git.donarmstrong.com Git - lilypond.git/blob - input/test/spacing-optical.ly
fix keep-inside-line on the left side (issue #130)
[lilypond.git] / input / test / spacing-optical.ly
1
2 \header {
3 texidoc  = "Stem directions and head positions are taken into account for spacing "
4
5 }
6
7 \version "2.7.39"
8
9 \paper {
10   ragged-right = ##t
11   indent = #0.0
12 }
13
14 music = {
15    c'4 e''4 e'4 b'4 |
16    \stemDown
17    b'8[ e'' a' e'']
18    \stemNeutral
19    e'8[ e'8 e'8 e'8]  
20 }
21
22
23
24 \score
25 {
26   \music
27   \layout {
28     \context {
29       \Staff
30       \override NoteSpacing #'stem-spacing-correction = #0.6
31     }
32   }
33 }
34
35 \score
36 {
37   \music
38   \layout {
39     \context {
40       \Staff
41       \override NoteSpacing #'stem-spacing-correction = #0.0
42       \override NoteSpacing #'same-direction-correction = #0.0
43       \override StaffSpacing #'stem-spacing-correction = #0.0
44     }
45   }
46 }