[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tuplet numbet text
From: |
David Kastrup |
Subject: |
Re: Tuplet numbet text |
Date: |
Thu, 16 Jun 2016 07:41:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Andrew Bernard <address@hidden> writes:
> When setting the tuplet number text, in a piece that uses the full fraction
> throughout, when temporarily set to just the denominator on a nested
> tuplet, if the nested tuplet comes first the out tuplet text is also set to
> the inner setting. This does not occur if the inner tuplet comes later.
>
> Is this indeed a bug?
>
> Andrew
>
> == snip
>
> \version "2.19.43"
>
> {
> \override TupletNumber.text = #tuplet-number::calc-fraction-text
> \tuplet 7/8 { c'' \tuplet 3/2 { d'' d'' d'' } c'' c'' c'' c'' } |
>
> \tuplet 7/8 {
> \once \override TupletNumber.text =
> #tuplet-number::calc-denominator-text
> \tuplet 3/2 { d'' d'' d'' } c'' c'' c'' c'' c''
> } |
>
> \tuplet 7/8 {
> c''
> \once \override TupletNumber.text =
> #tuplet-number::calc-denominator-text
> \tuplet 3/2 { d'' d'' d'' } c'' c'' c'' c''
> } |
> }
5.3.4 The ‘\tweak’ command
--------------------------
Changing grob properties with ‘\override’ causes the changes to apply to
all of the given grobs in the context at the moment the change applies.
Sometimes, however, it is desirable to have changes apply to just one
grob, rather than to all grobs in the affected context. This is
accomplished with the ‘\tweak’ command, which has the following syntax:
\tweak [LAYOUT-OBJECT.]GROB-PROPERTY VALUE
Specifying LAYOUT-OBJECT is optional. The ‘\tweak’ command applies
to the music object that immediately follows VALUE in the music stream.
--
David Kastrup