Adjust vertical offset of sharps, flats, and numbers in chordnames

Project:MuseScore
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:closed
Description

Previous revisions had various vertical positions for flats/sharps and numbers such as 7 or 9, etc. The current implementation puts these all on the same baseline.

I would be nice to be able to adjust the vertical baselines from chords.xml similar to the method used for bass notes in chord names.

#1

Its already possible to move all elements of a chord name but you have to specify it for every chord. Maybe the scripting language can be extended to make this easier by defining a global superscript position. Any suggestions?

#2

I would be nice if you could specify the vertical-align and the font-size for each part of the chord. I don't know the best way to implement this feature. If I was trying to replicate Finale's default layout for chordnames this is what it would look like using HTML and CSS (see also attached image).

CSS:

.accidental {vertical-align:.35em; font-size:1em}
.number {vertical-align:.1em; font-size:.85em}

HTML:

<span class="root">B<span class="accidental">♭</span></span><span class="number">7</span>
AttachmentSize
chords.png 19.49 KB
#3
Status:active» closed
Syndicate content