On 1/21/10 12:27 PM, "Pascal Obry" <[email protected]> wrote:
>
>
> I'd like to have the fret diagram only printed over the TabStaff and not
> the staff. Given the following small code snippet I have the fret
> diagram displayed twice. Is there a solution to this? Using macros? I'm
> quite new to lilypond and did not found a solution...
>
> Notes = {
> c d ^ \markup \fret-diagram-terse #"x;x;o;2-2;3-3;1-1;"
> g b
> }
>
> \score {
> <<
>
> \new Staff {
> \Notes
> }
>
> \new TabStaff {
> \Notes
> }
Ordinarily, you want the TabStaff to include all the notes in the chord to
be played, rather than just the notes in the melody.
I'd suggest that you *not* use fret diagram markups, and instead use the
FretBoards context.
Then you'd do something like:
Notes = {
c d g b
}
myChords = \chordmode {
s4 d s2
}
\score <<
\new Staff {
\Notes
}
\new FretBoards {
\myChords
}
\new TabStaff {
\myChords
}
>>
HTH,
Carl
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user