lilypond-user
[Top][All Lists]
Advanced

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

Re: Ddoubled parentheses


From: Aaron Hill
Subject: Re: Ddoubled parentheses
Date: Mon, 02 Dec 2019 21:40:18 -0800
User-agent: Roundcube Webmail/1.3.8

On 2019-12-02 9:04 pm, Mogens Lemvig Hansen wrote:
Hi,

The NullVoice in the example below generates its own set of
parentheses so that I get two pairs – see attached.
Same problem with \new NullVoice \with { \remove
"Parenthesis_engraver" }{ \music }
Same problem in \version "2.19.82"


\version "2.18.2"

music = \relative {
  c' e \parenthesize g c
}

\score {
  \new Staff <<
    \new Voice { \music }
    \new NullVoice { \music }
  >>
}


Suggestions for removing the extra pair – other than by removing the
NullVoice altogether?

The default location for the Parenthesis_engraver is the Score context, that is why removing it from the NullVoice has no effect.

The simplest option I see is this:

%%%%
\version "2.18.2"

music = \relative {
  c' e \parenthesize g c
}

\score {
  \new Staff <<
    \new Voice { \music }
    \new NullVoice \with { \omit ParenthesesItem } { \music }
  >>
}
%%%%


-- Aaron Hill



reply via email to

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