bug-lilypond
[Top][All Lists]
Advanced

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

Stem Direction Bug


From: David Raleigh Arnold
Subject: Stem Direction Bug
Date: Mon, 22 Nov 2004 10:52:37 -0500
User-agent: KMail/1.6.2

Using both lilypond-snapshot2.4.2 and lilypond2.2.6, the default stem 
directions are wrong at the place indicated in both input files below.

Also, lilypond-book-snapshot fails to import the former.  I thought I was
just doing something stupid, but I am now much less convinced of that.  daveA

% c-snap.ly
\version "2.4.2"
\include "english.ly"
\layout{papersize=letter}
\score {
 \context Staff << 
 \context Voice = voiceDue  {
  \clef "treble_8" \time 4/4 \stemDown
  
\skip 1*7
s2 c c s2
\bar "|."    
 }
 \context Voice = voiceUno {
    \relative c {
c4 d8 e f g a b 
c e, f g a b c d
%\stemDown <-- without this, stems
e g, a b          %are wrong direction
%\stemNeutral
c d e f
g f e d c b a g
e' d c b a g f e
f e d c b g a b 
c4 d8 e f g a b
c4 r \stemUp <g c e>2
<e g c> r}
   
  }
>>
} 

-----------------------------------------

% c.ly
\version "2.2.6"
\include "english.ly"
\paper{papersize = "letter"} %\layout{papersize=letter}

cnotesDue = {
  \notes {
\skip 1*7 \stemDown
s2 c c s2
\bar "|."}}

cnotesUno = {
  \notes {\relative c {
c4 d8 e f g a b 
c e, f g a b c d
%\stemDown <-- wrong stem direction
e g, a b
%\stemBoth
c d e f
g f e d c b a g
e' d c b a g f e
f e d c b g a b 
c4 d8 e f g a b
c4 r 
\stemUp 
<g c e>2
<e g c> r}}
}

\score {
 \context Staff <<
 \clef "treble_8" \time 4/4 
 \context Voice = voiceFour  {
  \notes { \cnotesDue }}
 \context Voice = voiceOne {
  \notes { \cnotesUno }}
>>
} 





reply via email to

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