Erik Appeldoorn wrote:

Attached a jpg snipped of score parts I want to reproduce with lilypond. (Took me 30 secs to make using Sibelius)

But after a day of trying I can’t figure it out.

I have looked into the LSR and tried to adapt the following snippet without any success.

Making an object invisible with the 'transparent property [0.12500]

\relative c'' {
  \time 2/4
  <<
    {
      \once \override Stem #'transparent = ##t
      \once \override Stem #'length = #8
      b8 ~ b\noBeam
      \once \override Stem #'transparent = ##t
      \once \override Stem #'length = #8
      g8 ~ g\noBeam
    }
    \\
    {
      b8 g g e
    }
  >>
}

But this solution can’t work because I don’t want to hide any notes with the top voice.

Here's my solution (took about 15 minutes)

%==============================
\version "2.13.7"

\relative c' {
\time 3/4
\key d \major
\mergeDifferentlyHeadedOn
<< {

s4 d8 fis a d |
R1*3/4 |
<d a>8 fis, a d fis e |
} \\ {
<d a>4 d, ~ d |
s2. |
fis8 fis fis4 ~ fis |
} \\ { \tieDown
\override NoteColumn #'ignore-collision = ##t
s4. \once \override Stem #'flag-style = #'no-flag fis8 ~ \stemDown fis4 |
s2. |
s4 ]\stemUp a ~ \stemDown a |
} >>
}
%==============================

Nick


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

Reply via email to