Roman string numbers (issue 145490043 by v.villenave <at> gmail.com)
<v.villenave <at> gmail.com>
2014-09-28 22:43:41 GMT
here's a thought: the shorthand syntax for string numbers is so useful
that it shouldn't be limited to fretted strings, but could also come
handy for unfretted strings notation. This is the less dirty way I
could find of making that happen.
(Sidebar: When adding the \romanStringNumbers shorthand, I tried to
include something in the way of placing the roman-numered string
indications below the staff rather than above. But I couldn't find a way
of doing that without completely resetting the stringNumberOrientations
context property (which I can't access at this point, even less "stash"
somewhere so it could be reverted down the line). If someone has an idea
or if I'm doing this wrong, please let me know.)
Make string numbers more versatile
This commit adds a number-type property that
allows for different numbering styles, as
well as user-exposed predefined commands
to easily switch between default guitar-like
string numbers and roman numerals more suitable
for unfretted strings.
Additionally, the number formatting function
previously used only in fret-diagrams, is now