Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Segno or coda on top of rehearsal mark
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Starting with LilyPond 2.24 the <code>\textMark</code> command and the normal <code>\mark</code> command happily coexist. Furthermore the sophisticated <code>\repeat segno</code> command is available, see [https://lilypond.org/doc/v2.25/Documentation/notation/long-repeats here]. (Be sure to look at the English version, since translations of the Notation Reference might not be up to date.) Consequently, this snippet is much shorter in comparison to previous versions in the LSR. <lilypond version="2.24"> markDefault = \mark \default markDefaultSegno = { \textMark \markup \musicglyph "scripts.segno" \mark \default } markDefaultCoda = { \textMark \markup \musicglyph "scripts.coda" \mark \default } \score { \relative c' { c4 d e f \markDefault g a b c \markDefaultSegno c b a g \markDefault f e d c \markDefaultCoda c d e f \markDefault \bar "|." } \layout { indent = 0\cm \context { \Score rehearsalMarkFormatter = #format-mark-box-letters \override TextMark.self-alignment-X = #CENTER \override TextMark.outside-staff-priority = 1600 } } } </lilypond> [[Category:Symbols and glyphs]] [[Category:Staff notation]] [[Category:Repeats]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)