I would perhaps not classify this as a pure bug, but definitely as a limitation that deserves a feature request in the bug database.

As far as I can see, the same vertical position is used the for the left end of the part of the glissando before the line break as for the part after the line break, and similarly for the right end of the glissando.

It should be possible to do some more or less advanced hacks in your LilyPond file to get a better layout, but I didn't have the time to find a solution right now.

   /Mats

luis jure wrote:
dear list,

i'm trying to resolve a tricky passage involving double stop glissandi
spanning several measures. i found a solution involving three different
voices. the difficult part is that due to music spacing, i need a line
break in middle of the glissando. this works well with parallel
glissandi (top staff in the attached example), but it doesn't look so
good with divergent glissandi (lower staff). it seems the glissando
line has no memory where it was before the line break. is there a way
to improve this? should i consider this a sort of "bug"? here's my
(dirty) code (a very simplified example of the real musical situation):



\version "2.11.50"

global = {
        \time 4/4
}


ViolinI = \new Voice \with {
        \remove Forbid_line_break_engraver
     }  {
        \time 4/4
        \relative c' {
        % c 1
        c'8 c c c c c c c
        c8 c c c c c c c
        c8 c c c c c
<<
        {
        \stemDown
        <g=''' a,>4
        % c 2
        \override NoteHead #'transparent = ##t d, d d d \break
        % c 3
        d \revert NoteHead #'transparent <d c'>4
}

        \new Voice \with {
        \remove Forbid_line_break_engraver }
        {
        \override Stem #'stencil = ##f
        \override NoteHead #'transparent = ##t
        \override Glissando #'breakable = ##t
        g='''4*6\glissando c,4
        }


        \new Voice \with {
        \remove Forbid_line_break_engraver }
        {
        \override Stem #'stencil = ##f
        \override NoteHead #'transparent = ##t
        \override Glissando #'breakable = ##t
        a=''4*6\glissando d,4
        }
c8 c c c c8 c c c c c c c
        c8 c c c c c c c
        c8 c c c c c c c

}
}


ViolinII = \new Voice \with {
        \remove Forbid_line_break_engraver
     }  {
        \time 4/4
        \relative c' {
        % c 1
        c'8 c c c c c c c
        c8 c c c c c c c
c8 c c c c <<
        {
        \stemDown
        g='''8 \once \override NoteHead #'transparent = ##t d, g='''8
        % c 2
        \override NoteHead #'transparent = ##t d,4 d d d
        % c 3
        d \revert NoteHead #'transparent <d c'>4
}

        \new Voice \with {
        \remove Forbid_line_break_engraver }
        {
        \override Stem #'stencil = ##f
        \override NoteHead #'transparent = ##t
        \override Glissando #'breakable = ##t
        g='''8*13\glissando d,4
        }


        \new Voice \with {
        \remove Forbid_line_break_engraver }
        {
        s4
        \override Stem #'stencil = ##f
        \override NoteHead #'transparent = ##t
        \override Glissando #'breakable = ##t
        g='''8*11\glissando c,4
        }
c,8 c c c c8 c c c c c c c
        c8 c c c c c c c
        c8 c c c c c c c

}
}


\score {
\new StaffGroup <<
    \new Staff = "violin1" { << \global \ViolinI >> }
    \new Staff = "violin2" { << \global \ViolinII >> }
  >>
  \layout { }
}



------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to