[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vertical brackets
From: |
Werner LEMBERG |
Subject: |
Re: vertical brackets |
Date: |
Wed, 25 Jul 2007 14:51:55 +0200 (CEST) |
> >From that idea, I get this ugly solution
After applying the idea to some chords I'm sorry to say that it is
usable only for the simplest cases. As soon as there are more
accidentals it fails miserably because accidentals are either shifted
too much to the left or even disappearing (this seems to be a bug,
BTW -- look at the second and fifth chord in the image).
Werner
======================================================================
\relative {
\override Staff.Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
<< { <c g' es'>4 <es bes' ges'> <fis cis' a'>2 } \\
{ \hideNotes <d e>4\arpeggio <f g>\arpeggio <g a>2\arpeggio \unHideNotes }
\\
{ \hideNotes <bes d>4\arpeggio <d f>\arpeggio <e g>2\arpeggio \unHideNotes
} >>
<< { \oneVoice <c, g' es'>4 <es bes' ges'> <fis cis' a'>2 } \\
{ \oneVoice \hideNotes <d e>4\arpeggio <f g>\arpeggio <g a>2\arpeggio
\unHideNotes } \\
{ \oneVoice \hideNotes <bes d>4\arpeggio <d f>\arpeggio <e g>2\arpeggio
\unHideNotes } >>
}
\paper {
ragged-right = ##t
}