I'm still working on the measure. Keith's solution works well, but when I fit it into my structure I get a beam-slope warning. Below is a "minimal" example, which is quite large, that prints just the one measure. The warning is written into the code.
* Is there a way to keep this structure and get rid of the warning? * The initial e flat in the lower staff is an eighth note, and the stem needs to extend up beyond the 32nd note beams of the grace notes. How can I do that? Thanks for the help so far. %%--- Start \version "2.19.15" \language "english" staffUp = \change Staff = "upper" staffDown = \change Staff = "lower" graceOn = { \teeny \override Stem #'no-stem-extend = ##t \override Stem #'length-fraction = #0.7 } graceOff = { \normalsize \revert Stem #'no-stem-extend \revert Stem #'length-fraction } global = { \key bf \minor \time 2/4 } upperStaffTop = \relative c'' { \clef bass s2 } upperStaffBottom = \relative c' { } lowerStaffTop = \relative c' { \clef bass \staffUp \stemDown af32 [ ( bf af gf \staffDown \stemNeutral << { \voiceTwo \stemUp ef8 ) ] ~ ef4 } \new Voice { \voiceOne \scaleDurations 4/14 { \staffDown ef32 [ \( % warning: no viable initial configuration found: % may not find good beam slope \graceOn gf af bf df \staffUp \stemDown \clef treble ef gf af bf df ] \stemUp ef gf af bf \graceOff } \stemNeutral df16^> ( [ bf ] ) \) r8 } >> } lowerStaffBottom = \relative c { bf2 } %% %% Below is boilerplate %% upperStaff = { \clef treble \global << \new Voice { \voiceOne \upperStaffTop } \new Voice { \voiceTwo \upperStaffBottom } >> } lowerStaff = { \clef bass \global << \new Voice { \voiceThree \lowerStaffTop } \new Voice { \voiceFour \lowerStaffBottom } >> } \score { \new PianoStaff << \new Staff = "upper" \upperStaff \new Staff = "lower" \lowerStaff >> \layout{ } } %%--- End Knute Snortum (via Gmail) On Sun, Nov 30, 2014 at 2:04 PM, Keith OHara <k-ohara5...@oco.net> wrote: > On Sat, 29 Nov 2014 07:44:39 -0800, Knute Snortum <ksnor...@gmail.com> > wrote: > > I've attached a picture of the measure. [Debussy Prelude #2, "Voiles"] >> > > This piece uses a whole-tone scale (not in the part with the cross-staff > grace notes of Knute's example, but most of the rest of the piece) so I > would be tempted to print a version of this with > > wholeTone = #`( > (0 . ,NATURAL) (1 . ,NATURAL) (2 . ,NATURAL) > (3 . ,SHARP) (4 . ,SHARP) (5 . ,FLAT) (6 . ,FLAT)) > > \key c\wholeTone > > and see if it is easier to read with all the accidentals moved into a key > signature. > >
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user