lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nested tuplet ratio notation


From: Jean Abou Samra
Subject: Re: Nested tuplet ratio notation
Date: Fri, 28 Jul 2023 13:49:59 +0200
User-agent: Evolution 3.48.4 (3.48.4-1.fc38)

Le vendredi 28 juillet 2023 à 10:57 +0300, Lib Lists a écrit :

The solution was to build the tuplet number text as a markup. I wonder if there is a way to specify the alignment of the tuplet number with the tuplet bracket instead of specifying paddings and offsets as I did.

This already looks somewhat better:

\version "2.25.7"

\new Staff
{
  \relative c'
  \repeat unfold 5 {
    \override TupletBracket.outside-staff-priority = #0
    \override TupletBracket.bracket-visibility = ##t
    \tuplet 5/4 {
      \override TupletNumber.text = \markup { 
        \concat {
          "5:4"  
          \magnify #0.5
            \general-align #Y #DOWN
              \override #'(baseline-skip . 0)
                \column { "5" \rhythm { 8 } }
        }
      }
      \override TupletBracket.padding = #0
      \override TupletNumber.Y-offset = #1.5
      \tuplet 5/4 {  c8[ c c c c]  }
    }
  }
}

Best,

Jean

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]