Hi Johannes,
On Sun, Nov 12, 2023 at 11:01 AM Johannes Roeßler <j...@joei.de> wrote:
Hi all,
I managed to place a fermata above a barline, I even managed to place it correctly at the end of the line, but now I would like to place a fermata sign below the barline (and rotate it 180°) too (in the bassvoice of a choir staff group) - simplified example:
\version "2.24.0"
\relative c' {
e1 \break \once \override Score.RehearsalMark.break-visibility = #end-of-line-visible \mark \markup { \musicglyph #"scripts.ufermata" } \bar "||" e2
}
There's a code snippet in the Notation Reference that does this. It's at the bottom of:
That seems like a very clumsy solution, now that \textMark is available, but it took me some time to figure out how to convince LilyPond to center the mark horizontally on the bar line:
\version "2.24.0"
% Based on \textEndMark, to place it at the end of the line, at
line breaks:
textCenteredMark = \tweak self-alignment-X #CENTER \textEndMark
\etc
\fixed c' {
c4 d e f |
\textCenteredMark\markup\musicglyph #"scripts.ufermata"
\tweak direction #DOWN \textCenteredMark\markup\musicglyph
#"scripts.dfermata"
f e d c |}
/Mats