lilypond-user
[Top][All Lists]
Advanced

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

Re: different behavior of "\remove Time_signature_engraver" in Lilypond-


From: Mats Bengtsson
Subject: Re: different behavior of "\remove Time_signature_engraver" in Lilypond-Book
Date: Mon, 07 Feb 2005 13:00:02 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

The problem is that lilypond-book adds another \layout section
before your code and how should LilyPond know which one of them
to use? There are two simple solutions:
- Move your \layout{...} before the music:
\begin{lilypond}
\layout {
  ...
}
\relative c' {
  ...
}
\end{lilypond}
- Add \score{...} to tell what belongs together:
\begin{lilypond}
\score{
\relative c' {
  ...
}
\layout {
  ...
}
}
\end{lilypond}

  /Mats

Charles Gran wrote:
If I run this as a separate lily file the time signature is removed. It is not removed when I embed this in a latex document as shown.
(WindowsXP, 2.4.2) -Charles

\begin{lilypond}
\relative c' {
\clef percussion \autoBeamOff
\cadenzaOn
c8. c16 c8 c c16 c c8
c16 c c4 c16 c c8 c
c16 c8. c8 c c c16 c
c4 c c \bar "|."
}
\layout {
  \context {
    \Staff
    \remove Time_signature_engraver
  }
}
\end{lilypond}


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