lilypond-user
[Top][All Lists]
Advanced

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

Re: Alignment problem


From: Giampaolo Orrigo
Subject: Re: Alignment problem
Date: Sun, 4 Jun 2017 13:58:33 -0400

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:
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 <address@hidden> 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 -----
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

Virus-free. www.avg.com


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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