lilypond-user
[Top][All Lists]
Advanced

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

Re: Glissando disappears after line break


From: Nick Payne
Subject: Re: Glissando disappears after line break
Date: Sun, 27 Feb 2011 12:49:53 +1100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 27/02/11 09:14, Neil Puttock wrote:
On 26 February 2011 22:01, Nick Payne<address@hidden>  wrote:
I'm using glissandos with fingering in guitar scores to indicate that a
finger should be kept on the string when moving up/down the fretboard. If
this is between bars and across a line break, the glissando does not appear
at the beginning of the new stave. Is there a way to have it show at the
beginning of the following stave.
\override Glissando #'after-line-breaking = ##t % (or ##f or #'())

The behaviour's explained here:

http://lilypond.org/doc/v2.13/Documentation/snippets/expressive-marks#controlling-spanner-visibility-after-a-line-break

This shows the problem (it also shows that
the glissando sometimes doesn't appear at the end of the previous stave
either):
There's no default for right-broken padding (it falls back to the
value for right padding, 1.5 staff spaces).

Thanks. With the after-line-breaking and a couple of additional overrides, things now display correctly:

\version "2.13.51"

\relative c' {
    \override Glissando #'breakable = ##t
    \override Glissando #'after-line-breaking = ##t
    \override Glissando #'bound-details #'right-broken #'padding = #0.5
    \override Glissando #'bound-details #'left-broken #'X = #2
    \repeat unfold 10 { c4 c c c\glissando d d d d\glissando }
}


Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]