Positioning opposing fermatas on a bar line: Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| Line 1: | Line 1: | ||
This snippet demonstrates a command that prints fermatas both above and below a bar line. If there would not otherwise be a bar line, it adds a double bar line. Semantically, the command codes a longer-than-normal caesura, which might be considered misuse depending on the situation. | This snippet demonstrates a command that prints fermatas both above and below a bar line. If there would not otherwise be a bar line, it adds a double bar line. Semantically, the command codes a longer-than-normal caesura, which might be considered misuse depending on the situation. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
twoWayFermata = { | twoWayFermata = { | ||
\once \set Staff.caesuraType = #'((underlying-bar-line . "||")) | \once \set Staff.caesuraType = #'((underlying-bar-line . "||")) | ||
Revision as of 18:55, 16 November 2025
This snippet demonstrates a command that prints fermatas both above and below a bar line. If there would not otherwise be a bar line, it adds a double bar line. Semantically, the command codes a longer-than-normal caesura, which might be considered misuse depending on the situation.
\version "2.24"
twoWayFermata = {
\once \set Staff.caesuraType = #'((underlying-bar-line . "||"))
\once \set Staff.caesuraTypeTransform = ##f
\caesura ^\fermata _\fermata
}
music = {
f'1 \twoWayFermata
R1
f'2 \twoWayFermata f'2
R1
b'1 \twoWayFermata \fine
}
\new GrandStaff <<
\new Staff \music
\new Staff \music
>>