lilypond-user
[Top][All Lists]
Advanced

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

Ottava horizontal shift


From: Shane Brandes
Subject: Ottava horizontal shift
Date: Tue, 4 Jan 2011 19:23:03 -0500

Hello all,

  This is another perplexing thing. I am trying to figure out how to
shift the ottava indications directly over their corresponding chords.
There does not seem to be an obvious solution. So here is the miminmal
example. The end result should have 8va loco. 8va. loco. read in a
single line.

regards
Shane

version "2.13.0"
\relative{
 \once \override Staff.OttavaBracket #'dash-period = #0  \ottava #1
\barNumberCheck #190 \autoBeamOff
   <c' f c'>8  \ottava #0 <c, f c'>8 ^"loco." \once \override
Staff.OttavaBracket #'dash-period = #0 \ottava #1 <c' f c'>8
   \ottava #0 <c, f c'>8 ^"loco."  }


I made a viable solution, but it does not resolve the issue of the 8va
not being centered over the note of origin.

\version "2.13.0"

\relative{ \override Staff.OttavaBracket #'dash-period = #1  \ottava
#1 | \barNumberCheck #190 \autoBeamOff \set
Score.proportionalNotationDuration  = #(ly:make-moment 1 25)
    <c' f c'>8  \ottava #0 \once \override TextScript #'extra-offset =
#'(-2.5 . -2.1) <c, f c'>8 ^"loco."  \ottava #1 <c' f c'>8
    \ottava #0 <c, f c'>8 ^"loco."
    \ottava #1

  }


p.s. misspelling shift is occasionally dangerous



reply via email to

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