Trevor,

Thanks for the suggestion. I didn't want to overflow the email with code,
but I see your point.

Here the compilable example:

\version "2.18.2"
\language "english"


\paper {
  #(set-paper-size "letter")
}


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

Tiple = \relative c'' {
  \global
  % Music follows here.
  \showStaffSwitch
  d2. c4 b a g2~ g g c2. b4 a g f2 a1 bf2. a4
}

Alto = \relative c'' {
  \global
  % Music follows here.
  \showStaffSwitch
  b, a g2 d' g~ g4 f e d c1 c2. b4 \change Staff=down \stemUp a g f e d2
\change Staff=up \stemDown d'4 c
}

Tenor = \relative c' {
  \global
  % Music follows here.
  \showStaffSwitch
  g1 g g a a a g
}

Baxo = \relative c {
  \global
  % Music follows here.
  \showStaffSwitch
  g1\rest g'2. f4 e4 d c b a g f2 f'1 f4 e d c bf a g2~
}



\score {
  \new PianoStaff \with {
    instrumentName = "Organ"
  } <<
    \new Staff = "up" \with {
    } << \Tiple \\ \Alto >>
    \new Staff = "down" \with {
    } { \clef bass << \Tenor \\ \Baxo >> }
  >>
  \layout { }
}

And here the result:
[image: Inline image 1]

As you all can see, at staff 6 and 7 Tenor and Alto overlap. I tried to
insert \override NoteColumn.force-hshift = #n with various n's both to the
Alto and the Tenor but it has no effect whatsoever.

Thanks for the help!

Geppo
On Sun, Jun 4, 2017 at 12:35 PM, Trevor Daniels <[email protected]>
wrote:

> Hi Geppo
>
> You'd be more likely to get a reply if you posted an
> immediately compilable example showing the problem.
>
> Trevor
>
>
> ----- Original Message -----
> *From:* Giampaolo Orrigo <[email protected]>
> *To:* [email protected]
> *Sent:* Saturday, June 03, 2017 12:02 AM
> *Subject:* Alignment problem
>
> Hi,
>
> trying to type an organ piece.
> Here the original code:
>
> Tiple = \relative c'' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   d'2. c4 b a g2~ g g c2. b4 a g f2 a1 bf2. a4
> }
>
> Alto = \relative c'' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   b a g2 d' g~ g4 f e d c1 c2. b4 \change Staff=down \stemUp a g f e d2
> \change Staff=up \stemDown d'4 c
> }
>
> Tenor = \relative c' {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   g g g a a a g
> }
>
> Baxo = \relative c {
>   \global
>   % Music follows here.
>   \showStaffSwitch
>   g\rest g'2. f4 e4 d c b a g f2 f'1 f4 e d c bf a g2~
> }
>
> When compiling I get the attached Capture1.jpg. The command
>
> \override NoteColumn.force-hshift = #-0.7
>
> Has no effect neither on the Alto nor on the Tenor.
>
> How can I correct the alignment of the notes?
>
> Thanks!
>
> Geppo
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>  Virus-free.
> www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> <#m_-4807866917347274571_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ------------------------------
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to