lilypond-user
[Top][All Lists]
Advanced

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

Re: hairpins collide with markup


From: Pierre Perol-Schneider
Subject: Re: hairpins collide with markup
Date: Fri, 16 Aug 2019 09:12:52 +0200

Hi Rachel,
Remove the first '\down to avoid the message error.
Here's a possible code:

\version "2.19.81"
\language "english"

pedaldn = \markup \concat \vcenter \center-align { D \tiny\natural }
pedalan = \markup \concat \vcenter \center-align { A \tiny\natural }
pedaldf = \markup \concat \vcenter \center-align { D \tiny\flat }
pedalgf = \markup \concat \vcenter \center-align { G \tiny\flat }

up = \change Staff = "treble"
down = \change Staff = "bass"

Treble = { s2.*2 }

Bass = \relative c {
  \clef bass
  \time 6/8
  gf16 ef' gf \up bf ef ef \down gf,, ef' bf' \up c ef ef |
  \down f,, c' a' \up c f a \down bf,, f' bf \up df f bf |
}

dyn = {
  s2.\<-\pedalgf -\markup \concat \vcenter \center-align { C \tiny\natural }
  s4.-\pedalan-\pedaldn s4-\pedaldf s16 s\!
}

\score {
  \new GrandStaff
  <<
    \new Staff = "treble" { \Treble }
    \new Staff = "bass" { \Bass }
    \new Dynamics \with { \revert TextScript.font-shape  } { \dyn }
  >>
}

Cheers,
Pierre

Le ven. 16 août 2019 à 04:25, Rachel Knight via lilypond-user <address@hidden> a écrit :


Begin forwarded message:

From: Rachel Knight <address@hidden>
Subject: Re: hairpins collide with markup
Date: August 15, 2019 at 6:17:18 PM MST
To: Ben <address@hidden>

Hi Ben,
Thanks for replying. I’m still not sure how to fix the error. Aren’t “bass” and “treble” the same context type? Would you be able to send me code for this example without the collisions?
Best,
Rachel

_______________________________________________
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]