At 21:22 04/10/2010, you wrote:
On Mon, 04 Oct 2010 01:03:30 +0200, Marten Visser <msvis...@planet.nl>
wrote:
Hello again,
Typesetting my masterpiece :D, I ran into the following problem:
I have a piece for piccolo and guitar. If I typeset the music for
guitar, I'd like to have a tablature staff in addition to the notes, but
If I typset for piccolo, I'd like to omit the tablature. Since the music
is the same in either case, I prefer to have one file where I can make a
definition at the very beginning of the document like
I think you can do that with tags:
http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Different-editions-from-one-source
scroll down to "Using tags".
greetings,
Vicente
Hi Vincente, thanks for the suggestion. However, I do not only want
to delete a music expression (which can be tagged), but an entire
staff, namely the tabStaff. I wouldn't know how to create code
removing a staff by tagging it.
Dmytro's suggestion looks more promising, though I haven't been able
to generate code that does the job so far. When I code
==================
\new Devnull
<<
\TablatureNotes
>>
==================
I still get an empty tabStaff and two tabstaffs below it for both
voices in the \TablatureNotes. Replacing "Devnull" by "TabStaff", I
get one tabstaff with both voices combined. I guess Devnull is not a
manner to suppress printing the staff.
Thanks anyway,
Marten
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user