Lilypond 包括乳胶中的紫丁香

Lilypond 包括乳胶中的紫丁香,lilypond,Lilypond,它说,我必须像这样在乳胶中加入Lilypond: \documentclass[a4paper,10pt]{report} \usepackage[utf8x]{inputenc} \begin{document} \begin{lilypond} \relative c'' { \time 4/4 < a e' a >2 < a e' a >4 < a e' a >8 < a e' a >8 } \end{lilypond} \end

它说,我必须像这样在乳胶中加入Lilypond:

\documentclass[a4paper,10pt]{report}
\usepackage[utf8x]{inputenc}

\begin{document}
\begin{lilypond}
\relative c'' {
\time 4/4

< a e' a >2 
< a e' a >4
< a e' a >8
< a e' a >8 

} 
\end{lilypond}
\end{document}
\documentclass[a4paper,10pt]{report}
\usepackage[utf8x]{inputenc}
\开始{document}
\开始{lilypond}
\相对c“{
\时间4/4
2
4
8
8
} 
\结束{lilypond}
\结束{document}

但这不起作用,因为命令
\begin{lilypond}
没有被识别,所以我最终什么都没有。我必须包括任何包或什么?该教程太草率了…

lilipond环境的.tex文件必须使用
lilipond book
编译,例如使用命令
lilypond book-f latex--psfont--output TEX_FILE.TEX

lilipond文档的另一部分对此进行了解释:

我一直在CTAN上搜索lilypond.sty,但它不在那里。只有上下文。好的,我想我理解这个问题。我将编辑我的答案,因为它是错误的