lilypond-user
[Top][All Lists]
Advanced

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

Re: Moving tuplet brackets


From: Leo Correia de Verdier
Subject: Re: Moving tuplet brackets
Date: Tue, 28 Sep 2021 11:20:14 +0200

I can’t tell for sure without seeing the code, but I think you may not need very advanced code to force the brackets horizontal in your case, and that something like this is what you’re after:

%%%%%%%%%%%%
\version "2.22.1"
\fixed c'' {
  \override TupletBracket.direction = #UP
  \override TupletBracket.bracket-visibility = ##t
  \override TupletBracket.avoid-scripts = ##t
  \override TupletBracket.positions = #'( 0 . 0 )
  \override TupletBracket.outside-staff-priority = #750
  \override TupletBracket.avoid-slur = #'outside
  
  \tuplet 3/2 { c'8( r c, } 
  \tuplet 3/2 {\stemUp g a b^>)}
  \tuplet 3/2 { \stemDown \slurUp d,( c^_ e } 
  \tuplet 3/2 {\stemNeutral f--\upbow g--\downbow a-_)}
}
%%%%%%%%%%%%


Some of the values might need to be adjusted to suit your needs.

HTH
/Leo


28 sep. 2021 kl. 10:46 skrev Paul Hodges <pwh@cassland.org>:

I am at present being asked to put a lot of tuplet brackets on the same 
side of the staff (above) as slurs, and this is leading to a lot of 
collisions.  I could deal with them individually (a lot of work), but is 
there something I can do to to force tuplet brackets away from slurs 
(outside them) globally?  I've not been able to find anything that suits 
yet.

This is probably complicated by the fact that I am already using code to 
force the brackets horizontal (code by Harm I think, from a mail about 
ten years ago).

Here is a sample of what I currently have:
and here is a sample of another piece as the publisher wants it:

Thanks,
Paul


reply via email to

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