[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LaTex and LP (undefined environment)
From: |
Michael J Millett |
Subject: |
LaTex and LP (undefined environment) |
Date: |
Fri, 28 Jul 2006 13:49:17 -0500 |
I am attempting to write a file in TexShop 1.43 that includes Lilypond
code. But I keep getting the error message:
! LaTeX Error: Environment LilyPond undefined.
Here are some things I've tried:
Cut and pasted directly from the LP manual.
Have tried spelling LP as LilyPond, lilypond, Lilypond, LilyPond.app,
etc.
Have used the entire path to the application, such as:
/Users/michaelm/Desktop/LilyPondFolder/LilyPond.app.
Made sure that the the TexShop file I was creating was in the the same
folder as the Lilypond application.
Have tried adding: \usepackage {lilypond}
Have tried adding to the preamble: \newenvironment (lilypond).
Have checked the archives.
I still get the same error message.
Any ideas what I'm doing wrong?
Here is an example from TexShop:
\documentclass[a4paper]{article}
\begin{document}
Documents for @command{lilypond-book} may freely mix music and text.
For example,
\begin{LilyPond }
\relative c' {
c2 g'2 \times 2/3 { f8 e d } c'2 g4
}
\end{lilypond}
Options are put in brackets.
\begin[fragment,quote,staffsize=26,verbatim] {lilypond}
c'4 f16
\end{lilypond}
\end {document}
I am hoping eventually to create tests and handouts using TexShop with
Lilypond.
Thanks for your help.
Michael
- LaTex and LP (undefined environment),
Michael J Millett <=