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 [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