[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hide and omit behaviour
From: |
Michael Gerdau |
Subject: |
Re: hide and omit behaviour |
Date: |
Mon, 07 Sep 2015 09:14:09 +0200 |
User-agent: |
KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) |
Hi Joram,
> The first triplet should show the number, the following not. In rare
> cases, I would like to force the triplet number again. I tried to do
> this with \omit TupletNumber, but there is one problem as this snippet
> shows:
[snippet snipped]
> How can I achieve a "showTupletNumberOnce" like I tried with
> \once \undo \omit TupletNumber? Or is the only possibility to do \undo
> and then again \omit after wards?
Your snippet behaves exactly like you tell it. Or in other words:
You tell it to omit numbers and then say "don't omit once" and it
does exactly that. After it is back to omitting mode.
The following snippet shows this:
\version "2.18.2"
{
\tupletSpan 4
\tuplet 3/2 {
a8-"default" a a
\omit TupletNumber
a-"omit" a a
\once \undo \omit TupletNumber
a8-"once undo" a a
%\omit TupletNumber
a-"default again" a a
a a a
a-"still default" a a
}
r2
}
HTH,
Michael
--
Michael Gerdau email: address@hidden
GPG-keys available on request or at public keyserver
signature.asc
Description: This is a digitally signed message part.
Re: hide and omit behaviour, Andrew Bernard, 2015/09/07