]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/grid-lines.ly
Make the length of beamlets configurable.
[lilypond.git] / input / regression / grid-lines.ly
1 \header
2 {
3
4   texidoc = "With grid lines, vertical lines can be drawn between
5 staves synchronized with the notes."
6
7 }
8 \version "2.11.51"
9
10 skips =
11 {
12   \time 12/8
13   \once  \override Score.GridLine #'thickness = #4.0
14   s8 
15   s8 
16   s8 
17   \once  \override Score.GridLine #'thickness = #3.0
18   s8 
19   s8 
20   s8 
21   \once  \override Score.GridLine #'thickness = #4.0
22   s8 
23   s8 
24   s8 
25   \once  \override Score.GridLine #'thickness = #3.0
26   s8 
27   s8 
28   s8 
29 }
30
31
32 \layout {
33   \context {
34     \Staff
35     \consists "Grid_point_engraver"
36     
37   }
38
39   \context {
40     \RhythmicStaff
41     \consists "Grid_point_engraver"
42     \override VerticalAxisGroup #'minimum-Y-extent = #'(-4 . 4) 
43     gridInterval = #(ly:make-moment 1 8)
44     \override BarLine #'bar-size = #0.05
45   }
46   \context {
47     \StaffGroup
48     \remove "System_start_delimiter_engraver" 
49   }
50 }
51
52 \layout {
53   ragged-right = ##t
54 }
55 \new Score 
56 \with {
57   \consists "Grid_line_span_engraver"
58   \override SystemStartBrace #'transparent = ##t
59
60   \override NoteColumn #'X-offset = #-0.5
61   \override NoteHead #'Y-offset = #0.75
62
63 }
64 \new StaffGroup <<
65   \new RhythmicStaff \with
66   {
67     \override NoteHead  #'no-ledgers = ##t
68   }
69   {
70     \stemUp
71     c4. c8 c8 c c4 c8 c8.[ c16 c8]
72   }
73   \new RhythmicStaff
74   {
75     \override NoteHead #'transparent = ##t
76     \override NoteHead #'no-ledgers = ##t
77     \override Stem #'transparent = ##t
78     \override Beam #'transparent = ##t
79     << \skips
80
81                                 % force regular spacing by introducing notes.
82        \repeat unfold 12 c8
83      >>
84   }
85   
86 >>
87