Hi Paolo,
How about:

breatheWithFermata = #(define-music-function (parser location offs)
(number?)
#{
  \override BreathingSign.Y-offset = $offs
  \override BreathingSign.text = \markup {
    \override #'(baseline-skip . 1)
    \center-column {
      \musicglyph #"scripts.ufermata"
      \abs-fontsize #24 ","
    }
  }
  \breathe
#})

{
  c'2.
  % construct the symbol
  \breatheWithFermata #4
   c'4
}

Cheers,
Pierre

Le dim. 7 juin 2020 à 20:12, Paolo Prete <paolopr...@gmail.com> a écrit :

> Hello,
>
> I'm trying to create a breath with a fermata (quite common in contemporary
> music).
>
> Here is what I tried:
>
> %%%%%%%%%
>
> breatheWithFermata = #(define-music-function (parser location offs)
> (number?)
> #{
>   \override BreathingSign.Y-offset = $offs
>   \override BreathingSign.text = \markup {
>     \column {
>       \musicglyph #"scripts.ufermata"
>       \abs-fontsize #24 ","
>     }
>   }
>   \breathe
> #})
>
> {
>   c'2.
>   % construct the symbol
>   \breatheWithFermata #6
>    c'4
> }
>
> %%%%%%%%%
>
> I'm not sure this is the right way to achieve the symbol but, anyway, how
> can I
>
> 1) fix the alignment between the text "," and the fermata (so that they
> appear centered)?
> 2)  remove the vertical gap between the the text "," and the fermata
>
> Many thanks!
>
>
>
>
>

Reply via email to