2014-02-23 19:21 GMT+01:00 Pierre Perol-Schneider
<pierre.schneider.pa...@gmail.com>:
> 2014-02-23 19:12 GMT+01:00 Phil Holmes <m...@philholmes.net>:
>
>>
>> Do you know whether it's possible to make the snippet work in both 2.14
>> and 2.18?
>>
>>
> Hum, I'll check.
> Since the alignment rules have change between those 2 versions I've no idea
> right now.



It's a bit tricky because of the font-metrics of "scripts.caesura.curved"
Note the space to the left here:

  \markup \box \musicglyph #"scripts.caesura.curved"

Though, the following coding gives the same output for 2.14., 2.16. and 2.18.

\relative c'' {
  c2.
  % construct the symbol
  \override BreathingSign #'text =
    \markup {
      \override #'(direction . 1)
      \override #'(baseline-skip . 1.6)
      \dir-column {
        \translate #'(0.155 . 0)
          \center-align \musicglyph #"scripts.caesura.curved"
        \center-align \musicglyph #"scripts.ufermata"
    }
  }
  \breathe c4
  % set the breathe mark back to normal
  \revert BreathingSign #'text
  c2. \breathe c4
  \bar "|."
}

Cheers,
  Harm

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

Reply via email to