bug-lilypond
[Top][All Lists]
Advanced

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

Re: bug with


From: Mats Bengtsson
Subject: Re: bug with
Date: Thu, 26 Apr 2007 12:48:11 +0200
User-agent: Thunderbird 1.5.0.10 (X11/20070221)

The problem in your example is that you have used the \chords command.
Just replace it by \chordnames:

harmonies = \chordnames
{
 d1
 d
}


and everything will work as expected. The simple explanation is that
\chords is a shorthand for
\new ChordNames \chordmode
so in your example you did
\score{
<<
 \new ChordNames{
   \set ...
   \new ChordNames \chordmode {...}
 }
 ...
>>
}

so the actual chords were typeset in another ChordNames context than the
one you explicitly initiated in your score.

  /Mats

Peter R. DIngley wrote:
)
%{
    A Lead Sheet: Bug report
"Introducing "\set chordChanges = ##t" causes the chords to be written below the staff and doesn't remove duplicates"
%}

\version "2.11.22" % Mac OS 10.4.9 (Power PC G4 processor)
\paper { ragged-right=##t }

\header
{
  enteredby = "Peter R. Dingley <address@hidden>)"
}

harmonies = \chords
{
  d1
  d
}

melody = \relative c'
{
  d1
  d
}

\score
{
  <<
    \new ChordNames
    {
      \set chordChanges = ##t
      \harmonies
    }
    \new Staff
    {
      \new Voice
      {
        \melody
      }
    }
  >>
  \layout { }
}



_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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