Hallo Mats,

Mats Bengtsson schreef / wrote / skribis:
If you show how you combine these two lines of music
in the same stave, it's easier to provide a relevant
answer.

The relevant part of the code can be found below.

However, in the meantime I figured out how to do double noteheads: using 'force-hshift'.

But thank you very much for your reply!
(And should you know a better or more elegant way, please let me know...)
--
Vriendelijke groeten,  =  Best wishes,  =  Afablajn salutojn,

Ivo


www.ivo.bouwmans.name


===== .ly file:


global= {
  \key e \major
  #(set-accidental-style 'forget)
  \override Score.TimeSignature #'stencil = ##f
  \override Stem #'transparent = ##t
}

right = { \once \override Voice.NoteColumn #'force-hshift = #1 }

Sopraannoten = {
\relative {
  \time 100/4
  gis'2 \bar "|" a4 b \bar "|" e,
}}

Altnoten = {
\relative {
  e2   e4 dis   \right e     % ...here the shift is used...
}}

\score {
<<
  \new ChoirStaff
  <<
    \new Staff
    <<
      \new Voice = "DescOne" { \global \voiceOne \Sopraannoten }
      \new Voice = "DescTwo" { \global \voiceTwo \Altnoten }
    >>
  >>
>>
}

\version "2.10.33"  % necessary for upgrading to future LilyPond versions.


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

Reply via email to