水平对齐节

时间:2016-03-08 20:20:55

标签: lilypond

我使用Lilypond排版了一些笔记。不幸的是,节数不对齐多行。这是一个精简的例子:

\score {
  \new Staff <<
    \new Voice \relative c'' {
      \key d \major
      \time 2/2
      \partial 4 d,4 | fis4 g4 a4 a4 | g2 fis4 g4 \break
      \omit Score.Clef
      fis4 d4 e4 e4 | fis2 r4 d4 | fis4 g4 \bar "" \break
      a4 a4 | g2 fis4 g4 | fis4 d4 e4 e4 \break
      d2 r4 a'4 | d2 cis2 | b4 a4 a4 (gis4) | a2 r4 fis4 \bar "|."
    }

    \addlyrics { \teeny {
      \set stanza = #"1 "
      Gott, der nach sei -- nem Bil -- de aus
      \set stanza = #"1 "
      Staub den Men -- schen macht, hat uns seit
      \set stanza = #"1 "
      je zur Freu -- de ein -- an -- der zu -- ge --
      \set stanza = #"1 "
      dacht. Er fügt euch nun zu -- sam -- men, lässt
    } }

  >>
  \layout {
    indent = #0
    \context {
      \Score
      \omit BarNumber
    }
  }
}

由Lilypond提供,如下所示:

enter image description here

所以问题是:那些小1.数字如何水平对齐?

1 个答案:

答案 0 :(得分:0)

这可以通过使用左对齐的歌词而不是默认的居中歌词(http://lilypond.org/doc/v2.18/Documentation/source/Documentation/snippets/text#text-lyrics-alignment)以某种方式修复。在你的情况下,我不知道左对齐的歌词是否可取/可接受。

另一种选择是仅在第一行使用编号。这是我在所有我读过的歌曲和赞美诗书中看到的内容,但也许你有理由在每一行中保留节数。

相关问题