> From: Jean Menezes da Rocha <j...@menezesdarocha.info>
> To: lilypond-user <lilypond-user@gnu.org>
> Subject: Multi-line chord modifiers
> Hello,
> I am looking for a way to print chord modifiers in separate lines. For
> example, I have the chord AMaj7(6)(9). What I want is to print the symbol
> "A", followed by vertically aligned:
>
> Maj7
> 6
> 9
>
> I can't find a property by which I can customize the chord alteration
> separator to be at least a line break. Can this be done?
>
> Thanks in advance!
> --
> Jean Menezes da Rocha
> Compositor
> Professor
> Doutorando em Música pela Universidade Federal da Bahia
>
>
Here is one way to do it.  You will likely want to tweak the layout of the
symbols, but this is the basic idea.
You will need to add such a chord exception definition for each such
"stacked" chord.  There is not currently a way to to this en masse.

\version "2.19.15"

myChordExceptions = {
    <c e g a b d'>1-\markup { \small "Maj" \raise #0.7 { \normalsize 7 }
\raise #3 { \teeny \center-column { \lower #1.25 { " 6" } " 9" } } }
}
chExceptions = #(append (sequential-music-to-chord-exceptions
myChordExceptions #t) ignatzekExceptions)

myChordSequence = \chordmode {
  \set chordChanges = ##t
  \set chordNameExceptions = #chExceptions
  c1:maj7.6.9
}

myMelody = \relative c' {
  e8 g a b d2
}

\score {
  \new StaffGroup <<
    \new ChordNames \myChordSequence
    \new Staff {
      \myMelody
    }
  >>
}



HTH,

David Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
ela...@flaminghakama.com
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to