Re: Crescendo after custom dynamic marking

2021-12-12 Thread Lukas-Fabian Moser
Hi David, Am 13.12.21 um 08:05 schrieb David Kastrup: But the remark in the documentation that, if one uses a music function instead of an event function, one would always have to use it with -/_/^, seems to be obsolete now. No, it isn't. Put \displayLilyMusic (or other music functions) before

Re: Text Spanner repeated after a break

2021-12-12 Thread Jean Abou Samra
Le 13/12/2021 à 04:03, Molly Preston a écrit : Hi again. I have a similar problem to the 8va showing up after line breaks. I made a text spanner that's a rit.- It shows up on the line after a break. I tried to modify the scheme code slightly like this:   \version "2.22.1"   \new Staff

Re: Crescendo after custom dynamic marking

2021-12-12 Thread David Kastrup
Lukas-Fabian Moser writes: > Hi all, > > Am 12.12.21 um 22:52 schrieb Lukas-Fabian Moser: >> >> Maybe I'm going too far in my belief that "standard tasks best >> should not require # characters and scheme", but shouldn't we >> provide a LilyPond syntax interface for this? It's not so uncommon >>

Re: Crescendo after custom dynamic marking

2021-12-12 Thread Lukas-Fabian Moser
Hi all, Am 12.12.21 um 22:52 schrieb Lukas-Fabian Moser: Maybe I'm going too far in my belief that "standard tasks best should not require # characters and scheme", but shouldn't we provide a LilyPond syntax interface for this? It's not so uncommon to want custom dynamic expressions after al

Text Spanner repeated after a break

2021-12-12 Thread Molly Preston
Hi again. I have a similar problem to the 8va showing up after line breaks. I made a text spanner that's a rit.- It shows up on the line after a break. I tried to modify the scheme code slightly like this: \version "2.22.1" \new Staff \absolute { #(define (text-callback gro

Re: Crescendo after custom dynamic marking

2021-12-12 Thread Kieren MacMillan
Hi Lukas, > Maybe I'm going too far in my belief that "standard tasks best should not > require # characters and scheme" The limit does not exist. ;) > but shouldn't we provide a LilyPond syntax interface for this? Yes. Do you know Harm's work in this direction? https://lists.gnu.org/archive

Re: Crescendo after custom dynamic marking

2021-12-12 Thread Aaron Hill
On 2021-12-12 3:48 pm, David Kastrup wrote: Aaron Hill writes: On 2021-12-12 3:19 pm, David Kastrup wrote: and one could instead define it as make-dynamic-script = #(define-event-function (str) (ly:markup?) (make-music 'AbsoluteDynamicEvent 'text str)) Did you mean just markup? or is ly:

Re: Crescendo after custom dynamic marking

2021-12-12 Thread David Kastrup
Aaron Hill writes: > On 2021-12-12 3:19 pm, David Kastrup wrote: >> and one could instead define it as >> make-dynamic-script = >> #(define-event-function (str) (ly:markup?) >>(make-music 'AbsoluteDynamicEvent 'text str)) > > Did you mean just markup? or is ly:markup? a special predicate? Ou

Re: Crescendo after custom dynamic marking

2021-12-12 Thread Aaron Hill
On 2021-12-12 3:19 pm, David Kastrup wrote: and one could instead define it as make-dynamic-script = #(define-event-function (str) (ly:markup?) (make-music 'AbsoluteDynamicEvent 'text str)) Did you mean just markup? or is ly:markup? a special predicate? -- Aaron Hill

Re: Crescendo after custom dynamic marking

2021-12-12 Thread David Kastrup
Jean Abou Samra writes: > Le 12/12/2021 à 22:52, Lukas-Fabian Moser a écrit : >> Hi Jean, >> >>> Use a real dynamic script. These care care of spacing for you. >>> >>> \version "2.22.1" >>> >>> psubito = >>> #(make-dynamic-script #{ \markup { p \normal-text \italic "subito" } #}) >>> >>> { d'16_\

Re: Crescendo after custom dynamic marking

2021-12-12 Thread Jean Abou Samra
Le 12/12/2021 à 22:52, Lukas-Fabian Moser a écrit : Hi Jean, Use a real dynamic script. These care care of spacing for you. \version "2.22.1" psubito = #(make-dynamic-script #{ \markup { p \normal-text \italic "subito" } #}) { d'16_\psubito \cresc \repeat unfold 14 d'16 d'\f | } Maybe I'm

Re: Crescendo after custom dynamic marking

2021-12-12 Thread Lukas-Fabian Moser
Hi Jean, Use a real dynamic script. These care care of spacing for you. \version "2.22.1" psubito = #(make-dynamic-script #{ \markup { p \normal-text \italic "subito" } #}) { d'16_\psubito \cresc \repeat unfold 14 d'16 d'\f | } Maybe I'm going too far in my belief that "standard tasks best

