lilypond-user
[Top][All Lists]
Advanced

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

Re: h1\rest instead of R1 will not be centered


From: Davide Liessi
Subject: Re: h1\rest instead of R1 will not be centered
Date: Tue, 14 Apr 2020 13:32:18 +0200

Il giorno mar 14 apr 2020 alle ore 13:07 Bernhard Kleine
<address@hidden> ha scritto:
> While pauses in \voiceOne and \voiceTwo settings are far from centered, one 
> can use h1\rest and approriate ones  and silence the second voice. However 
> these surrogate R1 pauses are not centered in the measure. How to center 
> these h1\rest pauses?

If your goal is to have rests in both voices shown as a single rest in
its usual position, instead of manually positioning the rests I would
use the Merge_rests_engraver.

\version "2.20.0"
\new Staff \with {
  \consists "Merge_rests_engraver"
} <<
  \new Voice {
    \voiceOne
    c''4 r4 r2
    R1
  }
  \new Voice {
    \voiceTwo
    c'4 r4 r2
    R1
  }
>>

Best wishes.
Davide



reply via email to

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