Hello Son,

I guess at your problem because I am not sure I grasp it. You are worried that the dynamics avoid the bar numbers from bar 2 on, is that right?

Well, lilypond places the dynamics in a way that collisions are avoided, and the dynamics are treated independently of each other (with the exception of dynamics that are contiguous in time, I think these stay at the same vertical offset). To verify what this means, let your notes go up over the bar (c with 2 ledger lines is not weird for a soprano), and watch the dynamics go up with it. And this is good engraving practice!

Nevertheless, if you want the dynamics to stay at the same vertical offset, of course you can achieve that. Create a separate \new Dynamics above your Staff, and put the dynamics, with spacer rests for the timing, into that Dynamics (and only in that Dynamics of course). I can provide an example if you want.

Rutger Hofman
Amsterdam

P.S. In a minimal example, why not discard the lyrics? and the skipBars? And the instrument names? Etc?

On 03/08/2017 05:15 PM, Son_V wrote:
Well, I know it's not a good example of a minimum example, but it's the
closest thing I am able to do...
Now the code is

 \layout {
  \context {
    \Score
    skipBars = ##t
    \dynamicUp
  }
}

PartPOneVoiceOne =  \relative g' {
  &\override Score.BarNumber #'break-visibility = #'#(#t #t #t)
  \clef "treble" \key es \major \time 2/2 | % 1
  \tempo "Adagio"
  g2  \p \< g4 \! g4 | % 2
  bes2 \> bes2 | % 3
  es,2 \! \< es4 f4 | % 4
  g2 \! \> f2\! \breathe \bar "|."

}

PartPOneVoiceOneLyricsOne =  \lyricmode {
  A -- ve Ma -- ri -- a gra --
  ti -- a ple -- na
}

% The score definition
\score {
  <<
    \new Staff <<
      \set Staff.instrumentName = "Soprano"
      \set Staff.shortInstrumentName = "S."
      \context Staff <<
        \context Voice = "PartPOneVoiceOne" { \PartPOneVoiceOne }
        \new Lyrics \lyricsto "PartPOneVoiceOne" \PartPOneVoiceOneLyricsOne
      >>
    >>

  >>
  \layout {}
}

If you uncomment the "\override Score.BarNumber #'break-visibility = #'#(#t
#t #t)" you will see the difference, and you will see the misalignment I am
talking of.
Can it be eliminated?

 Thanks.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Crescendo-in-the-first-beat-misaligned-to-the-others-tp200612p200906.html
Sent from the User mailing list archive at Nabble.com.

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



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

Reply via email to