Slurs with "afterGrace"
This works: g4( \grace {a16 g16}) making a slur which includes the grace notes. But in order to get the right spacing and barring (I need grace notes to occur before the bar line, rather than after), I need to use "afterGrace": \afterGrace g4 {a16 g16} However, if I attempt to include a slur: \afterGrace g4( {a16 g16} ) I get a warning about an "Unattached SlurEvent". Lilypond makes a good guess at what I want and bungs a slur in anyway - but what does this warning mean, and how can I avoid it? Thank you! Alasdair -- 0432 854 858 https://numbersandshapes.net
Re: Ly Scheme functions reference
WOW! This seems wonderful! Thank you very much! Il sab 5 feb 2022, 20:30 Jean Abou Samra ha scritto: > > > Le 5 févr. 2022 à 20:10, Rip _Mus a > écrit : > > > > Good evening everyone, > > do you know if there is a complete reference (perhaps with tutorials) of > the use of the Scheme functions? > > In the Lilypond reference, from time to time, some functions are > explained, but it seems to me that a precise reference of each Scheme > function is missing. I know that they are explained in Internals reference, > but I wanted like to see their behaviour in action, rather then only > arguments and parameters. > > > Given the number of such functions, crafting examples for each one is just > not feasible. However, there is an Extending manual: > > https://lilypond.org/doc/v2.23/Documentation/web/extending > > and also this unofficial but much more thorough resource (disclaimer: I am > the author): > > https://extending-lilypond.readthedocs.io > > Hope that helps (and feel free to send me feedback on the latter one). > Also, it would help understanding your needs if you gave examples of things > you'd like to understand better. > > Best, > Jean > > > PS: > > > Rip_mus > > RIP Music? I hope not :-)
Re: Ly Scheme functions reference
> Le 5 févr. 2022 à 20:10, Rip _Mus a écrit : > > Good evening everyone, > do you know if there is a complete reference (perhaps with tutorials) of the > use of the Scheme functions? > In the Lilypond reference, from time to time, some functions are explained, > but it seems to me that a precise reference of each Scheme function is > missing. I know that they are explained in Internals reference, but I wanted > like to see their behaviour in action, rather then only arguments and > parameters. Given the number of such functions, crafting examples for each one is just not feasible. However, there is an Extending manual: https://lilypond.org/doc/v2.23/Documentation/web/extending and also this unofficial but much more thorough resource (disclaimer: I am the author): https://extending-lilypond.readthedocs.io Hope that helps (and feel free to send me feedback on the latter one). Also, it would help understanding your needs if you gave examples of things you'd like to understand better. Best, Jean PS: > Rip_mus RIP Music? I hope not :-)
Ly Scheme functions reference
Good evening everyone, do you know if there is a complete reference (perhaps with tutorials) of the use of the Scheme functions? In the Lilypond reference, from time to time, some functions are explained, but it seems to me that a precise reference of each Scheme function is missing. I know that they are explained in Internals reference, but I wanted like to see their behaviour in action, rather then only arguments and parameters. Thank you Rip_mus
Re: How to do TextSpanner + markup + override vertical placement all at the same time?
> Le 5 févr. 2022 à 17:34, Kenneth Wolcott a écrit : > > Hi Kevin; > > I commented that line out because I get an error when engraving it. > > GNU LilyPond 2.22.1 (running Guile 2.2) > Processing `Jeanie_With_The_Light_Brown_Hair.ly' > Parsing... > Jeanie_With_The_Light_Brown_Hair.ly:56:4: error: syntax error, > unexpected MUSIC_FUNCTION, expecting UNSIGNED or NUMBER_IDENTIFIER or > REAL > - > \tweak outside-staff-priority #605 > Jeanie_With_The_Light_Brown_Hair.ly:57:5: error: wrong type for > argument 3. Expecting music, found (markup #:line (#:bold (#:fontsize > 4 "a tempo"))) > >\markup { \bold \fontsize #4 "a tempo" } That sounds like you have -\tweak outside-staff-priority #605 \markup { ... } instead of \tweak outside-staff-priority #605 -\markup { ... } Jean > Jeanie_With_The_Light_Brown_Hair.ly:173:3: error: errors found, > ignoring music expression > > \new PianoStaff \with { instrumentName = "Piano" } > Jeanie_With_The_Light_Brown_Hair.ly:182:3: error: errors found, > ignoring music expression > > << > fatal error: failed files: "Jeanie_With_The_Light_Brown_Hair.ly" > >> On Sat, Feb 5, 2022 at 2:42 AM Kevin Barry wrote: >> >> Hi Kenneth, >> >> I think you can fix the problem with the relative positioning by >> setting the 'outside-staff-priority, e.g.: >> >> \tweak #'outside-staff-priority #0 \ottava 1 >> >> will cause the ottava marking to be put closer to the staff than the text >> span. >> >> Kevin >> >>> On Sat, 5 Feb 2022 at 01:35, Kenneth Wolcott >>> wrote: >>> >>> Hi; >>> >>> I figured out how to get the formatting of the "a tempo" and "rall." >>> merged with the text spanning; but I still can't seem to figure out >>> how to get the "a tempo" to be above the ottava marking. >>> >>> Updated screenshot attached. >>> >>> Attached full Lilypond code as well. >>> >>> Thanks, >>> Ken >>> On Fri, Feb 4, 2022 at 5:05 PM Kenneth Wolcott wrote: Hi; I know how to generate a bold and large "rall." and "a tempo". I know how to get a text span. How to merge these two concepts? Also I need to put the "a tempo" above the ottava. I think I now how to do that in a more simple context, but I'm struggling here. I have attached two screenshots. The example is the music I'm trying to engrave from while the other screenshot is what I've asked Lilypond to do, I have enclosed below an excerpt of my Lilypond code. Thanks in advance for your help. Ken Wolcott \version "2.22.0" ... \language "english" ... a_tempo = ^\markup { \bold "A tempo" } rall = ^\markup { \bold "rall." } rit = ^\markup { \bold "rit." } ... %\break bf'4. \( g'8 af' g' f' ef' | % m18 \override TextSpanner.bound-details.left.text = "rall." g'4 bf8 c'\startTextSpan ef'2 \) | % m19 f'8 \( g' ef''8. c''16 bf'8.\fermata c''16 ef'8. f'16 | % m20 g'4 g'8 f' ef'2\stopTextSpan \)| % m21 %\break \ottava 1 \transpose c c' { \override TextSpanner.bound-details.left.text = "a tempo" \grace { af'16\startTextSpan } g'8 \( f' g' bf' bf' g'' g''4 \) | % m22 c''8 \( af'' ef'' f'' g''4\stopTextSpan \) r | % m23 } \ottava 0 f''8\rall \( g'' ef''' c''' bf'' c'' ef'' f''| % m24 g''4 g''8 f'' 4 \) s| % m25 \bar "|." >
Re: Key Signature Change beyond the end of a movement.
break-align-symbols is mentioned in 2.20. http://lilypond.org/doc/v2.20/Documentation/internals/staffsymbol http://lilypond.org/doc/v2.20/Documentation/internals/staff_002dsymbol_002dinterface As you say, it should be altered with considering other effects. On 2022/02/06 1:20, Richard Shann wrote: On Sun, 2022-02-06 at 00:15 +0900, Masaki, Akikazu wrote: Hi Richard, The last spacer is not necessary, but staff lines don't reach trailing key or time signatures by default. (I guess you tried that.) yes, that's the purpose of the spacer. Set StaffSymbol.break-align-symbols property; \version "2.22.0" \layout { \context { \Staff \override StaffSymbol.break-align-symbols = #'() % \override StaffSymbol.break-align-symbols = #'(key-signature) %% a bit different result } } \markup { Movement I } { c'' c'' c'' c'' c'' c'' \bar "|." \key bes \major } Thank you for this insight. I worry what else altering this value might change, but can find no reference to break-align-symbols, a search on lilypond.org gives just one hit for break-align-symbol (not symbols) - namely http://lilypond.org/doc/v2.20/Documentation/internals/doublepercentrepeat which lead me to http://lilypond.org/doc/v2.20/Documentation/internals/break_002dalignment_002dinterface which still doesn't mention a property break-align-symbols ... I'm guessing setting this must impact something else, as otherwise the present default just leads to the rather unusual typesetting for the trailing key change. Richard Akikazu On 2022/02/05 21:58, Richard Shann wrote: When the following movement in a score is going to be in a different key the player is sometimes warned by printing a key signature change after the closing barline. The attached file accomplishes this, but I wonder if there is something less hacky that does this. In particular the spacer rest duration matters but what it is doing exactly seems a mystery. Richard Shann
Re: How to do TextSpanner + markup + override vertical placement all at the same time?
> Le 5 févr. 2022 à 11:42, Kevin Barry a écrit : > > Hi Kenneth, > > I think you can fix the problem with the relative positioning by > setting the 'outside-staff-priority, e.g.: > > \tweak #'outside-staff-priority #0 \ottava 1 I think (cannot verify this weekend) that this is only going to work in 2.23 thanks to \ottava having been converted to a stream event. In 2.22, try \once \override Staff.OttavaSpanner.outside-staff-priority = 0 \ottava 1 Jean > will cause the ottava marking to be put closer to the staff than the text > span. > > Kevin > >> On Sat, 5 Feb 2022 at 01:35, Kenneth Wolcott >> wrote: >> >> Hi; >> >> I figured out how to get the formatting of the "a tempo" and "rall." >> merged with the text spanning; but I still can't seem to figure out >> how to get the "a tempo" to be above the ottava marking. >> >> Updated screenshot attached. >> >> Attached full Lilypond code as well. >> >> Thanks, >> Ken >> >>> On Fri, Feb 4, 2022 at 5:05 PM Kenneth Wolcott >>> wrote: >>> >>> Hi; >>> >>> I know how to generate a bold and large "rall." and "a tempo". >>> >>> I know how to get a text span. >>> >>> How to merge these two concepts? >>> >>> Also I need to put the "a tempo" above the ottava. >>> >>> I think I now how to do that in a more simple context, but I'm >>> struggling here. >>> >>> I have attached two screenshots. >>> >>> The example is the music I'm trying to engrave from while the other >>> screenshot is what I've asked Lilypond to do, >>> >>> I have enclosed below an excerpt of my Lilypond code. >>> >>> Thanks in advance for your help. >>> >>> Ken Wolcott >>> >>> >>> \version "2.22.0" >>> ... >>> \language "english" >>> ... >>> a_tempo = ^\markup { \bold "A tempo" } >>> rall = ^\markup { \bold "rall." } >>> rit = ^\markup { \bold "rit." } >>> ... >>> %\break >>> bf'4. \( g'8 af' g' f' ef' | % m18 >>> \override TextSpanner.bound-details.left.text = "rall." >>> g'4 bf8 c'\startTextSpan ef'2 \) | % m19 >>> f'8 \( g' ef''8. c''16 bf'8.\fermata c''16 ef'8. f'16 | % m20 >>> g'4 g'8 f' ef'2\stopTextSpan \)| % m21 >>> %\break >>> \ottava 1 >>>\transpose c c' { >>>\override TextSpanner.bound-details.left.text = "a tempo" >>>\grace { af'16\startTextSpan } g'8 \( f' g' bf' bf' g'' g''4 \) | % m22 >>>c''8 \( af'' ef'' f'' g''4\stopTextSpan \) r | % m23 >>> } >>> \ottava 0 >>> f''8\rall \( g'' ef''' c''' bf'' c'' ef'' f''| % m24 >>> g''4 g''8 f'' 4 \) s| % m25 >>> \bar "|." >>> >
Re: How to do TextSpanner + markup + override vertical placement all at the same time?
Ah! Thank you, Kevin! On Sat, Feb 5, 2022 at 8:58 AM Kevin Barry wrote: > > Hi Kenneth, > > That line was in the file that you sent. I had to comment it out as > well. It's not related to my suggestion. > > Kevin > > On Sat, 5 Feb 2022 at 16:34, Kenneth Wolcott wrote: > > > > Hi Kevin; > > > > I commented that line out because I get an error when engraving it. > > > > GNU LilyPond 2.22.1 (running Guile 2.2) > > Processing `Jeanie_With_The_Light_Brown_Hair.ly' > > Parsing... > > Jeanie_With_The_Light_Brown_Hair.ly:56:4: error: syntax error, > > unexpected MUSIC_FUNCTION, expecting UNSIGNED or NUMBER_IDENTIFIER or > > REAL > > - > >\tweak outside-staff-priority #605 > > Jeanie_With_The_Light_Brown_Hair.ly:57:5: error: wrong type for > > argument 3. Expecting music, found (markup #:line (#:bold (#:fontsize > > 4 "a tempo"))) > > > > \markup { \bold \fontsize #4 "a tempo" } > > Jeanie_With_The_Light_Brown_Hair.ly:173:3: error: errors found, > > ignoring music expression > > > > \new PianoStaff \with { instrumentName = "Piano" } > > Jeanie_With_The_Light_Brown_Hair.ly:182:3: error: errors found, > > ignoring music expression > > > > << > > fatal error: failed files: "Jeanie_With_The_Light_Brown_Hair.ly" > > > > On Sat, Feb 5, 2022 at 2:42 AM Kevin Barry wrote: > > > > > > Hi Kenneth, > > > > > > I think you can fix the problem with the relative positioning by > > > setting the 'outside-staff-priority, e.g.: > > > > > > \tweak #'outside-staff-priority #0 \ottava 1 > > > > > > will cause the ottava marking to be put closer to the staff than the text > > > span. > > > > > > Kevin > > > > > > On Sat, 5 Feb 2022 at 01:35, Kenneth Wolcott > > > wrote: > > > > > > > > Hi; > > > > > > > > I figured out how to get the formatting of the "a tempo" and "rall." > > > > merged with the text spanning; but I still can't seem to figure out > > > > how to get the "a tempo" to be above the ottava marking. > > > > > > > > Updated screenshot attached. > > > > > > > > Attached full Lilypond code as well. > > > > > > > > Thanks, > > > > Ken > > > > > > > > On Fri, Feb 4, 2022 at 5:05 PM Kenneth Wolcott > > > > wrote: > > > > > > > > > > Hi; > > > > > > > > > > I know how to generate a bold and large "rall." and "a tempo". > > > > > > > > > > I know how to get a text span. > > > > > > > > > > How to merge these two concepts? > > > > > > > > > > Also I need to put the "a tempo" above the ottava. > > > > > > > > > > I think I now how to do that in a more simple context, but I'm > > > > > struggling here. > > > > > > > > > > I have attached two screenshots. > > > > > > > > > > The example is the music I'm trying to engrave from while the other > > > > > screenshot is what I've asked Lilypond to do, > > > > > > > > > > I have enclosed below an excerpt of my Lilypond code. > > > > > > > > > > Thanks in advance for your help. > > > > > > > > > > Ken Wolcott > > > > > > > > > > > > > > > \version "2.22.0" > > > > > ... > > > > > \language "english" > > > > > ... > > > > > a_tempo = ^\markup { \bold "A tempo" } > > > > > rall = ^\markup { \bold "rall." } > > > > > rit = ^\markup { \bold "rit." } > > > > > ... > > > > > %\break > > > > > bf'4. \( g'8 af' g' f' ef' | % m18 > > > > > \override TextSpanner.bound-details.left.text = "rall." > > > > > g'4 bf8 c'\startTextSpan ef'2 \) | % m19 > > > > > f'8 \( g' ef''8. c''16 bf'8.\fermata c''16 ef'8. f'16 | % m20 > > > > > g'4 g'8 f' ef'2\stopTextSpan \)| % m21 > > > > > %\break > > > > > \ottava 1 > > > > > \transpose c c' { > > > > > \override TextSpanner.bound-details.left.text = "a tempo" > > > > > \grace { af'16\startTextSpan } g'8 \( f' g' bf' bf' g'' g''4 \) > > > > > | % m22 > > > > > c''8 \( af'' ef'' f'' g''4\stopTextSpan \) r > > > > > | % m23 > > > > > } > > > > > \ottava 0 > > > > > f''8\rall \( g'' ef''' c''' bf'' c'' ef'' f''| > > > > > % m24 > > > > > g''4 g''8 f'' 4 \) s| > > > > > % m25 > > > > > \bar "|." > > > > >
Re: How to do TextSpanner + markup + override vertical placement all at the same time?
Hi Kenneth, That line was in the file that you sent. I had to comment it out as well. It's not related to my suggestion. Kevin On Sat, 5 Feb 2022 at 16:34, Kenneth Wolcott wrote: > > Hi Kevin; > > I commented that line out because I get an error when engraving it. > > GNU LilyPond 2.22.1 (running Guile 2.2) > Processing `Jeanie_With_The_Light_Brown_Hair.ly' > Parsing... > Jeanie_With_The_Light_Brown_Hair.ly:56:4: error: syntax error, > unexpected MUSIC_FUNCTION, expecting UNSIGNED or NUMBER_IDENTIFIER or > REAL > - >\tweak outside-staff-priority #605 > Jeanie_With_The_Light_Brown_Hair.ly:57:5: error: wrong type for > argument 3. Expecting music, found (markup #:line (#:bold (#:fontsize > 4 "a tempo"))) > > \markup { \bold \fontsize #4 "a tempo" } > Jeanie_With_The_Light_Brown_Hair.ly:173:3: error: errors found, > ignoring music expression > > \new PianoStaff \with { instrumentName = "Piano" } > Jeanie_With_The_Light_Brown_Hair.ly:182:3: error: errors found, > ignoring music expression > > << > fatal error: failed files: "Jeanie_With_The_Light_Brown_Hair.ly" > > On Sat, Feb 5, 2022 at 2:42 AM Kevin Barry wrote: > > > > Hi Kenneth, > > > > I think you can fix the problem with the relative positioning by > > setting the 'outside-staff-priority, e.g.: > > > > \tweak #'outside-staff-priority #0 \ottava 1 > > > > will cause the ottava marking to be put closer to the staff than the text > > span. > > > > Kevin > > > > On Sat, 5 Feb 2022 at 01:35, Kenneth Wolcott > > wrote: > > > > > > Hi; > > > > > > I figured out how to get the formatting of the "a tempo" and "rall." > > > merged with the text spanning; but I still can't seem to figure out > > > how to get the "a tempo" to be above the ottava marking. > > > > > > Updated screenshot attached. > > > > > > Attached full Lilypond code as well. > > > > > > Thanks, > > > Ken > > > > > > On Fri, Feb 4, 2022 at 5:05 PM Kenneth Wolcott > > > wrote: > > > > > > > > Hi; > > > > > > > > I know how to generate a bold and large "rall." and "a tempo". > > > > > > > > I know how to get a text span. > > > > > > > > How to merge these two concepts? > > > > > > > > Also I need to put the "a tempo" above the ottava. > > > > > > > > I think I now how to do that in a more simple context, but I'm > > > > struggling here. > > > > > > > > I have attached two screenshots. > > > > > > > > The example is the music I'm trying to engrave from while the other > > > > screenshot is what I've asked Lilypond to do, > > > > > > > > I have enclosed below an excerpt of my Lilypond code. > > > > > > > > Thanks in advance for your help. > > > > > > > > Ken Wolcott > > > > > > > > > > > > \version "2.22.0" > > > > ... > > > > \language "english" > > > > ... > > > > a_tempo = ^\markup { \bold "A tempo" } > > > > rall = ^\markup { \bold "rall." } > > > > rit = ^\markup { \bold "rit." } > > > > ... > > > > %\break > > > > bf'4. \( g'8 af' g' f' ef' | % m18 > > > > \override TextSpanner.bound-details.left.text = "rall." > > > > g'4 bf8 c'\startTextSpan ef'2 \) | % m19 > > > > f'8 \( g' ef''8. c''16 bf'8.\fermata c''16 ef'8. f'16 | % m20 > > > > g'4 g'8 f' ef'2\stopTextSpan \)| % m21 > > > > %\break > > > > \ottava 1 > > > > \transpose c c' { > > > > \override TextSpanner.bound-details.left.text = "a tempo" > > > > \grace { af'16\startTextSpan } g'8 \( f' g' bf' bf' g'' g''4 \) | > > > > % m22 > > > > c''8 \( af'' ef'' f'' g''4\stopTextSpan \) r | > > > > % m23 > > > > } > > > > \ottava 0 > > > > f''8\rall \( g'' ef''' c''' bf'' c'' ef'' f''| % > > > > m24 > > > > g''4 g''8 f'' 4 \) s| % > > > > m25 > > > > \bar "|." > > > >
Re: How to do TextSpanner + markup + override vertical placement all at the same time?
Hi Kevin; I commented that line out because I get an error when engraving it. GNU LilyPond 2.22.1 (running Guile 2.2) Processing `Jeanie_With_The_Light_Brown_Hair.ly' Parsing... Jeanie_With_The_Light_Brown_Hair.ly:56:4: error: syntax error, unexpected MUSIC_FUNCTION, expecting UNSIGNED or NUMBER_IDENTIFIER or REAL - \tweak outside-staff-priority #605 Jeanie_With_The_Light_Brown_Hair.ly:57:5: error: wrong type for argument 3. Expecting music, found (markup #:line (#:bold (#:fontsize 4 "a tempo"))) \markup { \bold \fontsize #4 "a tempo" } Jeanie_With_The_Light_Brown_Hair.ly:173:3: error: errors found, ignoring music expression \new PianoStaff \with { instrumentName = "Piano" } Jeanie_With_The_Light_Brown_Hair.ly:182:3: error: errors found, ignoring music expression << fatal error: failed files: "Jeanie_With_The_Light_Brown_Hair.ly" On Sat, Feb 5, 2022 at 2:42 AM Kevin Barry wrote: > > Hi Kenneth, > > I think you can fix the problem with the relative positioning by > setting the 'outside-staff-priority, e.g.: > > \tweak #'outside-staff-priority #0 \ottava 1 > > will cause the ottava marking to be put closer to the staff than the text > span. > > Kevin > > On Sat, 5 Feb 2022 at 01:35, Kenneth Wolcott wrote: > > > > Hi; > > > > I figured out how to get the formatting of the "a tempo" and "rall." > > merged with the text spanning; but I still can't seem to figure out > > how to get the "a tempo" to be above the ottava marking. > > > > Updated screenshot attached. > > > > Attached full Lilypond code as well. > > > > Thanks, > > Ken > > > > On Fri, Feb 4, 2022 at 5:05 PM Kenneth Wolcott > > wrote: > > > > > > Hi; > > > > > > I know how to generate a bold and large "rall." and "a tempo". > > > > > > I know how to get a text span. > > > > > > How to merge these two concepts? > > > > > > Also I need to put the "a tempo" above the ottava. > > > > > > I think I now how to do that in a more simple context, but I'm > > > struggling here. > > > > > > I have attached two screenshots. > > > > > > The example is the music I'm trying to engrave from while the other > > > screenshot is what I've asked Lilypond to do, > > > > > > I have enclosed below an excerpt of my Lilypond code. > > > > > > Thanks in advance for your help. > > > > > > Ken Wolcott > > > > > > > > > \version "2.22.0" > > > ... > > > \language "english" > > > ... > > > a_tempo = ^\markup { \bold "A tempo" } > > > rall = ^\markup { \bold "rall." } > > > rit = ^\markup { \bold "rit." } > > > ... > > > %\break > > > bf'4. \( g'8 af' g' f' ef' | % m18 > > > \override TextSpanner.bound-details.left.text = "rall." > > > g'4 bf8 c'\startTextSpan ef'2 \) | % m19 > > > f'8 \( g' ef''8. c''16 bf'8.\fermata c''16 ef'8. f'16 | % m20 > > > g'4 g'8 f' ef'2\stopTextSpan \)| % m21 > > > %\break > > > \ottava 1 > > > \transpose c c' { > > > \override TextSpanner.bound-details.left.text = "a tempo" > > > \grace { af'16\startTextSpan } g'8 \( f' g' bf' bf' g'' g''4 \) | % > > > m22 > > > c''8 \( af'' ef'' f'' g''4\stopTextSpan \) r | % > > > m23 > > > } > > > \ottava 0 > > > f''8\rall \( g'' ef''' c''' bf'' c'' ef'' f''| % m24 > > > g''4 g''8 f'' 4 \) s| % m25 > > > \bar "|." > > >
Re: Key Signature Change beyond the end of a movement.
On Sun, 2022-02-06 at 00:15 +0900, Masaki, Akikazu wrote: > Hi Richard, > > The last spacer is not necessary, but staff lines don't reach > trailing > key or time signatures by default. (I guess you tried that.) yes, that's the purpose of the spacer. > Set StaffSymbol.break-align-symbols property; > > \version "2.22.0" > \layout { > \context { > \Staff > \override StaffSymbol.break-align-symbols = #'() > % \override StaffSymbol.break-align-symbols = #'(key-signature) > %% a bit different result > } > } > \markup { Movement I } > { > c'' c'' c'' c'' > c'' c'' > \bar "|." \key bes \major } > Thank you for this insight. I worry what else altering this value might change, but can find no reference to break-align-symbols, a search on lilypond.org gives just one hit for break-align-symbol (not symbols) - namely http://lilypond.org/doc/v2.20/Documentation/internals/doublepercentrepeat which lead me to http://lilypond.org/doc/v2.20/Documentation/internals/break_002dalignment_002dinterface which still doesn't mention a property break-align-symbols ... I'm guessing setting this must impact something else, as otherwise the present default just leads to the rather unusual typesetting for the trailing key change. Richard > > Akikazu > > > On 2022/02/05 21:58, Richard Shann wrote: > > When the following movement in a score is going to be in a > > different > > key the player is sometimes warned by printing a key signature > > change > > after the closing barline. > > The attached file accomplishes this, but I wonder if there is > > something > > less hacky that does this. In particular the spacer rest duration > > matters but what it is doing exactly seems a mystery. > > > > Richard Shann > > > > >
Re: Key Signature Change beyond the end of a movement.
Hi Richard, The last spacer is not necessary, but staff lines don't reach trailing key or time signatures by default. (I guess you tried that.) Set StaffSymbol.break-align-symbols property; \version "2.22.0" \layout { \context { \Staff \override StaffSymbol.break-align-symbols = #'() % \override StaffSymbol.break-align-symbols = #'(key-signature) %% a bit different result } } \markup { Movement I } { c'' c'' c'' c'' c'' c'' \bar "|." \key bes \major } Akikazu On 2022/02/05 21:58, Richard Shann wrote: When the following movement in a score is going to be in a different key the player is sometimes warned by printing a key signature change after the closing barline. The attached file accomplishes this, but I wonder if there is something less hacky that does this. In particular the spacer rest duration matters but what it is doing exactly seems a mystery. Richard Shann
Key Signature Change beyond the end of a movement.
When the following movement in a score is going to be in a different key the player is sometimes warned by printing a key signature change after the closing barline. The attached file accomplishes this, but I wonder if there is something less hacky that does this. In particular the spacer rest duration matters but what it is doing exactly seems a mystery. Richard Shann \version "2.22.0" \markup {Movement I} { c'' c'' c'' c'' c'' c'' \bar "|." \key bes \major s16 } \markup {Movement II } { \key bes \major c''4 c'' c'' c'' c'' c'' \bar "|." }
Re: associate text to chord
On Sat, Feb 5, 2022 at 5:00 AM Aaron Hill wrote: > > On 2022-02-05 2:49 am, Kevin Barry wrote: > > Hi Achar, > > > >> Let me specify : in the following example V7 / IV is not associated > >> with the Eb7 chord > >> but with the note G. Is it possible to pair it with the Eb7 chord ? > >> Thanks > > > > We don't have a code example, so it's hard to answer your question. At > > a guess, it looks like you're attaching markup to the notes and you > > need to attach it to the space between A flat and G. A quick solution > > could be to add a spacer rest, e.g.: > > > > f_"II" aes2*1/2 s4_"V" g > > > > If this is something that happens frequently in your score, I would > > recommend having a separate voice - with only spacer rests - for your > > Roman numerals. > > Another option is to use a dedicated context for analysis. The Lyrics > context is a good candidate, as it supports arbitrary markup that can be > given rhythm independant of the associated Staff. Consider LSR 710 [1] > as a starting point. > > [1]: https://lsr.di.unimi.it/LSR/Item?id=710 > At https://github.com/davidnalesnik/lilypond-roman-numeral-tool you'll find a much enhanced version of this snippet. Best, David Nalesnik
(Solved)Re: To get rid of the horizontal line before the footnotes?
On Sat, 2022-02-05 at 11:30 +, Richard Shann wrote: > Is there a way to drop the line that is drawn below the systems above > the footnotes? Sorry for asking before searching the mailing-list archives, \paper { footnote-separator-markup = ##f } is the answer I see. The docs often still defeat me, just too much stuff :( Richard
To get rid of the horizontal line before the footnotes?
Is there a way to drop the line that is drawn below the systems above the footnotes? Richard Shann
Re: associate text to chord
On 2022-02-05 2:49 am, Kevin Barry wrote: Hi Achar, Let me specify : in the following example V7 / IV is not associated with the Eb7 chord but with the note G. Is it possible to pair it with the Eb7 chord ? Thanks We don't have a code example, so it's hard to answer your question. At a guess, it looks like you're attaching markup to the notes and you need to attach it to the space between A flat and G. A quick solution could be to add a spacer rest, e.g.: f_"II" aes2*1/2 s4_"V" g If this is something that happens frequently in your score, I would recommend having a separate voice - with only spacer rests - for your Roman numerals. Another option is to use a dedicated context for analysis. The Lyrics context is a good candidate, as it supports arbitrary markup that can be given rhythm independant of the associated Staff. Consider LSR 710 [1] as a starting point. [1]: https://lsr.di.unimi.it/LSR/Item?id=710 -- Aaron Hill
Re: associate text to chord
Hi Achar, > Let me specify : in the following example V7 / IV is not associated with the > Eb7 chord > but with the note G. Is it possible to pair it with the Eb7 chord ? Thanks We don't have a code example, so it's hard to answer your question. At a guess, it looks like you're attaching markup to the notes and you need to attach it to the space between A flat and G. A quick solution could be to add a spacer rest, e.g.: f_"II" aes2*1/2 s4_"V" g If this is something that happens frequently in your score, I would recommend having a separate voice - with only spacer rests - for your Roman numerals. Kevin
Re: How to do TextSpanner + markup + override vertical placement all at the same time?
Hi Kenneth, I think you can fix the problem with the relative positioning by setting the 'outside-staff-priority, e.g.: \tweak #'outside-staff-priority #0 \ottava 1 will cause the ottava marking to be put closer to the staff than the text span. Kevin On Sat, 5 Feb 2022 at 01:35, Kenneth Wolcott wrote: > > Hi; > > I figured out how to get the formatting of the "a tempo" and "rall." > merged with the text spanning; but I still can't seem to figure out > how to get the "a tempo" to be above the ottava marking. > > Updated screenshot attached. > > Attached full Lilypond code as well. > > Thanks, > Ken > > On Fri, Feb 4, 2022 at 5:05 PM Kenneth Wolcott > wrote: > > > > Hi; > > > > I know how to generate a bold and large "rall." and "a tempo". > > > > I know how to get a text span. > > > > How to merge these two concepts? > > > > Also I need to put the "a tempo" above the ottava. > > > > I think I now how to do that in a more simple context, but I'm > > struggling here. > > > > I have attached two screenshots. > > > > The example is the music I'm trying to engrave from while the other > > screenshot is what I've asked Lilypond to do, > > > > I have enclosed below an excerpt of my Lilypond code. > > > > Thanks in advance for your help. > > > > Ken Wolcott > > > > > > \version "2.22.0" > > ... > > \language "english" > > ... > > a_tempo = ^\markup { \bold "A tempo" } > > rall = ^\markup { \bold "rall." } > > rit = ^\markup { \bold "rit." } > > ... > > %\break > > bf'4. \( g'8 af' g' f' ef' | % m18 > > \override TextSpanner.bound-details.left.text = "rall." > > g'4 bf8 c'\startTextSpan ef'2 \) | % m19 > > f'8 \( g' ef''8. c''16 bf'8.\fermata c''16 ef'8. f'16 | % m20 > > g'4 g'8 f' ef'2\stopTextSpan \)| % m21 > > %\break > > \ottava 1 > > \transpose c c' { > > \override TextSpanner.bound-details.left.text = "a tempo" > > \grace { af'16\startTextSpan } g'8 \( f' g' bf' bf' g'' g''4 \) | % m22 > > c''8 \( af'' ef'' f'' g''4\stopTextSpan \) r | % m23 > > } > > \ottava 0 > > f''8\rall \( g'' ef''' c''' bf'' c'' ef'' f''| % m24 > > g''4 g''8 f'' 4 \) s| % m25 > > \bar "|." > >