lilypond-user
[Top][All Lists]
Advanced

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

Re: moving tuplet number nearer to beam


From: Ben
Subject: Re: moving tuplet number nearer to beam
Date: Mon, 1 Apr 2019 16:34:33 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 4/1/2019 4:16 PM, Werner LEMBERG wrote:
Folks,


if I use `\magnifyStaff', the tuplet number is too far away from the
beam.  How can I move it nearer to the beam?  Looking into
`tuplet-number.cc' I see a `padding' property with a default value of
0.5 (and which is apparently completely undocumented).  However, doing
something like

  \override TupletNumber.padding = #4

has zero effect...


    Werner

Hi Werner,

There's a few ways to pad out the tuplet number depending on how you want to approach the padding. Does this help?

<<
  \new Staff \with {
    \magnifyStaff #(magstep -5)
  } {
    % \tweak padding #1
    \override TupletNumber.Y-offset = #2.3
    \tuplet 3/2 { f'8[ g' a'] }
  }

  \new Staff {
    \tuplet 3/2 { f'8[ g' a'] }
  }
>>


reply via email to

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