|
From: | Marten Visser |
Subject: | Re: Re: conditional formatting |
Date: | Mon, 04 Oct 2010 23:11:01 +0200 |
At 21:22 04/10/2010, you wrote:
On Mon, 04 Oct 2010 01:03:30 +0200, Marten Visser <address@hidden> 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 likeI 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
[Prev in Thread] | Current Thread | [Next in Thread] |