Re: How to shift trill to below phrasing slur?
Thus said Thomas Morley on Tue, 01 Dec 2020 21:07:22 +0100: > avoid-slur is the correct method: Is see, thank you! The problem was apparently I didn't know that the \trill was part of Script object (I think that's the term) so I had put the avoid-slur property on the wrong thing. Thanks, Andy
Re: Control of score visibility based on variables
Hello Vaughan, I lifted an idea from your solution. I was looking for the if-statement, and didn't know the syntax for doing so. My solution looks like: isAmenFPO = ##t $(if (eq? isAmenFPO #t) #{ \score { ... } % end score #} ) Many thanks, mattfong On Tue, Dec 1, 2020 at 7:15 AM Matthew Fong wrote: > Hello Vaughan, > > Many thanks for this. I haven't read up using books. This seems like it > will do the trick! > > > mattfong > > On Mon, Nov 30, 2020 at 8:22 PM Vaughan McAlley > wrote: > >> On Tue, 1 Dec 2020 at 04:08, Matthew Fong wrote: >> > >> > Hello everyone, >> > >> > I have multiple scores in my LilyPond file, and I was wondering if >> there is a programmatic way to selectively hide and show scores based on >> variables, or would this have to be done at the note and lyrics level? >> > >> > >> > Many thanks, >> > mattfong >> >> Hi Matthew, >> >> I used something like the attached file for a big eight-movement work… >> >> Cheers, >> Vaughan >> >> >>
Re: How to shift trill to below phrasing slur?
Hi Harm, avoid-slur is the correct method: %#(ly:set-option 'debug-skylines #t) \score { { \time 12/8 \relative c' { a8 b\( c a b c d e f d e f g a b g a b c2. \once \override Script.avoid-slur = #'inside d2.\trill \grace { c16 d } e2.\) } } } Though, for unrelated reasons I had enabled 'debug-skylines and noticed the last part of the PhrasingSlur is not recognized from skylines. See attached image (done with current master). A bug? Thus, cc-ing -devel. That happened with: 6d76be6462d3595851b0fe3c13ba238b5cdbbddf is the first bad commit commit 6d76be6462d3595851b0fe3c13ba238b5cdbbddf Author: Han-Wen Nienhuys Date: Fri May 1 09:09:24 2020 +0200 Build slur skyline out of segments rather than boxes. This provides more precise skylines. The regtest shows 11 images that changed, with tighter formatting for files involving slurs. https://sourceforge.net/p/testlilyissues/issues/5936 http://codereview.appspot.com/577820043 Lukas
Re: How to shift trill to below phrasing slur?
Am Di., 1. Dez. 2020 um 16:31 Uhr schrieb Andy Bradford : > > Hello, > > I have a small section of music that has a trill that Lilypond places on > top of a phrasing slur, but I would like it beneath (between the staff > and the slur). > > I've tried to use: > > -\tweak Y-offset #-3 \trill > > And it doesn't seem to have any effect at all (even though modifications > to the X-offset do). I've also looked at the avoid-slur property but I'm > not sure I know how to use it (and attempts I've made haven't seemed to > make a difference). > > Here's MWE: > > \version "2.18.2" > > \score { > { > \time 12/8 > \relative c' { > a8 b\( c a b c d e f d e f > g a b g a b c2. > d2.\trill \grace { c16 d } e2.\) > } > } > } > > Thanks for any suggestions. > > Andy > > Hi, avoid-slur is the correct method: %#(ly:set-option 'debug-skylines #t) \score { { \time 12/8 \relative c' { a8 b\( c a b c d e f d e f g a b g a b c2. \once \override Script.avoid-slur = #'inside d2.\trill \grace { c16 d } e2.\) } } } Though, for unrelated reasons I had enabled 'debug-skylines and noticed the last part of the PhrasingSlur is not recognized from skylines. See attached image (done with current master). A bug? Thus, cc-ing -devel. Cheers, Harm
Stanza Collision
I’m still working on getting my modified slur spacing issues worked out and have yet to come up with a solution for the collision between \set stanza = "*" and the words when a slur occurs on either side of the asterisk. (You’ll note that the first asterisk in the MWE doesn’t have any problems as the syllables around it have no slurs.) At this point, I’m wondering if there isn’t just some sort of manual way to say “insert additional space here” that won’t effect the alignment of the lyrics and the notes. I’ve tried overriding with the padding and X-offset properties of StanzaNumber, but while I can use these to push the asterisk around with these (and even get rid of the collision all together with StanzaNumber.padding = #0), they don’t create more space for the asterisk to occupy. Playing with X-extent doesn’t seem to do anything. I also tried overriding LyricsText.X-offset on the syllables on either side of the asterisk, but that broke the alignment between the Lyrics and its note. Playing with X-extent doesn’t seem to do anything. Are there other ways of inserting space into the lyrics (that will move the notes above to preserve relative alignment) that I haven’t tried? ✝✝ Fr. Samuel, OSB (R. Padraic Springuel) St. Anselm’s Abbey 4501 South Dakota Ave, NE Washington, DC, 20017 202-269-2300 (c) 202-853-7036 PAX ☧ ΧΡΙΣΤΟΣ slur spacing.ly Description: Binary data
How to shift trill to below phrasing slur?
Hello, I have a small section of music that has a trill that Lilypond places on top of a phrasing slur, but I would like it beneath (between the staff and the slur). I've tried to use: -\tweak Y-offset #-3 \trill And it doesn't seem to have any effect at all (even though modifications to the X-offset do). I've also looked at the avoid-slur property but I'm not sure I know how to use it (and attempts I've made haven't seemed to make a difference). Here's MWE: \version "2.18.2" \score { { \time 12/8 \relative c' { a8 b\( c a b c d e f d e f g a b g a b c2. d2.\trill \grace { c16 d } e2.\) } } } Thanks for any suggestions. Andy
Re: Control of score visibility based on variables
Hello Vaughan, Many thanks for this. I haven't read up using books. This seems like it will do the trick! mattfong On Mon, Nov 30, 2020 at 8:22 PM Vaughan McAlley wrote: > On Tue, 1 Dec 2020 at 04:08, Matthew Fong wrote: > > > > Hello everyone, > > > > I have multiple scores in my LilyPond file, and I was wondering if there > is a programmatic way to selectively hide and show scores based on > variables, or would this have to be done at the note and lyrics level? > > > > > > Many thanks, > > mattfong > > Hi Matthew, > > I used something like the attached file for a big eight-movement work… > > Cheers, > Vaughan > > >