What you have done in your example below is actually to typeset a number
of separate scores after each other. Many things are optional in the LilyPond syntax, which is convenient since it saves typing but also can cause confusion
if you are not familiar to the program.
When you say something like
\relative c'{ c d e f}
at the top level of the file, this is actually a short-hand for
\score{
 \new Staff{
   \new Voice{
     \relative c'{ c d e f}
   }
 }
}

Also, if you have several \score{...} blocks following each other in the
.ly file, LilyPond will typeset them one and one after each other in the
output, and this is what happened to you.

If you want all the music below to be treated as a single score, you could
for example add
\new Staff{
before the first \relative  ...
and a matching right curly brace at the end of the file.

  /Mats

Chane wrote:
Hello again,
It's Chane again with another question. I get a time signature in all of the
lines. How can I get rid of this? I've supplyed my code. It is not exactly like the tutorial. but it works.

\version  "2.8.6"
\header { title = Overture }
        \relative a' {
        \time 4/4
        \key a \major
        \clef treble

        \tempo 4=84
r1\fermata
a4->\ff a-> a-> a-> \time 2/4
g-> b->
        \time 4/4
a'1->~\startTrillSpan \time 2/4
a2\stopTrillSpan
        \time 4/4
r4 a,-> a-> a->
        \time 2/4
g4-> b->
        \time 4/4
a'1->~\startTrillSpan
        \time 2/4
a2\stopTrillSpan  }
        \relative d'' {
        \time 4/4
        \key a \major
d4\f( cis) d-- e--
cis4( b) cis-- d--
b( a) b-- d--
a1\mp
}
        \relative a' {
        \key a \major
a1
fis'4\mf\<( e8 fis) a4\f\> a,8 r\!
r8 e'--\mf e\<[( fis)] fis[( gis)] gis\f[( a)] }
        \relative g'' {
        \key a \major
r8 gis--\mf gis\<[( a)] a[( b)] b\f[( cis)]
r8 fis,\f fis[( gis)] gis[( a)] a[( b)] }
        \relative d'' {
        \key a \major
b'8\<[( cis)] d8--[ d--] d8--\ff[ d--] d8--[ d--] \bar "||" }
        \relative b'' {
        \key f \major
c2~ c8 r8 r4 r2 bes8( g f e
a2) a,8( c e f)
ees8[( f)] f[( g]) a g a c c4( bes bes a)
f2 r2 }
        \relative f'' {
        \key f \major
r2 f8\mf( g a bes)
a4( e2 a4 bes2) d,8( e f4) }
        \relative a'' {
        \key f \major
a4( e2 a4
bes2) \breathe d,4( f
a2) a4( e
d2) d4( f8 d8) }
        \relative g'' {
        \key f \major
g2.\f\p\< a4-- \bar "||" \key c \major b2->\ff( bes->~ bes1) c2->( a2-> g2) c2-> \bar "||" }
        \relative d''' {
        \time 2/2
d1->(
c
bes
c)
d->(
c
bes
c)
b->\fff\fermata \bar "||" }
        

        








_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.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: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to