> Well, I am getting an unexpected order in this case: > \version "2.18.0" > { > a'4 > -\tweak script-priority 0 ^\markup\tiny\sharp > -\tweak script-priority -5 ^\turn > -\tweak script-priority -10 ^\markup\tiny\flat a'4 > } > > with the priority getting lower for each symbol I expect the sharp to be > above the turn and the flat below. Instead the turn is the highest. > Any ideas?
^\turn is a Script object ^\markup\tiny\sharp is TextScript TextScript uses outside-staff-priority, Script does not. According to the docs (v2.19) 4.4.1: First, LilyPond places all the within-staff objects. Then it sorts the outside-staff objects according to their outside-staff-priority. The outside-staff objects are taken one by one, beginning with the object with the lowest outside-staff-priority, and placed so that they do not collide with any objects that have already been placed. That is, if two outside-staff grobs are competing for the same space, the one with the lower outside-staff-priority will be placed closer to the staff. If two objects have the same outside-staff-priority the one encountered first will be placed closer to the staff. You can remove the outside-staff-priority for TextScript: \version "2.18.0" { \once \override TextScript.outside-staff-priority = ##f a'4 -\tweak script-priority 0 ^\markup\tiny\sharp -\tweak script-priority -5 ^\turn -\tweak script-priority -10 ^\markup\tiny\flat a'4 } >From the internal documentation, I get the impression that script-priority specifies a number, which will be added to 'something else'. Toine Schreurs _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user