bar-extents in magnified staves and staff groups

Cameron Crowe via bug-lilypond <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <nSCXX6xoMDHz2n-ab99ASeX8h9zyDk7znvU8lY9UBUAECSZWB8bZwzwy0_Wnf_JQd0Xin-pVk4C5-ZrLie2VWtvrURbCiXHXJTt6lCsq248=@protonmail.com>
1. It might be nice

to have the

systemStartDelimiter

(or whatever it's called) of a

StaffGroup

extend out to the

bar-extent

.

Here is an example with exaggerated bar extents to make the point clear

:

\new

StaffGroup

<<

\new

DrumStaff

\with

{

\override

StaffSymbol.line-count =

#1

\override

BarLine.bar-extent =

#'(-2.5 . 2.5)

}

\drummode

{ sn4 sn

\bar

"|"

sn sn

\bar

"|."

}

\relative

{

d'

d

d

d

}

>>

2. Additionally, it might be nice to add bar-extent to the list of props to fix on cue-sized/magnified staves in the docs?  Maybe there are a million other such things I just haven't run into, yet.
https://lilypond.org/doc/v2.25/Documentation/notation/setting-the-staff-size

#(define bar-line-props

'((BarLine thick-thickness)

(BarLine bar-extent)

(BarLine hair-thickness)

(BarLine kern)))

Here's a slightly simplified version of the cow and ride example where it becomes relevant
https://lilypond.org/doc/v2.25/Documentation/snippets/rhythms_003a-cow-and-ride-bell-example

#(define bar-line-props-a

'((BarLine thick-thickness)

(BarLine bar-extent)

(BarLine hair-thickness)

(BarLine kern)))

#(define bar-line-props-b

'((BarLine thick-thickness)

(BarLine hair-thickness)

(BarLine kern)))

<<

\new

DrumStaff

\with

{

instrumentName =

"Good Cue"

\magnifyStaff

#0.63

\override

StaffSymbol.line-positions =

#'(-2 3)

\override

BarLine.bar-extent =

#'(-1.0 . 1.5)

clefPosition =

0

.

5

#(revert-props 'magnifyStaff 0 bar-line-props-a)

}

\drummode

{ hh4 hh

\bar

"|"

tomfh tomfh

\bar

"|."

}

\new

DrumStaff

\with

{

instrumentName =

"Bad Cue"

\magnifyStaff

#0.63

\override

StaffSymbol.line-positions =

#'(-2 3)

\override

BarLine.bar-extent =

#'(-1.0 . 1.5)

clefPosition =

0

.

5

#(revert-props 'magnifyStaff 0 bar-line-props-b)

}

\drummode

{ hh4 hh

\bar

"|"

tomfh tomfh

\bar

"|."

}

\new

DrumStaff

\with

{

instrumentName =

"Regular"

%\magnifyStaff #0.63

\override

StaffSymbol.line-positions =

#'(-2 3)

\override

BarLine.bar-extent =

#'(-1.0 . 1.5)

clefPosition =

0

.

5

}

\drummode

{ hh4 hh

\bar

"|"

tomfh tomfh

\bar

"|."

}

>>

% Thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.