Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
Customizing chord symbols – global
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!
To make global changes to chord symbols, you can re-define the chord-symbol markup as described in the Notation Reference, then define <code>chordNameExceptions = #chExceptions</code> in a <code>\layout</code> block. <lilypond version="2.24"> %% http://lsr.di.unimi.it/LSR/Item?id=517 % modify various chord-symbols % chExceptionMusic is chords with markups chExceptionMusic = { % make maj7 triangle smaller <c e g b >1-\markup { \fontsize #-2.5 { \triangle ##f } } % change maj11 to maj9add4 <c e g b d' f'>1-\markup { \fontsize #-2.5 { \triangle ##f } \raise #0.6 \small "9" \raise #0.6 \teeny "add4" } } % Convert music to list and prepend to existing exceptions. chExceptions = #( append ( sequential-music-to-chord-exceptions chExceptionMusic #t) ignatzekExceptions ) % this definition in your \layout block makes the chord markup changes effective globally \layout { \context { \ChordNames chordNameExceptions = #chExceptions } } % everything above here could be in a separate house-style file, % and then \include that file with the score file: \score { \chords { c1:maj7 c:maj11 } } </lilypond> [[Category:Chords]] [[Category:Syntax and expressions]] [[Category:Paper and layout]] [[Category:Contexts and engravers]] [[Category:Template]] [[Category:Stylesheet]] [[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)