Hello, William-
Thanks for the suggestion. Looking at that list of functions, I see that
LilyPond also has a function
|\breakAlignInsert clef after staff-bar|
which looks ideal. Here's the modified LilyPond file:
\version "2.24.3"
\relative c {
\time 4/4
\clef "bass"
a b c d |
\clef alto e f g a
}
\layout {
\context {
\Score
\breakAlignInsert clef after staff-bar
}
}
Unfortunately, this failed to engrave, generating the error messages
Parsing...
Desktop/Clefs.ly:11:6: error: unknown escaped string: `\breakAlignInsert'
\breakAlignInsert clef after staff-bar
Desktop/Clefs.ly:11:24: error: syntax error, unexpected SYMBOL,
expecting '='
\breakAlignInsert
clef after staff-bar
Desktop/Clefs.ly:13:2: error: Unfinished main input
I'm still near the start of the learning curve, so this mat be due to a
lack of understanding on my part.
- - - Peter
On 2026-07-04 14:42, William Rehwinkel wrote:
Dear Peter,
See if this works for you, using \breakAlignInsert. . .