Re: vertical shift of trill

2022-08-06 Thread Jean Abou Samra
Le 06/08/2022 à 20:24, Thomas Morley a écrit : Am Sa., 6. Aug. 2022 um 17:15 Uhr schrieb Jean Abou Samra : Le 06/08/2022 à 16:45, Werner LEMBERG a écrit : That said, there's a much simpler way. [...] Your solution is ingenious. However, how on earth are we mere mortals able to find that?

Re: vertical shift of trill

2022-08-06 Thread Carl Sorensen
On Sat, Aug 6, 2022 at 12:25 PM Thomas Morley wrote: > Am Sa., 6. Aug. 2022 um 17:15 Uhr schrieb Jean Abou Samra < > j...@abou-samra.fr>: > > > > Le 06/08/2022 à 16:45, Werner LEMBERG a écrit : > > >> That said, there's a much simpler way. [...] > > > Your solution is ingenious. However, how

Re: vertical shift of trill

2022-08-06 Thread Thomas Morley
Am Sa., 6. Aug. 2022 um 17:15 Uhr schrieb Jean Abou Samra : > > Le 06/08/2022 à 16:45, Werner LEMBERG a écrit : > >> That said, there's a much simpler way. [...] > > Your solution is ingenious. However, how on earth are we mere mortals > > able to find that? > > > Read the source, Luke :-)

Re: vertical shift of trill

2022-08-06 Thread Jim Cline
It's nice to feel like my original question was not so dumb after all :)

Re: vertical shift of trill

2022-08-06 Thread Valentin Petzel
The way I see it *internal* means that this property is used, but there are no guarantees on a certain behaviour. Thus using an internal property is fine, but there will be no promise that this works in all circumstances and that it will keep working unless we break API. This is different than

Re: vertical shift of trill

2022-08-06 Thread Jean Abou Samra
Le 06/08/2022 à 16:45, Werner LEMBERG a écrit : That said, there's a much simpler way. [...] Your solution is ingenious. However, how on earth are we mere mortals able to find that? Read the source, Luke :-) Seriously, there is no way around that in this case -- as in many cases when it

Re: vertical shift of trill

2022-08-06 Thread Valentin Petzel
Hi Jean, that is beautiful. I’m always impressed by your vast understanding of each single (not even documented) detail of Lilypond! Best, Valentin Am Samstag, 6. August 2022, 15:55:41 CEST schrieb Jean Abou Samra: > Hi Valentin, > > Le 06/08/2022 à 15:05, Valentin Petzel a écrit : > > But we

Re: vertical shift of trill

2022-08-06 Thread Werner LEMBERG
> That said, there's a much simpler way. [...] Your solution is ingenious. However, how on earth are we mere mortals able to find that? Both `note-columns` and `side-support-elements` are tagged as internal properties, which essentially means "don't touch". Additionally, the documentation

Re: vertical shift of trill

2022-08-06 Thread Jean Abou Samra
Hi Valentin, Le 06/08/2022 à 15:05, Valentin Petzel a écrit : But we can in fact implement a simple function that tries to fit the TrillSpanner (or in fact any spanner) to the notes. Consult the appended file for details. FYI, the bulk of this function can be simplified using

Re: vertical shift of trill

2022-08-06 Thread Valentin Petzel
Hi Jim, hi Kieren, I would strongly suggest to be careful with using extra-offset. Extra-offset is applied *after* the spacing is resolved, and will this not affect spacing! This means that that collisions with the new position are not avoided, but instead collisions with the old positions are

Re: vertical shift of trill

2022-08-05 Thread Eef Weenink
Great file, thank you, love it. Eef Op 5 aug. 2022, om 20:13 heeft Jean Abou Samra mailto:j...@abou-samra.fr>> het volgende geschreven: If you prefer, there is another method available: use Joram Berger's "Visual LilyPond Index", available here: https://github.com/joram-berger/visualindex

Re: vertical shift of trill

2022-08-05 Thread Jim Cline
Hi Jean, this is very useful, thank you! --jim On Fri, 5 Aug 2022, Jean Abou Samra wrote: Le 05/08/2022 à 19:49, Jim Cline a écrit : Hi Kieran, that's perfect.  Now that I've seen this kind of construction before in several contexts, I feel like I should be able to figure it out for

Re: vertical shift of trill

2022-08-05 Thread Jean Abou Samra
Le 05/08/2022 à 19:49, Jim Cline a écrit : Hi Kieran, that's perfect.  Now that I've seen this kind of construction before in several contexts, I feel like I should be able to figure it out for myself.  I guess the general procedure is to look up, e.g., trill in the documentation and find the

Re: vertical shift of trill

2022-08-05 Thread Jim Cline
Hi Kieran, that's perfect. Now that I've seen this kind of construction before in several contexts, I feel like I should be able to figure it out for myself. I guess the general procedure is to look up, e.g., trill in the documentation and find the "Internals Reference" at the bottom of the

Re: vertical shift of trill

2022-08-05 Thread Kieren MacMillan
Hi Jim, There are many ways to do this, but the easies would probably be to tweak the extra-offset: \version "2.20.0" \relative c'' { \clef treble << { \pitchedTrill c'1~\startTrillSpan des c1*7/8 s8 \stopTrillSpan } \\ { \pitchedTrill a1~ -\tweak

vertical shift of trill

2022-08-05 Thread Jim Cline
Hello, I have a passage with a double trill. I think it looks bad to have the lower trill symbol so far from the note, and would like to have it closer, overlapping with the staff. Could not find any documentation on this so far. regards, Jim \version "2.20.0" \relative c'' { \clef