【问题标题】:Including Lilypond in LaTeX在 LaTeX 中包含 Lilypond
【发布时间】:2012-04-26 12:08:06
【问题描述】:

它声明here,我必须像这样将 Lilypond 包含到 LaTeX 中:

\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}

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

【问题讨论】:

    标签: lilypond


    【解决方案1】:

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

    这在 lilipond 文档的不同部分进行了解释: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Invoking-lilypond_002dbook#Invoking-lilypond_002dbook

    【讨论】:

    • 我一直在 CTAN 上搜索 lilypond.sty,但它不存在。只有上下文存在。
    • 好的,我想我明白了这个问题。我会编辑我的答案,因为它是错误的
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-04
    • 1970-01-01
    • 2013-11-30
    • 1970-01-01
    • 1970-01-01
    • 2010-10-18
    相关资源
    最近更新 更多