How to control beamed stem length to avoid collision?

2014-09-04 Thread steve

  Howdy!

  For some reason lilypond ( 2.18.0) doesn't get this correct
straight
out of the box, though there is lots of room for slightly shorter stems...
shouldn't
need to move the note column...

http://www.gooeytar.com/projects/test/granada_test.pdf

  How do I fix this stem collision?

   Using this thing will lengthen stems but not shorten them

\once \override Stem.details.beamed-lengths = #'(7)
\once \override Stem.details.beamed-lengths = #'(2)

   Code below..

  thanx - steve

*

\version 2.18.0

\paper { }

\header { }

#(set-global-staff-size 19)

 first = \relative c' {
\set Staff.instrumentName = Guitar 
\set Staff.connectArpeggios = ##t
\key e \major
\tempo Allegretto
\tuplet 3/2 { e16([ fis e) } d8]~ d8~ |
 }

 second = \relative c' {
\once \override Stem.details.beamed-lengths = #'(1)
 g b 8  g b   g b  |
 }

 third = { }

 fourth = \relative c {
g4.
 }

 guitar =  \first \\ \second \\ \third \\ \fourth 

global = {
\clef G_8
\time 3/8
\set harmonicDots = ##t
\set Staff.connectArpeggios = ##t
}

\score {
  \new StaffGroup \with {
\consists Span_arpeggio_engraver
\override StaffGrouper #'staff-staff-spacing =
#'((basic-distance . 12)
   (minimum-distance . 8)
   (padding . 2))
}

   \global \guitar 

 \layout { }
}




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


Re: How to control beamed stem length to avoid collision?

2014-09-04 Thread Simon Albrecht

Hello Steve,

admittedly this is not easy to figure out.

\once \override Beam.positions = #'(-3.5 . -3.5)
is what you want here. It specifies the y position of the left and right 
ends of the beam in staff-space units.



Yours,
Simon

Am 04.09.2014 um 20:11 schrieb st...@linuxsuite.org:

   Howdy!

   For some reason lilypond ( 2.18.0) doesn't get this correct
straight
out of the box, though there is lots of room for slightly shorter stems...
shouldn't
need to move the note column...

http://www.gooeytar.com/projects/test/granada_test.pdf

   How do I fix this stem collision?

Using this thing will lengthen stems but not shorten them

\once \override Stem.details.beamed-lengths = #'(7)
\once \override Stem.details.beamed-lengths = #'(2)

Code below..

   thanx - steve



\version 2.18.0

\paper { }

\header { }

#(set-global-staff-size 19)

 first = \relative c' {
\set Staff.instrumentName = Guitar 
\set Staff.connectArpeggios = ##t
\key e \major
\tempo Allegretto
\tuplet 3/2 { e16([ fis e) } d8]~ d8~ |
 }

 second = \relative c' {
\once \override Beam.positions = #'(-3.5 . -3.5)
 g b 8  g b   g b  |
 }

 third = { }

 fourth = \relative c {
g4.
 }

 guitar =  \first \\ \second \\ \third \\ \fourth 

global = {
\clef G_8
\time 3/8
\set harmonicDots = ##t
\set Staff.connectArpeggios = ##t
}

\score {
  \new StaffGroup \with {
\consists Span_arpeggio_engraver
\override StaffGrouper #'staff-staff-spacing =
#'((basic-distance . 12)
   (minimum-distance . 8)
   (padding . 2))
}

	   \global \guitar 

 \layout { }
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user