On 17.01.2016 22:35, Carl-Henrik Buschmann wrote:
Thank you.
This is indeed a good start! However. How to adjust the lenght of the parenthesis? As of
now they only encapsule 1/3 of the stack. I havent the foggiest on how to make them
"flexible".
You might have a look in the NR, section A.11 ‘Available markup
commands’, or D ‘LilyPond command index’.
For some more hints see below…
17. jan. 2016 kl. 22.25 skrev Kieren MacMillan <kieren_macmil...@sympatico.ca>:
Hi Carl-Henrik,
Here’s a start for you.
Hope this helps!
Kieren.
%%%% SNIPPET BEGINS
\version "2.19.35"
\language "english"
chordFlat = \markup \concat { \hspace #0.1 \raise #0.5 \fontsize #-1 \flat
\hspace #0.2 }
chordSharp = \markup \concat { \hspace #0.1 \raise #0.5 \fontsize #-1 \sharp
\hspace #0.2 }
jazzChords-markups = {
<c e gs bf df' fs'>-\markup \concat { "7" "(" \raise #2 \fontsize #-5 \center-column { \concat { \chordSharp
"11" } \concat { \chordFlat "9" } \concat { \chordSharp "5" } } ")" }
}
How about:
jazzChords-markups = {
<c e gs bf df' fs'>-\markup
\concat {
"7"
\parenthesize
\raise #2
\fontsize #-5
\center-column {
\concat { \chordSharp "11" }
\concat { \chordFlat "9" }
\concat { \chordSharp "5" }
}
}
}
Note the effect of sensible code formatting – it can’t be emphasised
often enough…
Yours, Simon
jazzChords-add = #(append (sequential-music-to-chord-exceptions
jazzChords-markups #t) ignatzekExceptions)
\layout { \context { \Score chordNameExceptions = #jazzChords-add } }
chords-test = \chordmode {
d1
d1:m
d1:7
d1:7.5+.11+.9-
}
\score {
<<
\new ChordNames \chords-test
\new Staff \chords-test
}
%%%% SNIPPET ENDS
________________________________
Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user