Hi, still working on that Bach/Busoni piece, I again tried to get the b&h style collision handling.
The default behaviour of LilyPond can be seen in bh-default.png, generated from bh-default.ly. My first solution to get an output closer to the b&h edition was bh-wide.png, generated from bh-wide.ly. As the name indicates, that pair of stem-down notes results in a far too wide spacing, so I tried to narrow it a little bit. I don't want to tweak on both notes (the g and the bes), so I seeked the documenatation once again and tried to fiddle with extra-X-extent. The result is bh-strange.png (bh-strange.ly). Exactly what I want, with two *big* flaws: 1. I really don't unterstand the semantics of that pair of numbers assigned to extra-X-extent. In fact, I found that strange version by trial and error. 2. The bes is moved left, but the g's dot also, thus covered by the g's head. Well, I tune the extra-X-extent of the NoteHead, so I shouldn't complain ;-) What I need is: "move that g as well as its dot 1.7 staff sizes right, and reduce the spacing right of it by up to 1.7 staff sizes." (If spacing is thight, I don't want the g or its dot collide with the bes. Has anyone an idea how to get it right? Ciao, Kili
\include "deutsch.ly" \version "2.1.20" bh = {} treble = \notes \relative c' { \key d \minor << {<e b' e>8-^ s8} \\ {g8. f16} >> << <e a e'>4-^ \\ {\bh g8. b16} >> << {s8. <a e'>16-|} \\ {a8. g16} >> } bass = \notes \relative c' { \key d \minor << {<d, b' d>8 s <cis a' cis>4 s8. <cis e'>16-|} \\ {g'8. f16 \bh g8. b16 a8. g16} >> } \score { \context PianoStaff << \time 3/4 \context Staff = treble << \context Voice = one { \treble } >> \context Staff = bass << \clef bass \context Voice = one { \bass } >> >> \paper { indent = 0\mm raggedright = ##t } }
<<attachment: bh-default.png>>
\include "deutsch.ly" \version "2.1.20" % Use Breitkopf & Härtel's arrangement for a dotted stem-down note running % into a stem-up chord if the single note can't be placed vertically in line % with the chord. See measures 13, beat 2 for an example. bh = { \once \property Voice.NoteColumn \override #'force-hshift = #1.7 } treble = \notes \relative c' { \key d \minor << {<e b' e>8-^ s8} \\ {g8. f16} >> << <e a e'>4-^ \\ {\bh g8. b16} >> << {s8. <a e'>16-|} \\ {a8. g16} >> } bass = \notes \relative c' { \key d \minor << {<d, b' d>8 s <cis a' cis>4 s8. <cis e'>16-|} \\ {g'8. f16 \bh g8. b16 a8. g16} >> } \score { \context PianoStaff << \time 3/4 \context Staff = treble << \context Voice = one { \treble } >> \context Staff = bass << \clef bass \context Voice = one { \bass } >> >> \paper { indent = 0\mm raggedright = ##t } }
<<attachment: bh-wide.png>>
\include "deutsch.ly" \version "2.1.20" % Use Breitkopf & Härtel's arrangement for a dotted stem-down note running % into a stem-up chord if the single note can't be placed vertically in line % with the chord. See measures 13, beat 2 for an example. bh = { \once \property Voice.NoteColumn \override #'force-hshift = #1.7 \once \property Voice.NoteHead \override #'extra-X-extent = #'(-1.7 . -1.7) } treble = \notes \relative c' { \key d \minor << {<e b' e>8-^ s8} \\ {g8. f16} >> << <e a e'>4-^ \\ {\bh g8. b16} >> << {s8. <a e'>16-|} \\ {a8. g16} >> } bass = \notes \relative c' { \key d \minor << {<d, b' d>8 s <cis a' cis>4 s8. <cis e'>16-|} \\ {g'8. f16 \bh g8. b16 a8. g16} >> } \score { \context PianoStaff << \time 3/4 \context Staff = treble << \context Voice = one { \treble } >> \context Staff = bass << \clef bass \context Voice = one { \bass } >> >> \paper { indent = 0\mm raggedright = ##t } }
<<attachment: bh-strange.png>>
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user