José Luis Cruz <joseluisjazz <at> gmail.com> writes: > > Hello, > > I've searched in manual and in the list archive, but i've been able to > find a way for substituting the 'x' symbol that denotes a muted string > in a fret-diagram. > > I want to be able to use another symbol, like a blank space, or > ideally a markup (for changing font's size and attributes). > > If someone is so smart for figuring a way, maybe we're lucky and it > can be applied also to substitute any dot inside the fret-diagram for > another symbol? > > cheers. >
As the code currently stands, the "X" for muted string and "O" for open string are hardcoded, but are easy to change (see line 218 of LilyPond/usr/share/lilypond/scm/fretdiagrams.scm). It would be trivial to add a property containing the character for mute and the character for open strings to the fret-diagram. There is already a property governing the font size (xo-font-mag), but Han-Wen didn't want to have it because it polluted the namespace. If you want to change font size, you can uncomment line 212 of fretdiagrams.scm, and comment line 213. Then you will have a property (xo-font-mag) that can be used to change the size of the mute and open indicators. I will look into changing those indicators into markups. That should probably be doable, but I've been away from markups long enough that I'm not sure what it will take. As far as changing dots into markups, that's also doable if I can get the previous step done. The biggest challenge I see is the interface -- at present there is no interface to individual dots, and I don't know how to put it in. Do you want to have individual dots have different symbols, or would you be happy with all the dots having the same symbol, but different from the current circle? Please take this discussion over to the devel list, so that we can have some discussion about implementation features. Carl Sorensen _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user