lilypond-user
[Top][All Lists]
Advanced

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

stopStaff at beginning of staff


From: Sean Reed
Subject: stopStaff at beginning of staff
Date: Sun, 20 Nov 2005 18:54:20 +0100

hi,

first of all, thank you hans and ly programmers for this feature. it is fantastic.

however, somehow it isn't working the way i expect.
am i doing something wrong?
did i miss something in the news?

i'd like to have no staff lines in one instrument until a few measures into the piece, but no matter how long i make the first \skip, the first \stopStaff only leaves off the staff lines for the first 2 beats (more accurately: 1 beat plus the expected 1 beat of lead-in lines), and creates a bunch of empty measures with full staff lines after that.

there's a thread in the archives which may refer to the same thing, but i didn't see a real answer. the response was to look at the example in the documentation, but in the example in the documentation you don't notice it because the stopStaff is only told to be 2 beats anyway. if you take the example from the documentation and change the first \skip, which i've pretty much done in the script below, the same thing happens.

any help would be appreciated.

best,
sean
(osx 10.4, ly 2.7.17)
--------------------------------------------
Sean Reed
Hamburg, Germany
Web: www.seanreed.de

% **********
%  example:
% **********
\version "2.7.17"

<<
  \new Staff \with
  {
    \remove "Time_signature_engraver"
    firstClef = ##f
  }
  \relative c'' {
    \stopStaff
    \skip 2*2
        
   \startStaff
    \clef treble
    bes8[ g bes g]
    \stopStaff
   \skip 2

    \startStaff
    f8 d g4

    \stopStaff
   \skip 2*2

        \startStaff
    f8 d g4
  }
  \new Staff  \relative
  {
    \time 2/4
    c4 c g' g a a g2 c4 c g' g a a g2
  }

>>






reply via email to

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