2014-03-31 28 views
5

我有這個作爲示例表示法的例子。我如何指定 每行只有4個措施,貫穿整個作品。我搜索了整個 文檔,並沒有發現這樣一個簡單的功能。我錯過了什麼嗎?lilypond一些措施後的斷線

\version "2.18.2" 

% comment line 

\header { 
    title = "Ruska narodna pesma." 
    composer = "Narodna pesma" 
    subtitle = "-za gitaru-" 
} 

melody = { 
    \key c \major 
    \time 3/4 

    e' f e | 
    e, gis b | 
    d c b | 
    a c e | 
} 

\score { 
    \relative c' << 
     \new Staff \melody 
    >> 
    \layout { 
    } 
} 

回答

5

好吧,我發現在郵件列表答案..所以在這裏它是爲那些將來的參考誰可能有它的需要。*(感謝大衛)

\version "2.18.2" 

% comment line 

\header { 
    title = "Ruska narodna pesma." 
    composer = "Narodna pesma" 
    subtitle = "-za gitaru-" 
} 

melody = { 
    \key c \major 
    \time 3/4 

    e' f e | 
    e, gis b | 
    d c b | 
    % **EDIT** use manual breaks where you want them to appear 
    a c e | \break 
} 

\score { 
    \relative c' << 
     \new Staff \melody 
    >> 
    \layout { 
    % **EDIT** also here, specify ragged-right property 
    ragged-right = ##f 
    } 
} 
2

你應該先在文檔中找到答案。如果您轉到表示法參考索引並搜索「換行符」,您將會進入relevant chapter。 如果向下滾動,您可以看到另一種添加換行符的方式,即使用包含間隔的聲音休息(因此不可見)並將換行符放在那裏。該策略在this section中進一步解釋,具有讓您切換開/關手動換行的優點。