2015-12-30 15:24 GMT+01:00 Kieren MacMillan <kieren_macmil...@sympatico.ca>:

> Hi Harm,
>
> For a _simple_ ottavation you don't need to add:
>
> \ottava #1
>
> ^^^^^^^^^^^^^^
> delete it.
>
>
> … but then the note doesn’t get engraved correctly?
> (see attached screenshot)
>
> Thanks,
> Kieren.
>
>
You're right, my bad.
But the following works

#(define eightva
  #{
    \markup
      %% messing around with \with-dimensions, because OttavaBracket has no
      %% possibility to set details.stencil-align-dir-y
      %% :((
      \with-dimensions #'(0 . 4) #'(0 . 2.8)
      \italic \concat { "8" \raise #0.5 { \hspace #0.25 "va" } \hspace #0.5
}
  #})

{
  \once \override Staff.OttavaBracket.shorten-pair = #'(-10 . -10)
  %% nb, the order:
  \ottava #1
  \set Staff.ottavation = #eightva
  c''''1
}

Cheers,
  Harm

P.S.
The image was not _attached_
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to