[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A little help
From: |
K. Blum |
Subject: |
Re: A little help |
Date: |
Sun, 27 Feb 2022 13:24:24 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 |
Hi Rip_Mus,
Am 27.02.2022 um 12:23 schrieb Rip _Mus:
Yes, I tried to use the grid point-grid line engravers, but they write
segments that spread over the entire system...
Ah, I see. They spread between the center staff lines.
But it seems you can change that by modifying GridPoint.Y-extent. Does
that help?
Cheers,
Klaus
%---------------------------------------------------
\version "2.22.1"
su = \new Staff = "su" {
\relative c' {c4 d e f}
}
giu = \new Staff = "giu" {
\relative c' { b4 a g f }
}
\score {
\new PianoStaff <<
\su
\giu
>>
}
\layout {
\context {
\Staff
% set up grids
\consists "Grid_point_engraver"
% set the grid interval to one quarter note
gridInterval = #(ly:make-moment 1/4)
}
\context {
\Score
\consists "Grid_line_span_engraver"
% this moves them to the right half a staff space
\override NoteColumn.X-offset = #-0.5
% limit the vertical extent:
\override GridPoint.Y-extent = #'(3.0 . -4.0)
}
}
%---------------------------------------------------
- Re: A little help, K. Blum, 2022/02/27
- Message not available
- Re: A little help,
K. Blum <=