Thanks Xavier, that is a much neater option than going with ballpark figures as 
I did in my example.

Though since I have two different staff sizes in two different output files, it 
still means I have to do something like this:

\tag #’clarinet { \override TupletBracket.padding = #(* (magstep -4) 1.1) }
\tag #’piano { \override TupletBracket.padding = #1.1 }

and set the appropriate keep-with-tag in the separate \score blocks.

Best,
Edward
---
Dr. Edward Neeman
www.neemanpianoduo.com



> On 24 May 2019, at 9:38 pm, Xavier Scheuer <x.sche...@gmail.com> wrote:
> 
> On Fri, 17 May 2019 at 11:22, Edward Neeman <edward.nee...@gmail.com 
> <mailto:edward.nee...@gmail.com>> wrote:
> >
> > Hello,
> >
> > How can I modify my tweaks to take into account a smaller staff-space? In 
> > the example below, I’d like to set the padding to 1.1 * the staff-space, 
> > instead of explicitly writing 0.7.
> >
> > Previously I was using \magnifyStaff but that caused issues with the final 
> > bar line.
> >
> > Thanks,
> > Edward
> >
> > \version "2.19.83"
> >
> > <<
> >   \relative {
> >   \override Staff.StaffSymbol.staff-space = #(magstep -4)
> >   \override Staff.StaffSymbol.thickness = #(magstep -4)
> >   \set Staff.fontSize = #-4
> >   \override TupletBracket.padding = #0.7
> >   \tuplet 3/2 { c' c c }
> > }
> >  \relative {
> >   \tuplet 3/2 { c' c c }
> > }
> > >>
> 
> Hello,
> 
> I am not a Scheme expert but the following seems to do the trick:
> 
> \override TupletBracket.padding = #(* (magstep -4) 1.1)
> 
> Cheers,
> Xavier
> 
> -- 
> Xavier Scheuer <x.sche...@gmail.com <mailto:x.sche...@gmail.com>>
> 

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to