lilypond-user
[Top][All Lists]
Advanced

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

Ottavation text too long for next line


From: Knute Snortum
Subject: Ottavation text too long for next line
Date: Sat, 16 May 2015 10:13:46 -0700

I have a piece where I need a fairly long ottavation text that goes from one line to the next (it says that the ottavation applies to the right hand only).  The problem is that there is only one measure on the second line and the text doesn't fit when it's repeated.  One solution is to set \break so that the ottavation is all on one line but this sometimes produces stretched or crowded measures.  Is there another solution?

\version "2.19.20"
\language "english"

octaveUp = { 
  \set Staff.ottavation = #"8va pour la main droite seulement"
  \once \override Staff.OttavaBracket.direction = #UP
  \set Voice.middleCPosition = #(- 6 5) % c'' 
}

octaveOff = {
  \unset Staff.ottavation
  \unset Voice.middleCPosition
}

\relative c' {
  <<
    {
      s1 | s1 | s1 | s1 |
      \octaveUp
      \repeat unfold 4 { e4 f g a }
      \octaveOff
      s1 | s1 | s1 | s1 | s1 | s1 | s1 | s1 | 
    }
    \\
    {
      \repeat unfold 16 { c4 d e f }
    }
  >>
}

Knute Snortum
(via Gmail)

reply via email to

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