Grid lines: adding vertical lines between staves: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
No edit summary |
||
| Line 34: | Line 34: | ||
[[Category:Editorial annotations]] | [[Category:Editorial annotations]] | ||
[[Category:Really simple]] | [[Category:Really simple]][[Category:Snippet]] | ||
Revision as of 22:53, 21 November 2025
Vertical lines can be drawn between staves synchronized with the notes.
\version "2.24"
%% http://lsr.di.unimi.it/LSR/Item?id=424
\layout {
\context {
\Staff
\consists "Grid_point_engraver" %% active les guides
gridInterval = #(ly:make-moment 1/4)
}
\context {
\Score
\consists "Grid_line_span_engraver"
%% centre les lignes guides horizontalement sous les notes
}
}
\score {
\new ChoirStaff <<
\new Staff \relative c' {
\stemUp
c'4. d8 e8 f g4
}
\new Staff \relative c {
%% centre les lignes guides verticalement
\clef bass
\stemDown
c4 g' f e
}
>>
}