【问题标题】:LilyPond: formatting long footnotesLilyPond:格式化长脚注
【发布时间】:2013-09-21 06:37:20
【问题描述】:

使用 LilyPond 2.17.25 编写长脚注时,文本不会分成几行或遵守边距限制。如果可能的话,我也希望将其设置为合理对齐。

这是一个小例子:

\version "2.17.25"
{
  \footnote #'(-1 . 1)
    \markup{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget ante venenatis mi consectetur ornare. Cras facilisis dictum venenatis. Donec.}
  a'4 b' c'' d''
}

非常感谢!

【问题讨论】:

    标签: text formatting footnotes lilypond


    【解决方案1】:

    解决方案是简单地将\justify\wordwrap 添加到\markup 命令中,如下:

    \version "2.17.25"
    {
      \footnote #'(-1 . 1)
        \markup\justify{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut eget ante venenatis mi consectetur ornare. Cras facilisis dictum venenatis. Donec.}
      a'4 b' c'' d''
    }
    

    【讨论】:

    • 请注意,如果{} 块内的字符串被" 标记包围,则这不适用于\wordwrap
    • @UTF_or_Death \justify\wordwrap 都需要一个不带引号的参数。如果您使用引号,它会将参数视为单个字符串并且不会中断它。
    猜你喜欢
    • 2011-11-12
    • 1970-01-01
    • 2016-08-30
    • 2011-07-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多