lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: avoid multiple fret diagrams


From: Pascal Obry
Subject: Re: avoid multiple fret diagrams
Date: Fri, 22 Jan 2010 17:12:29 +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

Carl,

Thanks for the help.

> As an entirely different approach, you might tag the markup with a
> TabStaffOnly tag, and then only keep the TabStaffOnly tagged music in the
> tab staff.  You can read about tagged music in the Noation Reference 3.3.2
> Different editions from one source.

Indeed I missed that. This is what I have done. For the record:

Notes = {
   c d
   -\tag #'tab ^\markup \fret-diagram-terse #"x;x;o;2-2;3-3;1-1;"
   g b
}

\score {
<<

   \new Staff {
      \removeWithTag #'tab \Notes
      \Notes
   }

   \new TabStaff {
      \Notes
   }

>>
}

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]