2

这是我的代码:

\begin{lilypond}
\version "2.17.27"
\language "english"
\relative{
  \time 2/4
  c' c _"C.1"|
  c cs |
  c d |
  c ds |
  c e |
  c f |
  c g' |
  c, a' |
  c, as' |
  c, b' |
}
\end{lilypond}

它生成:

在此处输入图像描述

我需要但不知道该怎么做:

  1. 删除谱号和米的标记
  2. 而不是“C.1”,而是用俄语“Ч.1”
  3. 将“C.1”文本移到第一个音高下方,使其居中。
4

1 回答 1

1

以下代码应该可以解决问题:

\version "2.17.27"
\language "english"
\relative{
  \omit Staff.Clef
  \omit Staff.TimeSignature
  \time 2/4
  c' _"Ч.1" c |
  c cs |
  c d |
  c ds |
  c e |
  c f |
  c g' |
  c, a' |
  c, as' |
  c, b' |
}

只需将其放入名为document.ly(例如)的文件中并在其上运行 lilypond:

lilypond --pdf document.ly

(如果您想要 PNG 作为结果--pdf,请替换为)。--png这应该会生成一个包含以下内容的 PDF:

在此处输入图像描述

在 Ubuntu Vivid (15.04) 上使用 GNU LilyPond 2.18.2 进行测试。

于 2015-08-08T11:06:16.220 回答