lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Incorrectly merged noteheads


From: Ben
Subject: Re: Incorrectly merged noteheads
Date: Wed, 11 Oct 2017 07:29:27 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 10/11/2017 6:30 AM, Brent Annable wrote:
Hello everybody. My recent message didn't get any replies so I'm posting it again just in case.


What I want is to get the quarter note positioned to the right of the half note (as in the top example), but with the large and small quarter-notes vertically aligned. Any ideas on how to achieve this?

\version "2.18.2"

rightOne = \relative c'' {
  
  \voiceOne
   b2 
}

rightTwo = \relative c' {
  
   d2 
}

leftOne = \relative c' {
  
  \clef bass 
   g2 
}

leftTwo = \relative c {

   g'4 e 
\bar "|."
  
}


\score {
  
  \header {
piece = \markup \bold \underline \large "desired position of quarter notes"
}
  
  \new PianoStaff  <<
    \new Staff = "right"  << \rightOne \\ \rightTwo >>
    \new Staff = "left"   << \leftOne \\ \leftTwo >>
  >>
  
}


rightOneII = \relative c'' {
  
  \voiceOne
   b2 
}

rightTwoII = \relative c' {
   d2 
}

leftOneII = \relative c' {
  
  \clef bass 
   g2 
}

leftTwoII = \relative c {
  \override Stem.length = 4.6
   <<\voiceOne {\stemDown g'4 e } 
     \new Voice {\voiceTwo \teeny g, e} >> 
\bar "|."
  
}


\score {
  
  \header {
piece = \markup \bold \underline \large "when I add the small notes"
}
  \new PianoStaff  <<
    \new Staff = "right"  << \rightOneII \\ \rightTwoII >>
    \new Staff = "left"   << \leftOneII \\ \leftTwoII >>
  >>
  
}

Hello,
I am a little confused. The PDF clearly shows the merged quarter note issue you're asking about, but when I copied and pasted your inline code into Frescobaldi it gave me this output: (see attached).

Is that not what you want? It looks to me like that half note is there and the notes are aligned, no?

The PDF is different than the code, which I'm sure you were aware of - but I just don't understand what you are looking for - the code seems to give you what you want already? Sorry, I'm a bit confused can you clarify? Thanks!


Attachment: confused.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]