Knute,

 

When I eliminated the indent ( \layout {\indent = #0} ), all of it fits on the 
first line.

 

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr....@gnu.org 
[mailto:lilypond-user-bounces+carsonmark=ca.rr....@gnu.org] On Behalf Of Knute 
Snortum
Sent: Saturday, May 16, 2015 10:14 AM
To: lilypond-user@gnu.org
Subject: Ottavation text too long for next line

 

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)

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to