In certain books I found this version of notation for barre chords. It seems there are no built in ways to do it in lilypond.
Size of the bracket is important because it signifies how many strings the bared finger should span (e.g. all three treble strings in this example because the bracket starts at G). Then there are also two possibilities for barre to last only during the first chord (note) or longer (marked by dashed line in the top like in conventional barre notation).
How would it be possible to do this in lilypond, preferrably with a function that takes:
- a pitch of the lowest string (and possibly for the highest also),
- some music object and
- position on the board (or just text where a user might put the roman numeral)?
The last two requirements are very similar to conventional barres in lilypond but I havent found a way to combine them with the vertical bracket. I am not sure whethter arpeggio brackets would be suitable (flared ends of the bracket are not that important) beacuse they require a chord while barre marking does not.