lilypond-user
[Top][All Lists]
Advanced

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

Re: Fermatas with tremolos


From: Simon Albrecht
Subject: Re: Fermatas with tremolos
Date: Mon, 19 Feb 2018 21:08:50 +0100

I think the best way to do it would be essentially an override to the beam, adding the fermata to its stencils. However I have to call on the expect Schemers around here (Harm, David N.?) for finishing it, since I haven’t been able to align the fermata to the horizontal center of the beam. This is where I got – output attached:

\version "2.19.80"

#(define (beam-with-fermata grob)
   (let* ((beam-stil (ly:beam::print grob))
          (beam-width (interval-length (ly:stencil-extent beam-stil Y))))
     (ly:stencil-combine-at-edge
      beam-stil
      Y
      UP
      (ly:stencil-translate-axis
       (ly:stencil-aligned-to
        (grob-interpret-markup grob (markup #:musicglyph "scripts.ufermata"))
        X
        0)
       (/ beam-width 2)
       X))))

{
  \repeat tremolo 16 { c'32 c''}
  \once\override Beam.stencil = #beam-with-fermata
  \repeat tremolo 16 { c'32 c''}
}

Best, Simon


On 19.02.2018 12:25, Peter Toye wrote:
Fermatas with tremolos I want to engrave a fermata over a tremolo. What's the correct way of displaying this? I've looked on various fora and the consensus seems to be that the fermata sign should be midway between the notes.

The first two parts of the snippet below put it at the beginning or the end. The third one is is a bit better, but is still too far to the right. The 4th one is sort of OK, but a bit far to the left.

Is there a better way of aligning the fermata?

\version "2.19.52"

\language "english"

\repeat tremolo 16 {c'32\fermata c''}
\repeat tremolo 16 {c'32 c''\fermata}
<<
 { s2 s2^\markup { \fermata }}
 \\
{   \repeat tremolo 16 {c'32 c''} }

>>
<<
 { s4 s2.^\markup { \fermata }}
 \\
{   \repeat tremolo 16 {c'32 c''} }

>>


Regards,

Peter
mailto:address@hidden
www.ptoye.com <http://www.ptoye.com>


Oops sorry - forgot to include the snippet.


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

Attachment: Screenshot from 2018-02-19 21-06-31.png
Description: PNG image


reply via email to

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