> On 25 Dec 2025, at 00:37, Stefan E. Mueller <[email protected]> wrote:
>
> Hi,
>
> I have a RhythmicStaff above a group of Staff, ChordNames and TabStaff. While
> I would like the Staff, ChordNames and TabStaff to be connected with a
> vertical line at the start of the group (as it seems to be the default),
> I would like to remove the vertical line at the start which connects the
> RhythmStaff with the Staff system below. Also I would like to find out if it
> is possible to bring the RhythmStaff closer to the Staff system, as right now
> there is a lot of empty space between the two systems.
>
> ...
>
Your example adjusted to get the described layout (on 2.24.4, as I don’t have
the development version of lilypond installed, but I expect it also will work
on 2.25)
%%% SNIPPET START
\version "2.24.4"
%% Exlicitly instantiate the Score level and remove its
System_start_delimiter_engraver to not have a start-bar connecting the rhythmic
staff to the other staves
\new Score \with {
\remove System_start_delimiter_engraver
}
<<
\new RhythmicStaff \with {
% to bring RhythmicStaff closer to your staff group customize its
staf-staff-spacing
\override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 1)
(minimum-distance . 1)
(padding . 1))
}
{
\override Staff.StaffSymbol.transparent = ##t
\override Staff.TimeSignature.stencil = ##f
\improvisationOn
c8 c16 c16~ c16 c16 c16 c16 c8 c16 c16~ c16 c16 c16 c16|
}
% create a nested staff group for the staves you want connected by the
SystemStartBar and override its
% start delimiter to 'SystemStartBar
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartBar
}
<<
\new Staff
{
\clef "treble_8"
\key c \major \set tieWaitForNote = ##t
\time 4/4
c'2 d'2
}
\new ChordNames
{
\chordmode { c2 d2:m |}
}
\new TabStaff {
{ c'2 d'2 }
}
>>
>>
%%% SNIPPET END
Some references
Internals reference for Score context
https://lilypond.org/doc/v2.24/Documentation/internals/score
Internals reference for StaffGroup context
https://lilypond.org/doc/v2.24/Documentation/internals/staffgroup
Internals reference for VerticalAccesGroup layout object
https://lilypond.org/doc/v2.24/Documentation/internals/verticalaxisgroup
HTH both, to solve your current issue and further exploer the internals of
Lilypond for other tweaking needs
kind regards,
Hans