lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stretching Line


From: Pierre Perol-Schneider
Subject: Re: Stretching Line
Date: Fri, 6 Mar 2015 09:36:19 +0100

Hi Emil, Hi Brian,

2015-03-06 5:40 GMT+01:00 Emil Salim <address@hidden>:
Hello All,

1. The second line of this music below is a bit cramped. How do I stretch it? This problem goes away if I don't include gregorian.ly.

Simply add in your score :

\layout {
  \context{
    \Lyrics
    \override LyricHyphen #'minimum-distance = #5 %% <= or any other distance
    \override LyricSpace #'minimum-distance = #5  %% <= or any other distance
  }
}

 

2. Is there a way to turn on the automatic line break again when using \cadenzaOn? Putting \bar "" \break manually for a long score is rather laborious causes inconsistency in the resulting score. 

No, there is no simple way.
At least, you have to give LP some indications where you'd like the breaks to be, e.g.:

\version "2.18.2"
\include "gregorian.ly"

myMelody = {
  \cadenzaOn
  \repeat unfold 80 a'4
  \bar"|."
}

myBreaks = {
  \repeat unfold 5 { \repeat unfold 14 { s4 } \bar"'" \break }
}

myLyrics = \lyricmode {
  \repeat unfold 80 La
}

\score {
  <<
    \new Staff \myMelody
    \addlyrics \myLyrics
    \new Dynamics \myBreaks
  >>
  \layout {
    \context {
      \Staff
      \omit Stem
      \omit TimeSignature
    }
    \context{
      \Lyrics
      \override LyricHyphen.minimum-distance = #3
      \override LyricSpace.minimum-distance = #3
    }
  }
}


HTH,
Pierre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]