lilypond-user
[Top][All Lists]
Advanced

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

Re: Help with repeats


From: Mats Bengtsson
Subject: Re: Help with repeats
Date: Mon, 10 Jan 2005 15:38:11 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

See http://lists.gnu.org/archive/html/lilypond-user/2005-01/msg00013.html

   /Mats


Alberto Manuel Brandao Simoes wrote:
Hi all.

I'm starting to use lilypond and I'm having a problem with the rendering
of alternatives into repeats. I'm sending the PostScript and the
Lilypond in attach to help to explain the problem... the repeat headers
(with the time -- 1 and 2) are not vertically aligned...

Thanks for the help.
Alb


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

\header {
  title = "O diabo és tu"
  composer = "Lourenço Júnior"
}

\score {
  \notes {
    \modernAccidentals
    \time 2/4
    \clef treble
    \key f \major
    \relative c'' {
      \partial 8 a8     
      \repeat volta 2 {
        d16 d8 e16 f8 cis
        e16 d8 a16 c8 g
        bes16 e,8 f16 g8 f
        a4 r8 a8

        d16 d8 e16 f8 cis
        e16 d8 a16 c8 g
        bes16 e,8 f16 g8 f
        a4 r8 a8

        g16 bes8 g16 bes8 g
        f16 a8 f16 a8 f
        e16 g8 e16 g8 e
        a4 r8 a8

        g16 bes8 g16 bes8 g
        f16 a8 f16 a8 f
        e16 g8 e16 g8 e
        d4 r8 d16 d

        % double bar
        \bar "||"

        c16 e8 c16 e8 c
        f16 f8 a16 d8 c
        e,16 e8 a16 d8 c
        a4 r8 d,16 d

        c16 e8 c16 e8 c
        f16 f8 a16 d8 c
        e16 e8 d16 c8 e,
        f8 r8 <a f'>8 d,16 d      

        c16 e8 c16 e8 c
        f16 f8 a16 d8 c
        e,16 e8 a16 d8 c
        a4 r8 d,16 d

        c16 e8 c16 e8 c
        f16 f8 a16 d8 c
        e16 e8 d16 c8 e,
        
      }
      \alternative {
        { f8 r8 <a f'>8 a } { f8 r8 <a f'> r8 }
      }
      \bar "|."
    }
  }
  \paper { }
  \midi { \tempo 4=120 }
}


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

_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        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]