Hello,
here's one solution you can try:

%%%%%%%%%%
\version "2.24.0"

global = {
  \key c \major
  \time 2/2
}

upper = { \clef treble \global \relative c' {
 \set tieWaitForNote = ##t
 \change Staff = "lower" g8. a16 c8. e16 \clef treble
 g8. a16 \change Staff = "upper" c8. ~ e16 ~ | < g e c >1
}}

lower = { \clef bass \global \voiceThree
 \relative c'' {
 \set tieWaitForNote = ##t
 s2
 %
 %vvvvvv
 \once \override NoteColumn.force-hshift = 0
 %^^^^^^
 %
 \hideNotes g8. ~
 a16 ~ s4 \unHideNotes | < g a >1 |
}}

\score {
% \articulate %
  \new PianoStaff <<
%    \set PianoStaff.instrumentName = "Piano  "
    \new Staff = "upper" { \accidentalStyle piano-cautionary
\set Staff.extraNatural = ##t
\set Score.tempoHideNote = ##t
\upper }
    \new Staff = "lower" \with { \consists "Span_arpeggio_engraver" }{
\accidentalStyle piano-cautionary
% \set Staff.connectArpeggios = ##t
\set Staff.extraNatural = ##t
\lower }
  >>

 \layout {}
 \midi { \tempo 4 = 180 }
}

\paper { #(set-paper-size "a4")
}
%%%%%%%%%%

Regards

Rip_mus

Il giorno mar 27 dic 2022 alle ore 18:43 Owen Le Blanc <[email protected]>
ha scritto:

> I'm doing a lot with hidden notes because of having ties and slurs
> between voices.  Sometimes this causes spacing problems, presumably
> because the hidden notes are offset relative to the visible ones.
> Note the dot after the G in this example.
> Thanks to Carl Sorenson, who previously suggested using tieWaitForNote.
>      -- Owen
> Dr O V Le Blanc
>

Reply via email to