Re: Vertical space of a fragment of score inside a list

2021-11-26 Thread Paolo Prete
Hello, I can't put this variable into the \paper block: it would affect the entire score, but I want to have this only for the fragment inside the list. I searched for a \layout variable too, but could not find any. Thanks for your help, Paolo On Thu, Nov 25, 2021 at 11:01 PM Leo Correia de

Re: quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
>> What must I do to make the tuplet bracket be positioned within the >> staff, that is, below the rest? > > There's surely a more elegant way… but if you're stuck, you can > always hack it: [...] Thanks a lot! Of course I would like to have a solution that avoids `extra-offset` :-) > x = {

Re: quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
>>\override CueVoice.TupletBracket.direction = #DOWN >>\override CueVoice.TupletBracket.edge-height = #'(-0.7 . -0.7) >>\override CueVoice.TupletBracket.extra-offset = #'(0 . 4.75) >>\override CueVoice.TupletNumber.extra-offset = #'(0 . 4.75) > > Hold the heavy machinery :-). You

quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
Folks, plesae consider the following example. x = { r2 \tuplet 3/2 { g4 a b } } \addQuote "qx" \x { r2 \cueDuring #"qx" #DOWN { \override CueVoice.TupletBracket.direction = #UP r2 } } What must I do to make the tuplet bracket be positioned

Embedding images into a score created with -dbackend=svg

2021-11-26 Thread Paolo Prete
Hello, AFAIK, there's no way to embed an eps image, using the \epsfile command, into a score made with SVG output (I would suggest to add this note into the doc, BTW). Is there an alternative for this? Maybe in some way I can inline SVG? Many thanks for your help! P

Re: quoted tuplet bracket within staff

2021-11-26 Thread Lukas-Fabian Moser
Hi Kieren & Werner, There's surely a more elegant way… but if you're stuck, you can always hack it: x = { r2 \tuplet 3/2 { g4 a b } } \addQuote "qx" \x { r2 \cueDuring #"qx" #DOWN { \override CueVoice.TupletBracket.direction = #DOWN \override CueVoice.TupletBracket.edge-height =

Re: quoted tuplet bracket within staff

2021-11-26 Thread Kieren MacMillan
Hi Lukas, > Hold the heavy machinery :-) LOL > You can just set the positions directly: Nice. > For a general solution, one could probably write a callback for the positions > property. I was hoping to use #'outside-staff-priority to try to allow the tuplet to float into the staff

Re: Fwd: Fwd: Help

2021-11-26 Thread Leonid Hrabovsky
Hello Jean, Answering the letter of Aaron, I attached my PDF with two lines - one built of arches and another angulary built of 90 degrees angles. The third one, a wavy line, shall be of the same height as these two, and I am looking for a way to obtain it. Attaching this PDF again right now.

Re: quoted tuplet bracket within staff

2021-11-26 Thread Lukas-Fabian Moser
For a general solution, one could probably write a callback for the positions property. I was hoping to use #'outside-staff-priority to try to allow the tuplet to float into the staff automatically, but gave up after a few minutes of not finding the right incantation… I never really

Re: quoted tuplet bracket within staff

2021-11-26 Thread Kieren MacMillan
Hi Werner, > What must I do to make the tuplet bracket be positioned > within the staff, that is, below the rest? There's surely a more elegant way… but if you're stuck, you can always hack it: x = { r2 \tuplet 3/2 { g4 a b } } \addQuote "qx" \x { r2 \cueDuring #"qx" #DOWN { \override

Re: quoted tuplet bracket within staff

2021-11-26 Thread Lukas-Fabian Moser
I never really understood the outside-staff behaviour, to be honest. It's well possible that there's an elegant solution that just tells LilyPond to go ahead and put the tuplet bracket into the staff. Uh, that's what setting outside-staff-priority to #f does. Did I mention I never really

Re: Embedding images into a score created with -dbackend=svg

2021-11-26 Thread Knute Snortum
Would converting the ESP image to SVG be the easiest route? There are many places online that will do this for free. -- Knute Snortum On Fri, Nov 26, 2021 at 5:41 AM Paolo Prete wrote: > > Hello, > > AFAIK, there's no way to embed an eps image, using the \epsfile command, > into a score

\tag and \tweak

2021-11-26 Thread Werner LEMBERG
This time a syntax question: Is it possible to combine `\tag` with `\tweak`? I have tried the following: g-\tag #'score \tweak X-offset #-3 _\markup { "foo" } | However, this makes the `\markup` disappear if `\keepWithTag` doesn't contain `#'score` (which is kind-of

Re: \tag and \tweak

2021-11-26 Thread Kieren MacMillan
Hi Werner, > In case there isn't a nifty trick You mean *other* than using the [incredible] edition-engraver…? ;) Cheers, Kieren.

Re: quoted tuplet bracket within staff

2021-11-26 Thread Lukas-Fabian Moser
Well, you got the wrong property here. outside-staff-priority tells how to stack outside-staff objects with one another. What you need here is \override CueVoice.TupletBracket.staff-padding = ##f to stop TupletBracket from being shy of the staff itself, never mind other outside-staff

Re: Embedding images into a score created with -dbackend=svg

2021-11-26 Thread Valentin Petzel
Hello Paolo, Hello Knute, \epsfile works by basically directly using the ps-code in the eps file. So it is expected that this does not work with the svg backend (generally the svg backend cannot simply embed arbitrary ps code). The proper solution would probably to add a function like

Re: quoted tuplet bracket within staff

2021-11-26 Thread Kieren MacMillan
Hi David, > I admit that I went for another dive into the IR for TupletBracket when > outside-staff-priority failed to do the trick. Turns out that > outside-staff-interface should be #f by default anyway? Please elaborate: You believe the default is incorrect (in which case I will work up a

Re: \tag and \tweak

2021-11-26 Thread Jean Abou Samra
Le 26/11/2021 à 19:21, Werner LEMBERG a écrit : This time a syntax question: Is it possible to combine `\tag` with `\tweak`? I have tried the following: g-\tag #'score \tweak X-offset #-3 _\markup { "foo" } | However, this makes the `\markup` disappear if `\keepWithTag`

Re: ties with accidental split over lines

2021-11-26 Thread David Zelinsky
Thanks, Knute. I missed the part about \shape that it can take multiple sets of control points. Clearly I did not read that NR entry carefully enough! I am surprised to hear that Lilypond's default is standard in this case, since I haven't found examples of this in published works, and I have

Re: quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
>> For a general solution, one could probably write a callback for the >> positions property. > > I was hoping to use #'outside-staff-priority to try to allow the > tuplet to float into the staff automatically, [...] Me too. Werner

Re: quoted tuplet bracket within staff

2021-11-26 Thread David Kastrup
Lukas-Fabian Moser writes: >>> I never really understood the outside-staff behaviour, to be >>> honest. It's well possible that there's an elegant solution that just >>> tells LilyPond to go ahead and put the tuplet bracket into the staff. >> Uh, that's what setting outside-staff-priority to #f

Re: ties with accidental split over lines

2021-11-26 Thread Knute Snortum
I think it is the slur that is lower, not the accidental that is higher, and I think its placement is correct according to "convention" (or Gould), but if you want to change the shape of a slur broken over two systems, you can use the \shape command: \version "2.22.1" \include "english.ly"

Re: quoted tuplet bracket within staff

2021-11-26 Thread David Kastrup
Kieren MacMillan writes: > Hi all, > >>> I never really understood the outside-staff behaviour, to be >>> honest. It's well possible that there's an elegant solution that just >>> tells LilyPond to go ahead and put the tuplet bracket into the staff. >> Uh, that's what setting

Re: Embedding images into a score created with -dbackend=svg

2021-11-26 Thread Valentin Petzel
Hello Paolo, I’m not exactly sure what you mean by „inline-svg”. The discussion you linked to is about manually converting svg paths into lilypond paths. While this is possible it surely would get very complicated with more advanced svg. But it should be quite easy to use the -tag svg gives us

Re: Embedding images into a score created with -dbackend=svg

2021-11-26 Thread Paolo Prete
Hello Valentin, > The proper solution would probably to add a function like \embed-image > which > makes use of the SVG tag. But that one only specifies jpeg, png > and > svg. This means that for any other format it is the choice of the viewing > software if they want to support it. this is

Re: Embedding images into a score created with -dbackend=svg

2021-11-26 Thread Paolo Prete
Here's an alternative way to do it: https://groups.google.com/g/musicnotation/c/G3j-lmc2H1w/m/7N2I2ksP5IcJ Let's see if it works without too much effort... On Fri, Nov 26, 2021 at 5:27 PM Paolo Prete wrote: > > Hello Valentin, > > >> The proper solution would probably to add a function like

Re: quoted tuplet bracket within staff

2021-11-26 Thread David Kastrup
Lukas-Fabian Moser writes: >>> For a general solution, one could probably write a callback for the >> positions property. >> I was hoping to use #'outside-staff-priority to try to allow the >> tuplet to float into the staff automatically, but gave up after a >> few minutes of not finding the

Re: quoted tuplet bracket within staff

2021-11-26 Thread Kieren MacMillan
Hi all, >> I never really understood the outside-staff behaviour, to be >> honest. It's well possible that there's an elegant solution that just >> tells LilyPond to go ahead and put the tuplet bracket into the staff. > Uh, that's what setting outside-staff-priority to #f does. Uh, that was the

Re: quoted tuplet bracket within staff

2021-11-26 Thread Werner LEMBERG
>> Well, you got the wrong property here. outside-staff-priority >> tells how to stack outside-staff objects with one another. What >> you need here is >> >> \override CueVoice.TupletBracket.staff-padding = ##f Aah, I only tried `padding` to no avail. Thanks a lot! > So, Werner, this

Re: quoted tuplet bracket within staff

2021-11-26 Thread Jean Abou Samra
Le 26/11/2021 à 16:19, Lukas-Fabian Moser a écrit : I never really understood the outside-staff behaviour, to be honest. If it seems complicated, that's because it is. There are two mechanisms for general collision avoidance, incarnated in the side-position-interface and the

Re: \tag and \tweak

2021-11-26 Thread Valentin Petzel
Hello Werner, Tag adds a property to music events, as does tweak. So there is no tweak event that could be tagged. But what would be possible is to write a music function that removes tweaks from a even if it is (or is not) tagged with some tag. Cheers, Valentin Am Freitag, 26. November 2021,

Re: Fwd: Fwd: Help

2021-11-26 Thread Jean Abou Samra
Le 26/11/2021 à 16:20, Leonid Hrabovsky a écrit : Hello Jean, Answering the letter of Aaron, I attached my PDF with two lines - one built of arches and another angulary built of 90 degrees angles. The third one, a wavy line, shall be of the same height as these two, and I am looking for a

Re: quoted tuplet bracket within staff

2021-11-26 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> I admit that I went for another dive into the IR for TupletBracket when >> outside-staff-priority failed to do the trick. Turns out that >> outside-staff-interface should be #f by default anyway? > > Please elaborate: > You believe the default is

Re: Embedding images into a score created with -dbackend=svg

2021-11-26 Thread Paolo Prete
On Fri, Nov 26, 2021 at 7:18 PM Valentin Petzel wrote: > Hello Paolo, > > I’m not exactly sure what you mean by „inline-svg”. The discussion you > linked > to is about manually converting svg paths into lilypond paths. While this > is > possible it surely would get very complicated with more

specifically: how to do "p-f" dynamics (first time, second time); generally: how to find this in the manuals

2021-11-26 Thread Kenneth Wolcott
Hi; Regarding the old fable: "Give me a fish, I can eat for a meal; Give me a fishing pole, I can eat for a lifetime."... I can't remember how to do dynamics pertaining to an implied repeat. The music has "p -f" for dynamic marking. The general problem: How do I search (what phrases should I

Re: Embedding images into a score created with -dbackend=svg

2021-11-26 Thread Valentin Petzel
Hello Paolo, The viewer needs to rasterize the svg, how else is it supposed to display it? Also it’s not you who is supposed to add the image tag, but the svg backend. But then in your example you are basically doing thing you do not need to do. Embedding svgs would be interesting for custom