lilypond-user
[Top][All Lists]
Advanced

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

fermatas in parentheses


From: Orm Finnendahl
Subject: fermatas in parentheses
Date: Fri, 5 Sep 2014 13:52:27 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi,

 the following code snippet typesets a fermata in parentheses by
defining a custom articulation definition which modifies the default
fermata articulation:

%<-----------------------------------------------------------------
\version "2.19.5"

parenfermata =
#(let ((m (make-music 'ArticulationEvent 'articulation-type "fermata")))
  (ly:music-set-property! m 'parenthesize #t)
  (ly:music-set-property! m 'tweaks
   (acons 'font-size -1 (ly:music-property m 'tweaks)))
  m)

\relative c' {
  \once\override ParenthesesItem.font-size = #0
  c \parenfermata }


%<-----------------------------------------------------------------

There remain 2 questions:

1. Is there a way to move the override for the font-size in the into
the definition of "parenfermata" or should this get achieved with a
markup command definition instead? I'd like to keep the syntax as
close to the original definition of a fermata as possible
(e.g. without directional signs before the \parenfermata).

2. Can this be achieved that it applies to multimeasure rest fermatas
as well?

--
Orm




reply via email to

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