hello Jose, I believe this is what you want. It's a bit of a hack because you need to specify the tuplet ratio twice, in the \times command and in the actual markup. You could define your own function that takes two numbers (n and d) and wraps both the \times n/d and the TupletNumber #'text override.
%%%% START %%%%
\version "2.11.45"
{
\override TupletNumber #'text = #(markup #:italic "3:2" #:fontsize
-5 #:note "4" 1)
\times 2/3 {c'4 c' c'}
\times 2/3 {c' c' c'} \break
\override TupletNumber #'text = #(markup #:italic "3:2" #:fontsize
-5 #:note "8" 1)
\times 2/3 {c'8 c' c'}
\times 2/3 {c' c' c'}
\times 2/3 {c' c' c'}
\times 2/3 {c' c' c'}
}
%%%% END %%%%
hope this helps,
Victor Adan.
On Thu, May 29, 2008 at 8:14 PM, padovani <[EMAIL PROTECTED]> wrote:
>
> Hi...
> I would like to append to
>
> \once \override TupletNumber #'text = #tuplet-number::calc-fraction-text
>
> a \note markup to show which rhythm figure am I dealing with...
>
> How to do it?
>
> Thanks for any help
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-user
<<attachment: tuplet_markup.png>>
_______________________________________________ lilypond-user mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-user