Re: Crescendo after custom dynamic marking

2021-12-12 Thread Jean Abou Samra
Le 12/12/2021 à 21:24, Ahanu Banerjee a écrit : Hello, When creating a crescendo following a custom dynamic marking (e.g., piano subito), I am having trouble moving the start of the spanner to a point following the dynamic markup. What would be the best way of doing this? Example below. T

Crescendo after custom dynamic marking

2021-12-12 Thread Ahanu Banerjee
Hello, When creating a crescendo following a custom dynamic marking (e.g., piano subito), I am having trouble moving the start of the spanner to a point following the dynamic markup. What would be the best way of doing this? Example below. Thanks! \version "2.20.0" { d'16_\markup { \dynamic p \i

Re: Shift vertically a text centered on a hairpin

2021-12-12 Thread Paolo Prete
Sorry, my bad. I set \lower #2 (and the result was the same) because I assumed that \lower made an offset from the bottom of the hairpin, but this is not the case. Using a bigger value did the trick. Thanks for the additional tip too! On Sun, Dec 12, 2021 at 3:52 PM Jean Abou Samra wrote: > > >

Re: Shift vertically a text centered on a hairpin

2021-12-12 Thread Jean Abou Samra
Le 12/12/2021 à 15:05, Paolo Prete a écrit : On Sun, Dec 12, 2021 at 2:56 PM Jean Abou Samra wrote: Le 12/12/2021 à 14:28, Paolo Prete a écrit : > Hello, > > it would be good to have more control on the text centered on a hairpin. > > For example: I can't sh

Re: Shift vertically a text centered on a hairpin

2021-12-12 Thread Paolo Prete
On Sun, Dec 12, 2021 at 2:56 PM Jean Abou Samra wrote: > > > Le 12/12/2021 à 14:28, Paolo Prete a écrit : > > Hello, > > > > it would be good to have more control on the text centered on a hairpin. > > > > For example: I can't shift the text vertically, and I think this is > > useful because some

Re: Shift vertically a text centered on a hairpin

2021-12-12 Thread Jean Abou Samra
Le 12/12/2021 à 14:28, Paolo Prete a écrit : Hello, it would be good to have more control on the text centered on a hairpin. For example: I can't shift the text vertically, and I think this is useful because sometime the text is too near the hairpin. I tried \lower #offset inside the mark

Shift vertically a text centered on a hairpin

2021-12-12 Thread Paolo Prete
Hello, it would be good to have more control on the text centered on a hairpin. For example: I can't shift the text vertically, and I think this is useful because sometime the text is too near the hairpin. I tried \lower #offset inside the markup but it doesn't work, how can I fix this? Thank y

Re: adjusting stem length in metronome mark?

2021-12-12 Thread Aaron Hill
On 2021-12-12 1:53 am, Josiah Boothby wrote: I used to know how to do this, I think, but...how do I adjust the stem length in a metronome mark? Seems like I should be able to do something like \override MetronomeMark.stem-length = xyz but that *specifically* doesn't appear to be available. S

Re: Issue when setting the font-name for a hairpin with centered text

2021-12-12 Thread Paolo Prete
Thank you, all clear! On Sun, Dec 12, 2021 at 1:07 PM Jean Abou Samra wrote: > Le 12/12/2021 à 12:53, Paolo Prete a écrit : > > Hello, > > > > I'm trying to set the font-name for a hairpin with centered text later > > in the score, and not in the definition of the function. > > However, my attem

Re: Issue when setting the font-name for a hairpin with centered text

2021-12-12 Thread Jean Abou Samra
Le 12/12/2021 à 12:53, Paolo Prete a écrit : Hello, I'm trying to set the font-name for a hairpin with centered text later in the score, and not in the definition of the function. However, my attempt, in the snippet below, doesn't work. How can I fix this? Thanks, P % hairpinWithCentere

Issue when setting the font-name for a hairpin with centered text

2021-12-12 Thread Paolo Prete
Hello, I'm trying to set the font-name for a hairpin with centered text later in the score, and not in the definition of the function. However, my attempt, in the snippet below, doesn't work. How can I fix this? Thanks, P % hairpinWithCenteredText = #(define-music-function (text) (markup?)

adjusting stem length in metronome mark?

2021-12-12 Thread Josiah Boothby
I used to know how to do this, I think, but...how do I adjust the stem length in a metronome mark? Seems like I should be able to do something like \override MetronomeMark.stem-length = xyz but that *specifically* doesn't appear to be available. Something involving .add-stem-length perhaps? —J