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

• Jun 22, 2009 - 18:42
Type
Functional
Severity
S5 - Suggestion
Status
closed
Project

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.


Comments

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?

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>
Attachment Size
chords.png 19.49 KB