[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
avoid multiple fret diagrams
From: |
Pascal Obry |
Subject: |
avoid multiple fret diagrams |
Date: |
Thu, 21 Jan 2010 20:27:09 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 |
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
}
>>
}
Thanks,
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net - http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B