Hi Trevor, Thanks for the tips. I studied the section you mentioned and found the parameter that did the trick – the #'stencil-offset. I had to fiddle with the numbers for a moment to align the wavy lines properly with the "real" long trill line. Now it looks quite nice, though. :-)
The snippet below also contains an example how I tried to use the #'to-barline = ##t parameter. I wonder if the syntax is OK? -Risto http://www.nabble.com/file/p13082975/trb2.png Snippet in PNG %%%%%%% Snippet revisited %%%%%%% \version "2.11.32" trstyle = { \override TextSpanner #'style = #'trill \override TextSpanner #'edge-height = #'(0 . 1) } trflatstartI = { \trstyle \override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER \override TextSpanner #'bound-details #'left #'stencil-offset = #'(-0.3 . 0.15) \override TextSpanner #'bound-details #'left #'text = \markup{\musicglyph #"scripts.trill" \raise #1.0 \smaller \flat} } trflatstartII = { \trstyle \override TextSpanner #'bound-details #'left #'stencil-align-dir-y = #CENTER \override TextSpanner #'bound-details #'left #'stencil-offset = #'(-0.6 . 0.85) \override TextSpanner #'bound-details #'left #'text = \markup{ \column{\tiny\smaller\smaller\smaller{\flat} {\musicglyph #"scripts.trill"}}} } one = \relative c' { f2.. \startTrillSpan f8 \stopTrillSpan | \trflatstartI f2..^\startTextSpan f8 \stopTextSpan | \trflatstartII f2..^\startTextSpan f8 \stopTextSpan | \override TextSpanner #'to-barline = ##t \trflatstartI f1^\startTextSpan | f1\stopTextSpan } \new Staff { << \one >> } %%%%%%%%%% Snippet end %%%%%%%%%% Trevor Bača-2 wrote: > > Hi Risto, > > (One of) the settings you seek is ... > > \override TextSpanner #'bound-details #'left #'stencil-align-dir-y = > #CENTER > > ... which you can, for example, include in your definition of > trflatstartI. Like this: > > > %%%%%%%% New snippet %%%%%%%%%%%%% > > -------8<------ > > %%%%%%%%% END %%%%%%%%%%%%% > > > Other goodies like this can be found under 8.1.2 "Trill and line > spanners" in the 2.11 version of the manual. > > As far as #'to-barline = ##t ... I think that that *was*, in fact, > supposed to work in precisely this case, so that may be a bug; but > I'll have to run a few more testfiles first. > > And, as a sidenote, the layered voices technique you're using is > pretty common tool for many of us on the list; even though it looks > like a pain when you first stumble upon it, the technique works > surprisingly well. Two notes, though: skips like s4 do behave > differently that (invisible) notes and rests for spacing purposes, as > you're discovering; that's perfectly normal (but I think there may be > a PaperColumn override to make skips behave the same way in the > spacing problem; again I need to check). Also, you can get rid of the > clashing note columns (which are quite common when you use hidden > voices) with the incantation ... > > \override NoteColumn #'ignore-collision = ##t > > ... which you can either set globally for an entire voice or score (or > call selectively). > > I haven't adjusted the y alignment on trflatstartII; if you figure it > out could you post back to the list? > > > > > Trevor. > > > -- > Trevor Bača > [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/Long-flat---sharp-trills-and-trills-ending-at-barline-tf4575448.html#a13082975 Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user