Jump to content

Inserting a caesura: Difference between revisions

From LilyPond wiki
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
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Caesura marks can be created by overriding the <code>'text</code> property of the <code>BreathingSign</code> object.
Caesura marks can be created by overriding the <code>text</code> property of the <code>BreathingSign</code> object.


A curved caesura mark is also available.
A curved caesura mark is also available.
Line 20: Line 20:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 14:34, 3 December 2025

Caesura marks can be created by overriding the text property of the BreathingSign object.

A curved caesura mark is also available.

\version "2.24"

\relative c'' {
  \override BreathingSign.text = \markup {
    \musicglyph "scripts.caesura.straight"
  }
  c8 e4. \breathe g8. e16 c4

  \override BreathingSign.text = \markup {
    \musicglyph "scripts.caesura.curved"
  }
  g8 e'4. \breathe g8. e16 c4
}