On 7/7/11 10:21 PM, "Jay Lee" <jkl...@mac.com> wrote:
> Neil Puttock <n.puttock <at> gmail.com> writes:
>
> <snip>
>> The easiest method is to define the markup first, then insert it into
>> the verbose list:
>>
>> flatSeven = \markup { \concat { \flat 7 } }
>>
>> \markup {
>> \override #'(fret-diagram-details . ((finger-code . in-dot)))
>> \fret-diagram-verbose #`((place-fret 4 4 ,flatSeven))
>> }
> <snip>
>
> Thanks, but although the above syntax works for verbose fret diagram markup,
> it
> does not appear to work for predefined chord shapes:
>
> flatThree = \markup { \concat { \flat 3 } }
>
> \addChordShape #'CmShape
> #ukulele-tuning
> #'(
This needs to be a "backquote" `, rather than an apostrophe ' (to the left
of the 1 key on a US keyboard). Once you make that change, it works.
> (place-fret 4 1 5)
> (place-fret 3 4 ,flatThree)
> (place-fret 2 4 5)
> (place-fret 1 4 "R")
> )
>
> \storePredefinedDiagram #default-fret-table \chordmode { des'':m }
> #ukulele-tuning
> #(chord-shape 'CmShape ukulele-tuning)
>
> mychords = \chordmode{
> des'':m
> }
>
> <<
> \context FretBoards {
> \set stringTunings = #ukulele-tuning
> \override FretBoard
> #'(fret-diagram-details finger-code) = #'in-dot
> \mychords
> }
>>>
>
P.S. You asked about getting string labels. If you do place-fret with a
fret number of -1, you'll get a dot above the fret diagram.
HTH,
Carl
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user