Something similar has already been raised for lyrics, but I think the topic
is wider.

Elements which can also be places below the staff, or elements which are
NORMALLY placed below the staff (like dynamics or hairpins) have a single Y
parameter, which is always relative to the staff top line. For instance, in
the default style, dynamics and hairpins have a Y offset of 8 sp.

This works well for standard 5-line, single-spaced staves (staff height
4sp), but does not work for other staff types like 6-line, 1.5-spaced tab
staves (staff height 7.5sp) or 3-line percussion staves (staff height 2sp).

If the score contains ONLY ONE type of staff, the styles can be adjusted.
But if the score contains several types of staff, any setting is correct for
at most one type only. This requires manual adjustment of EACH element in
the staves belonging to the 'other' types.

I think that:

1) as a first step, the Y offset for elements normally placed below the
staff should be relative to the staff bottom line, rather than to the top
line;

2) as more general solution, an "above-staff Y" and a "below-staff Y"
parameters could be used, the former relative to the top line and the latter
relative to the bottom line. The property "Placement" -- which already
exists but for most element types is not exposed -- could be used to flip
the position for the non-standard elements (for instance, the occasional
above staff dynamics).

3) As an in-between solution, to avoid adding more parameters, the current Y
offset parameter could be interpreted both as relative to the top line for
Placement ABOVE and as negated-relative to the bottom line for Placement
BELOW. For instance, an Y offset = -4 would mean 4sp above the top line for
Placement ABOVE and 4sp below the bottom line for Placement BELOW.

Comments?

Maurizio



--
View this message in context: 
http://dev-list.musescore.org/Elements-below-and-above-the-staff-tp7577993.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to