[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lilypond-Book
From: |
Mats Bengtsson |
Subject: |
Re: Lilypond-Book |
Date: |
Tue, 19 Oct 2004 12:51:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 |
Unfortunately, lilypond-book is very sensitive to the syntax of the
\begin{lilypond}...\end{lilypond} and does not allow for the extra
spaces you have introduced. Also, you don't have any ending >>.
The following seems to work well:
\documentclass[a4paper,11pt]{article}
\begin{document}
\begin {enumerate}
\item Some text.
\begin{lilypond}
\context PianoStaff <<
\context Staff = "up" {
\clef treble
\time 6/8
s4 g'8 s4 a'8 s4 g'8 s4 a'8
}
\context Staff = "down" {
\clef bass
\time 6/8
c8-- g8 s8 c8-- g8 s8
}
>>
\end{lilypond}
\end {enumerate}
\end{document}
/Mats
J L wrote:
Hi,
I'm using Lilypond 2.2.5 on cygwin, and Lilypond-Book doesn't seem to
handle Pianostaves properly. Is this a bug, or an error in my input?
e.g.
---------------------------------------------------------
\documentclass[a4paper,11pt]{article}
\begin{document}
\begin {enumerate}
\item Some text.
\begin {lilypond}
\context PianoStaff <<
\context Staff = "up" {
\clef treble
\time 6/8
s4 g'8 s4 a'8 s4 g'8 s4 a'8
}
\context Staff = "down" {
\clef bass
\time 6/8
c8-- g8 s8 c8-- g8 s8
}
\end {lilypond}
\end {enumerate}
\end{document}
-----------------------------------------------
Aligorith
_________________________________________________________________
Need more speed? Get Xtra JetStream @ http://xtra.co.nz/jetstream
_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel
--
=============================================
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
=============================================
- Lilypond-Book, J L, 2004/10/19
- Re: Lilypond-Book,
Mats Bengtsson <=