Key cancellation form in lilypond
I have key changing example:
\score {
\relative c'' {
\key bes \major
g1
\key g \major
g1
}
}
It produces:
But i would like to have another template for this: first 2 becars, then staff bar, then sharp. Like this:
This is just another tradition. Does it possible in lilypond ?
Possible solutions
One solution is to force key to c major, add empty bar and only then change key to g major. (Thanks to “@mack” from #lilypond@irc.libera.chat)
\relative c'' {
\key bes \major
g1
\key c \major \bar ""
s16
\bar "|"
\key g \major
g1
}
Unfortunately, there is extra space between bar and becars:
Read more here: Source link