Am Fr., 21. März 2025 um 17:09 Uhr schrieb Richard Shann
<rich...@rshann.plus.com>:
>
> On Thu, 2025-03-20 at 19:48 +0100, Hans Aikema wrote:
> >
> >
> > > On 20 Mar 2025, at 18:56, Knute Snortum <ksnor...@gmail.com> wrote:
> > >
> > > On Thu, Mar 20, 2025 at 5:17 AM Richard Shann
> > > <rich...@rshann.plus.com> wrote:
> > > > When using \bar ":|." in a piano staff the barline spans the two
> > > > staffs, but when using \bar ":|]" it does not - is there a way to
> > > > fix
> > > > this?
> > > >
> > >
> > >
> > > When I ran your example source with 2.25.24, I got a thin line
> > > spanning the staves.  Is this not what you see?  (attached
> > > picture)
> > >
> > > --
> > > Knute Snortum
> > >
> > > <repeat-spanning-staves.png>
> >
> > If you’re looking for a way to connect the staves with the thin-thick
> > barlines instead of the thin line - those would need a custom barline
> > to be defined with \defineBarLine
> >
> > e.g.
> >
> > 8><8><8><8><8><8><8><8><8><8><8><
> >
> > \version "2.24.4" % should also work at 2.25, but I don't have the
> > development version installed, so I could not check; rendered result
> > is from 2.24.4
> > \defineBarLine  ":|]-connected"  #'( #t #f " |.")
> >
> > \score {
> >     \new PianoStaff <<
> >         \new Staff  <<
> >             \new Voice  {
> >                 c'1 \bar ":|]-connected"
> >                 c'1
> >             }
> >         >>
> >         \new Staff  <<
> >             \new Voice  {
> >                 \clef bass
> >                 c1 \bar ":|]-connected"
> >                 c1
> >             }
> >         >>
> >     >>
> > }
> >
> > 8><8><8><8><8><8><8><8><8><8><8><
> >
>
> Thank you very much for this: food for further study there. I think
> what would look better was if the top staff had the tail above and the
> bottom staff the tail below - so it would look a bit like a brace. I'll
> try to study the docs under \defineBarLine to see  if this can be done.
>
> Richard
>
>

Does
https://lsr.di.unimi.it/LSR/Item?id=1032
help?

Cheers,
  Harm

Reply via email to