Sorry! I did a cut & paste in my previous email. Here is a compilable .ly file.
Phil: thank you for the info per Elaine Gould.
Pierre:  Where do I put your code?  I put if before line 26 and it is not what 
I expected.
Emmanuel,
Ming.


On Saturday, June 28, 2014 3:55:01 PM, Pierre Perol-Schneider 
<pierre.schneider.pa...@gmail.com> wrote:
 


Hi Ming,



2014-06-28 18:37 GMT+02:00 MING TSANG <tsan...@rogers.com>: 

 

Any help is appreciated.

Please provide compilable example.

This should do what you're looking for :

%%%%%%%%
{ 
  \once\override Staff.OttavaBracket.minimum-length = #30
  \once\override Staff.OttavaBracket.extra-offset = #'(30 . 0)
  \ottava #1
  c''1
  \ottava #0
}
%%%%%%%%%%%

Cheers,
Pierre
\version "2.19.8"
\language "english"
ottavaa = {
  \ottava 1
  \set Staff.ottavation = \markup \bold \concat {"8" \tiny \raise #0.7
"va" }
}

ottavab = {
  \ottava -1
  \set Staff.ottavation = \markup \bold \concat{ "8" \tiny "vb" }
}
global = {
  \key f \major
  \time 4/4
}

right =  {
  \global
  <c''e''c'''>4 \tuplet 3/2{<c'c''>8 <d'd''> <e'e''>} <e'g'e''>4 <f'a'f''> |%m66
  <f'bf'f''>2 
  \ottavaa  
    bf'''16 a''' f''' c''' bf'' a'' f'' c'' |\break %m67
  
  
  \set Staff.ottavation = #"(8va)" bf'1\fermata  %m68
  
  r2 <>\ottava #0  r8 c''8( g'' f''16 a'') |%m69

  bf''4. a'16 bf' a' f' c' f'~4 |%m71
  \ottavab
  <f g a >1\arpeggio %m72
}


\score {
  <<
     \new Staff = "right" \with {
  } \right
  >>
  \layout { }
}

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

Reply via email to