lilypond-user
[Top][All Lists]
Advanced

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

Tuplet bracket length


From: bruys .
Subject: Tuplet bracket length
Date: Sat, 16 Apr 2011 15:55:45 +1000

Greetings,

I would like the alter the length of the tuplet bracket so it extends from the left-hand edge of the first notehead, to the right-hand edge of the last notehead.

Lilypond seems to default to making the bracket go from the left-most stem to the right-most stem. See the attached example.

In the attached example, there is also a problem with the nested triplets. The two numerals '3' collide.Could this be a bug that has since been corrected? In the final group of notes, where the inner triplet bracket is printed in the upper position, it is interesting to note that Lilypond draws the bracket enclosing the noteheads, not just the stems.

Thanks,
Bruys


%% tuplets
\version "2.12.3"

\header {
  title = "Tuplets"
}
notes = {
  %% nb. '3's clash in the following
  \times 2/3 { b'8[
              \times 2/3 { b'16 b' b' }
              b'8]
             }
  %% To force drawing of both tuplet brackets
  \override TupletBracket #'bracket-visibility = ##t
 
  \times 2/3 { b'8[
               \times 2/3 { b'16 b' b' }
               b'8]
             }
  %% To change positioning of inner tuplet bracket          
  \times 2/3 { b'8[
               \once \override TupletBracket #'direction = #UP
               \times 2/3 { b'16 b' b' }
               b'8]
             }         
}
\score {
  \notes
}
 

Attachment: Tuplets_.png
Description: PNG image


reply via email to

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