bug-lilypond
[Top][All Lists]
Advanced

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

Re: lead sheet chords position with \alternative


From: Erik Sandberg
Subject: Re: lead sheet chords position with \alternative
Date: Mon, 23 Jan 2006 09:53:49 +0100
User-agent: KMail/1.8.3

On Sunday 17 April 2005 12.36, Mats Bengtsson wrote:

Hi,

This bug is fixed in 2.7.28.

Erik

> This clearly looks like a bug. The difference between the following two
> scores illustrates how the second alternative begins too early when
> the voltas are moved to the chords. The same bug happens in both
> versions 2.4.5 and 2.5.19.
>
> \score {
>      <<
>    \new ChordNames \chordmode {
>       c1 c b
>    }
>    \new Staff {
>     \repeat volta 2 { c'1 } \alternative {{ c' } {b} }
>    }
>
> }
>
> % The beginning of the secunda volta is horizontally misplaced:
> \score {
>      <<
>    \new ChordNames \with {
>        voltaOnThisStaff = ##t
>    } \chordmode {
>       c1 c b
>    }
>    \new Staff \with {
>        voltaOnThisStaff = ##f
>    }  {
>     \repeat volta 2 { c'1 } \alternative {{ c' } {b} }
>    }
>
> }

> address@hidden wrote:
> > Hi Mats, hi list!
> >
> > I used your solution and it worked very well even if in my lead sheet, 
> > there is still a small problem: the sign of the \alternative for the
> > second time, seems to be slightly in a wrong position (over the previous
> > bar line)  and the last part of the first repeat is hidden.
> > In the same message, there is an example by Paul Scott, that doesn't show
> > this problem, but he uses another syntax. Maybe it is a bug. Could you
> > please help me to understand which is the difference between the two
> > examples? I modified your example a bit in order to have two endings for
> > the \alternative
> >
> > Thanks
> > Libero
> >
> > ---------------Paul Scott example ----------------
> > \score{
> >  <<
> >    \new ChordNames \chords{
> >      \repeat volta 2 {
> >        f1:maj f:7} \alternative{{bes:7}{c:maj}}
> >    }
> >    \new Staff \relative c'{
> >      \repeat volta 2 { c4 d e f g a b c } \alternative{{g2 e }{c1}}
> >    }
> >
> >  \layout { %was paper
> >    \context {
> >      \Score %was ScoreContext
> >      \consists "Volta_engraver"
> >      \override VoltaBracket #'minimum-space = #0
> >    }
> >    \context {
> >      \Staff %was \StaffContext
> >      \remove "Volta_engraver"
> >    }
> >  }
> > }
> > ------------------Mats example --------------------------
> > \version "2.4.0"
> > \score {
> >     <<
> >   \new ChordNames \with {
> >       voltaOnThisStaff = ##t
> >   } \chordmode {
> >      c1 c b
> >   }
> >   \new Staff \with {
> >       voltaOnThisStaff = ##f
> >   }  {
> >    \repeat volta 2 { c'1 } \alternative {{ c' } {b} }
> >   }
> >
> > }
> >
> >>-- Original Message --
> >>Date: Sat, 16 Apr 2005 14:17:32 +0200
> >>From: Mats Bengtsson <address@hidden>
> >>To:  address@hidden
> >>CC:  address@hidden
> >>Subject: Re: lead sheet chords position with \alternative
> >>
> >>
> >>See http://lists.gnu.org/archive/html/lilypond-user/2004-11/msg00806.html
> >>
> >>   /Mats

-- 
Erik




reply via email to

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