Hi Valentin,
Am 27.10.21 um 09:09 schrieb Valentin Petzel:
Hello Lukas, hello Jean, hello David,
Maybe something like this could do the trick.
Yes, maybe (even though I still read f' after the bar line for a second
and had to look in the source to find out what the intended pitch was). :-)
For the sake of completeness, Jean's improvements to the \parenthesize
feature now make it possible to do
\version "2.23.4"
{
\clef tenor
\repeat volta 2 {
c'4 e' c' d'
\clef bass
a4 b g c'
}
\alternative {
{
b8 a g f g4 b
\parenthesize Staff.Clef
\once\override Staff.Parentheses.font-size = 3
\once\override Staff.Clef.font-size = -2
\once\override Staff.Parentheses.padding = 0
\set Staff.clefGlyph = "clefs.C"
}
{ b1 }
}
c'1
}
but I admit that your solution gives better spacing. (The
extra-spacing-width of both Staff.Clef and Staff.BarLine doesn't seem to
be able to increase the space between clef and barline.)
Lukas