Next: , Previous: Balloon help, Up: Outside the staff


1.7.2.2 Grid lines

Vertical lines can be drawn between staves synchronized with the notes.

     
     \layout {
       \context {
         \Staff
         \consists "Grid_point_engraver" %% sets of grid
         gridInterval = #(ly:make-moment 1 4)
       }
     }
     
     \new Score \with {
       \consists "Grid_line_span_engraver"
       %% centers grid lines  horizontally below note heads
       \override NoteColumn #'X-offset = #-0.5
     }
     
     \new ChoirStaff <<
       \new Staff {
         \stemUp
         \relative {
           c'4. d8 e8 f g4
         }
       }
       \new Staff {
         %% centers grid lines  vertically
         \override Score.GridLine #'extra-offset = #'( 0.0 . 1.0 )
         \stemDown
         \clef bass
         \relative c {
           c4  g'  f  e
         }
       }
     >>

[image of music]

See also

Snippets: Editorial .


Next: , Previous: Balloon help, Up: Outside the staff

Diese Seite ist für LilyPond-2.11.40 (Entwicklungszweig).

Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.

Ihre Vorschläge für die Dokumentation sind willkommen.

Andere Sprachen: français, español.