lilypond-user
[Top][All Lists]
Advanced

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

Re: extra bar


From: Mats Bengtsson
Subject: Re: extra bar
Date: Wed, 02 Nov 2005 10:36:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

Actually, \cadenzaOn is just a shorthand for
\set Timing.timing = ##f
Arthur's code would probably work as expected if changed
score.timing into Score.timing or Timing.Timing (the latter
is recommended) or the shorthand \cadenzaOn.
Note that LilyPond is sensitive about uppercase/lowercase!

  /Mats

Edward Neeman wrote:

If you don't want barlines (except where you specify
them explicitly) add /cadenzaOn to any of the parts. Otherwise it will add bars in 4/4 (default) time.

Cheers,
Edward Neeman
--- Arthur Dyck <address@hidden> wrote:

Can anyone tell me why I have an extra bar before
the double bar? I don't want it.

\version "2.6.0"
global = {
       \key g \major
       \set score.timing = ##f
       \set Staff.autoBeaming = ##f
}
\layout {
       raggedright = ##t
}
\header { title = ""
               subtitle = ""
tagline = "" poet = "" composer = "" }

#(set-global-staff-size 15)

upperOne = \relative c''{
       \voiceOne
       \key g \major
       a2 b1 \bar "|."
               }
upperTwo = \relative c'{
       \voiceTwo
       fis2 g1
}

lowerOne = \relative c' {
       \key g \major
       \voiceOne
       d2 d1
} lowerTwo = \relative c {
       \voiceTwo
       d2 g1
}

firstverse = \lyricmode {
       A -- men
    }


\score{ \context StaffGroup<< \context Staff = "upper" <<
                       \clef treble
                       \context Voice = "one"
\upperOne
                       \context Voice = "two"
\upperTwo >> \lyricsto "one" \new Lyrics { \firstverse }

\context Staff = "lower" << \clef bass
                                       \context
Voice = "one" \lowerOne
                                       \context
Voice = "two" \lowerTwo
                                       >>
               >>

\layout {
\context{\Staff
                       \remove
"Time_signature_engraver"
               }
               \context{\StaffGroup
               }

               \context{\Score
               barNumberVisibility = #all-invisible
               }
       }


\midi { } }
\paper {

       topmargin = .0\in
       leftmargin = .1\in
linewidth = 5\in indent = 0
       pagenumber = "no"
       }

Thanks.

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




                
____________________________________________________ Do you Yahoo!? The New Yahoo! Movies: Check out the Latest Trailers, Premiere Photos and full Actor Database. http://au.movies.yahoo.com


        

        
                
____________________________________________________ Do you Yahoo!? Yahoo! Photos: Now with unlimited storage http://au.photos.yahoo.com


_______________________________________________
lilypond-user mailing list
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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