\documentclass[a4paper]{article} \usepackage{graphics} \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} \end{document}
But I get following errors:
LaTeX Error: Environment lilypond undefined
Undefined control sequence.
l.7 \relative
LaTeX Error: \begin{document} ended by \end{lilypond}