Re: `\textLengthOn` for `TextSpanner` grobs

2021-11-30 Thread Jean Abou Samra
Le 30/11/2021 à 21:55, Jean Abou Samra a écrit : Basically, extra-spacing-width etc. work on items, and not on spanners. If you want a spanner to occupy space at its bounds, the state of the art is that you have to create "stub" items. I won't have the time to work on it more, sorry. PS:

Re: Repeating stencils

2021-11-30 Thread Jean Abou Samra
Le 30/11/2021 à 22:20, Valentin Petzel a écrit : Hm, okay. It does not appear in http://lilypond.org/doc/v2.23/Documentation/internals/scheme-functions prior to 2.23. Prior to 2.23, only functions defined in C++ were included in the Internals Reference. That changed with commit

Re: Repeating stencils

2021-11-30 Thread Valentin Petzel
Hm, okay. It does not appear in http://lilypond.org/doc/v2.23/Documentation/internals/scheme-functions prior to 2.23. Cheers, Valentin Am Dienstag, 30. November 2021, 21:21:02 CET schrieb Jean Abou Samra: > Le 30/11/2021 à 21:07, Valentin Petzel a écrit : > > Hello Jean, > > > > That is cool!

Re: `\textLengthOn` for `TextSpanner` grobs

2021-11-30 Thread Jean Abou Samra
Le 28/11/2021 à 16:10, Werner LEMBERG a écrit : please have a look at this example ``` { \set Score.skipBars = ##t \override TextSpanner.bound-details.left.text = "poco a poco tempo I" \override TextSpanner.bound-details.right.text = "Tempo I" R1*4\startTextSpan |

Re: Repeating stencils

2021-11-30 Thread Jean Abou Samra
Le 30/11/2021 à 21:07, Valentin Petzel a écrit : Hello Jean, That is cool! Is this new in 2.23? (I mean stack-stencils, not \pattern of course). The oldest version I have here is 2.14 and it is already there :-) \pattern should work well, but to me it feels a bit strange to induce some

Re: Bold Maj7 Triangle

2021-11-30 Thread Gregory Hollands
Yes, that sorts it. Thank you all, -Greg On Tue, Nov 30, 2021 at 2:59 PM Aaron Hill wrote: > On 2021-11-30 11:55 am, Gregory Hollands wrote: > > \layout { > > indent = #0 > > \context { \ChordNames \embiggenChordNames #2.5 } > > \context { > > \ChordNames { > > %\set

Re: Repeating stencils

2021-11-30 Thread Valentin Petzel
Hello Jean, That is cool! Is this new in 2.23? (I mean stack-stencils, not \pattern of course). \pattern should work well, but to me it feels a bit strange to induce some unnescessary markup just for stacking some stencils ... Cheers, Valentin Am Dienstag, 30. November 2021, 20:41:29 CET

Re: Bold Maj7 Triangle

2021-11-30 Thread Aaron Hill
On 2021-11-30 11:55 am, Gregory Hollands wrote: \layout { indent = #0 \context { \ChordNames \embiggenChordNames #2.5 } \context { \ChordNames { %\set majorSevenSymbol = \markup { \fontsize #-3.5 \override #'(thickness . 0.3) \triangle ##f } %\set minorChordModifier =

Re: Bold Maj7 Triangle

2021-11-30 Thread Valentin Petzel
Hello Gregory, It is supposed to be \context { \ChordNames % no Braces here! etc } Cheers, Valentin Am Dienstag, 30. November 2021, 20:55:24 CET schrieb Gregory Hollands: > \version "2.22" > > embiggenChordNames = #(define-scheme-function (size) (number?) >#{ \with { >

Re: Bold Maj7 Triangle

2021-11-30 Thread Gregory Hollands
Valentin, Below, see my code. Without \set, I get errors (below code). With \set the code compiles just fine. Regards, Greg % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % \version "2.22" embiggenChordNames = #(define-scheme-function (size) (number?) #{

Re: Labelled slurs

2021-11-30 Thread David Kastrup
Timothy Lanfear writes: > When slurs overlap, I noticed that I could omit one of the slur > labels. Can I count on this behaviour or did I just get lucky? You can count on it. In a manner of speaking, "unlabelled" is a label of its own. With regard to whether you can count on this in

Re: Bold Maj7 Triangle

2021-11-30 Thread David Kastrup
Gregory Hollands writes: >> On Tue, Nov 30, 2021 at 2:15 PM Valentin Petzel wrote: >> >>> Hello Gregory, >>> >>> That is indeed possible. The difference is just that \set is used to set >>> context properties during >>> music. Within the layout block you set context properties by simple >>>

Re: Bold Maj7 Triangle

2021-11-30 Thread Gregory Hollands
Thank you FYI it still needs \set in front, otherwise lilypond throws an error. Thanks again, -Greg On Tue, Nov 30, 2021 at 2:15 PM Valentin Petzel wrote: > Hello Gregory, > > That is indeed possible. The difference is just that \set is used to set > context properties during > music. Within

Re: Repeating stencils

2021-11-30 Thread Jean Abou Samra
Le 30/11/2021 à 20:38, Valentin Petzel a écrit : Hello, After being faced with LSR 772 (tonguing indications) I thought that the code was rather messy, so I created a quite short method for repeating stencils for some rather arbitrary grob. If you’re interested, check it out. Do you think this

Labelled slurs

2021-11-30 Thread Timothy Lanfear
When slurs overlap, I noticed that I could omit one of the slur labels. Can I count on this behaviour or did I just get lucky? Taking the example from the NR 1.3.2: \version "2.22.0" \fixed c' {   2   2 } -- Timothy Lanfear, Bristol, UK.

Repeating stencils

2021-11-30 Thread Valentin Petzel
Hello, After being faced with LSR 772 (tonguing indications) I thought that the code was rather messy, so I created a quite short method for repeating stencils for some rather arbitrary grob. If you’re interested, check it out. Do you think this of interest for the LSR? Valentin\version

Re: Bold Maj7 Triangle

2021-11-30 Thread Valentin Petzel
Hello Gregory, That is indeed possible. The difference is just that \set is used to set context properties during music. Within the layout block you set context properties by simple assignment, so you’d do something like \layout { \context { \ChordNames majorSevenSymbol =

Re: Bold Maj7 Triangle

2021-11-30 Thread Gregory Hollands
Valentin, That works great. How do I use \set majorSevenSymbol globally? Is it possible to put it in the layout block? Thanks, Greg On Tue, Nov 30, 2021 at 12:59 PM Valentin Petzel wrote: > Hello Gregory, > > The major 7 symbol simply uses the markup command \triangle with fontsize > -3. > So

Re: CPU stress tests for LilyPond

2021-11-30 Thread Hans Åberg
> On 30 Nov 2021, at 19:11, Jean Abou Samra wrote: > > Le 30/11/2021 à 15:22, Hans Åberg a écrit : >> It gives errors with LilyPond 2.23.4. > > You should upgrade automatically using convert-ly. > While leaving a few warnings, it does a pretty good > job on the file. I mentioned it to point

Re: CPU stress tests for LilyPond

2021-11-30 Thread Jean Abou Samra
Le 30/11/2021 à 15:22, Hans Åberg a écrit : It gives errors with LilyPond 2.23.4. You should upgrade automatically using convert-ly. While leaving a few warnings, it does a pretty good job on the file. Best, Jean

Re: CPU stress tests for LilyPond

2021-11-30 Thread David Wright
On Tue 30 Nov 2021 at 16:36:51 (+0100), Jacques Menu wrote: > > Here is what I get for this 102 page score: Using Debian buster 2.18.2, I got a 118 page score, with starts at 2, 26, 57 and 90. The log is attached: several warnings. real0m31.528s user0m31.206s sys 0m0.336s >

Re: Bold Maj7 Triangle

2021-11-30 Thread Valentin Petzel
Hello Gregory, The major 7 symbol simply uses the markup command \triangle with fontsize -3. So simply do something like \set majorSevenSymbol = \markup\fontsize #-3 \override #'(thickness . 0.2) \triangle ##f The ##f here specifies that the triangle should not be filled. Adjust thickness to

Re: CPU stress tests for LilyPond

2021-11-30 Thread Hans Åberg
So, to illustrate the idea of using the benchmark at the list below, it might be the Mac mini (Late 2020) with single-core score 1712 and the other Macs of this year have a similar performance. It gives for the iMac 2008 used a single-core score 372 (depending on model), and it took 4–5 minutes

Re: Bold Maj7 Triangle

2021-11-30 Thread Carl Sorensen
From: lilypond-user on behalf of Gregory Hollands Date: Tuesday, November 30, 2021 at 9:41 AM To: Lilypond-User Mailing List Subject: Re: Bold Maj7 Triangle I was able to get something bolder by using the uppercase delta glyph. But it isn't perfect. -Greg % - - - - - - - - - - - - - - -

Re: Bold Maj7 Triangle

2021-11-30 Thread Gregory Hollands
I was able to get something bolder by using the uppercase delta glyph. But it isn't perfect. -Greg % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % \version "2.22" embiggenChordNames = #(define-scheme-function (size) (number?) #{ \with {

Re: `\textLengthOn` for `TextSpanner` grobs

2021-11-30 Thread Werner LEMBERG
>>> Does David N's text-spanner work solve this problem, I wonder? >> What are you referring to? > > https://github.com/davidnalesnik/lilypond-text-spanner-inner-texts This is veeery nice! Thanks for the link. Werner

Re: acciaccatura "slurs" are getting canceled with hide Slur

2021-11-30 Thread Adam Good
Dear Valentin, Most excellent thank you very much for this! Adam On Mon, Nov 29, 2021 at 2:57 PM Valentin Petzel wrote: > Hi Adam, > > hide overrides the specified grobs to be transparent (they will still > affect > spacing!) > One option would be doing something like the appended example,

Re: CPU stress tests for LilyPond

2021-11-30 Thread Jacques Menu
Hello, Here is what I get for this 102 page score: jacquesmenu@macmini > time lilypond MSDM.ly GNU LilyPond 2.22.1 ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. … … … … real0m39.590s user0m37.119s sys

Re: CPU stress tests for LilyPond

2021-11-30 Thread Hans Åberg
> On 30 Nov 2021, at 14:26, Paolo Prete wrote: > > I need to buy a new PC, more powerful than the one I own. The CPU and RAM > must be chosen on the time required to produce LilyPond output. Are there any > test sheets with different CPUs and the time they take to output a score that >

Bold Maj7 Triangle

2021-11-30 Thread Gregory Hollands
Good Morning, In my charts, I'm using a semi-bold style for chordnames. However, the maj7 triangle is a bit thin. How can I adjust the triangle? I'd like it to be larger and thicker. Thanks, Greg % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % \version "2.22"

Re: CPU stress tests for LilyPond

2021-11-30 Thread Hans Åberg
> On 30 Nov 2021, at 14:47, Karlin High wrote: > > On 11/30/2021 7:26 AM, Paolo Prete wrote: >> Are there any test sheets with different CPUs and the time they take to >> output a score that takes a long time to compile? > > Search the archives for Carver MDSM. > >

Re: CPU stress tests for LilyPond

2021-11-30 Thread Karlin High
On 11/30/2021 7:26 AM, Paolo Prete wrote: Are there any test sheets with different CPUs and the time they take to output a score that takes a long time to compile? Search the archives for Carver MDSM. It's a large

Re: CPU stress tests for LilyPond

2021-11-30 Thread Henning Hraban Ramm
Am 30.11.21 um 14:26 schrieb Paolo Prete: I need to buy a new PC, more powerful than the one I own. The CPU and RAM must be chosen on the time required to produce LilyPond output. Are there any test sheets with different CPUs and the time they take to output a score that takes a long time to

CPU stress tests for LilyPond

2021-11-30 Thread Paolo Prete
Hello, I need to buy a new PC, more powerful than the one I own. The CPU and RAM must be chosen on the time required to produce LilyPond output. Are there any test sheets with different CPUs and the time they take to output a score that takes a long time to compile? In case this doesn't exist

Re: How to change the alignment of the dashed line in \cresc

2021-11-30 Thread Valentin Petzel
Hello Lib, just remove the overrides to left.Y and right.Y. But having the line centered but the cresc raised will look a bit weird. Maybe experiment by setting the Y values to something between 0 and -1. Cheers, Valentin 30.11.2021 13:37:43 Lib Lists : > Hi Valentin, > thank you so much for

Re: How to change the alignment of the dashed line in \cresc

2021-11-30 Thread Lib Lists
Hi Valentin, thank you so much for your help! However, with your solution, the \ff gets aligned (more or less) with the bottom of the line, while I'd want it to be aligned with the 'cresc.' text as in the original example. I tried to experiment changing the values of your solution, but couldn't

Re: How to change the alignment of the dashed line in \cresc

2021-11-30 Thread Leo Correia de Verdier
I would have expected \override DynamicTextSpanner.bound-details.left.stencil-align-dir-y = #DOWN to work, since I think that is the property to be changed, but it seems it needs a lower value, like \override DynamicTextSpanner.bound-details.left.stencil-align-dir-y = #-2 To align properly.

Re: How to change the alignment of the dashed line in \cresc

2021-11-30 Thread Valentin Petzel
Hello Lib, try this: \version "2.22.1" { \override DynamicTextSpanner.bound-details.left.Y = #-1 \override DynamicTextSpanner.bound-details.right.Y = #-1 \override DynamicTextSpanner.bound-details.left.stencil-offset = #'(-0.75 . 0) c'1\cresc d' e'\ff } Cheers, Valentin Am Dienstag,

How to change the alignment of the dashed line in \cresc

2021-11-30 Thread Lib Lists
Hello, I'm trying to change the vertical alignment of the dashed line so that it is at the same level with the bottom of the text 'cresc.', instead of being at the centre. I checked the documentation for the DynamicTextSpanner but couldn't find the right property to change. \version "2.22.1" {

Re: Problems with trill spanner length

2021-11-30 Thread Lib Lists
The solution was simple, I just had to place a '-' before \tweak. { \pitchedTrill ees1 -\tweak to-barline ##t \startTrillSpan e \time 3/4 f2. \stopTrillSpan } Cheers, Lib On Tue, 30 Nov 2021 at 10:24, Lib Lists wrote: > > Hi, > > thank you so much. Both seem to work well. However, in

Re: Problems with trill spanner length

2021-11-30 Thread Lib Lists
Hi, thank you so much. Both seem to work well. However, in the first option, if I use \pitchedTrill it seems to break the \tweak to-barline solution. Any suggestions for this? { \pitchedTrill ees1 \tweak to-barline ##t \startTrillSpan e %don't know where to please the \tweak \time 3/4