just a tweak...

\version "2.11.39"

Guitar = \context Staff \relative c' <<
  \time 6/8
  \override Staff.NoteCollision #'merge-differently-dotted = ##t
  \override Staff.NoteCollision #'merge-differently-headed = ##t

  \context Voice=uno {
    \stemUp

    \override Fingering #'padding = #2.0
    c'8 [gis! a b c <d-4>]
    }
    \new Voice=dos {
    \stemDown
    a,2._\mf
  }
    \new Voice=barre { %% This is a voice only for the barre
\override NoteHead #'transparent = ##t % Dont want to show noteheads or stems, only bracket
      \override Stem #'transparent = ##t
          \once \override Accidental #'transparent = ##t %XXXXXXXXX
\arpeggioBracket % This sets the arpeggio toa bracket which is what you want
      <d' gis,>2\arpeggio s4
    }

>>

\score {
  \Guitar
}



On 17 Feb 2008, at 18:00, Daniel Tonda wrote:

For the barre in the music this is how I normally do it:

Create a different voice context for the bar and use the arpeggioBracket.applied to a chord, here's the code that would display the image you attached.

%============
\version "2.11.39"

Guitar = \context Staff \relative c' <<
  \time 6/8
  \override Staff.NoteCollision #'merge-differently-dotted = ##t
  \override Staff.NoteCollision #'merge-differently-headed = ##t

  \context Voice=uno {
    \stemUp

    \override Fingering #'padding = #2.0
    c'8 [gis a b c <d-4>]
    }
    \new Voice=dos {
    \stemDown
    a,2._\mf
  }
    \new Voice=barre { %% This is a voice only for the barre
\override NoteHead #'transparent = ##t % Dont want to show noteheads or stems, only bracket
      \override Stem #'transparent = ##t
\arpeggioBracket % This sets the arpeggio toa bracket which is what you want
      <d' gis,>2\arpeggio s4
    }

>>

\score {
  \Guitar
}
%============

2008/2/17, Arjan Bos <[EMAIL PROTECTED]>:
Dear list,

First of all, does anyone of you know the English word for the Dutch
word Barré? I could not find it in the Music Glossary.
Second of all, does anyone of you how to draw it in lilypond? I've
attached an example of what I'm looking for. I'm looking for a way to
draw the vertical bracket that appears before the first note.




Regards,

A.J.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user





--
Daniel Tonda C. _______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to