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: [email protected]
 GPG-keys available on request or at public keyserver

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to