Re: Cadenza in a Score

2021-10-16 Thread Valentin Petzel
Hello Greg! Maybe \RemoveEmptyStaves (or equivalently \override VerticalAxisGroup.remove-empty = ##t ) would do the trick? Also suspending bars in case of cadenzas is exactly what \cadenzaOn and \cadenzaOff are for. But keep in mind that cadenzaOn will prevent automatic breaking, as no bar line

Re: How to add a horizontal line after every third verse?

2021-10-16 Thread Matthew Fong
Dear Valentin, Confirmed that was the offending line. Warning is fixed. Many thanks for your support and help! Pax, mattfong On Sat, Oct 16, 2021 at 11:51 AM Valentin Petzel wrote: > Hello, > > that warning probably comes from some \override > VerticalAxisGroup.staff-affinity = #center I thre

Re: How to add a horizontal line after every third verse?

2021-10-16 Thread Valentin Petzel
Hello, that warning probably comes from some \override VerticalAxisGroup.staff-affinity = #center I threw in there for some example I think. As the lyrics have staff-affinity top per default we get this warning (which basically say if we have some sandwiched contexts the lower one should not a

Re: How to add a horizontal line after every third verse?

2021-10-16 Thread Matthew Fong
Dear Colin and Valentin, Confirmed solution works. Also have the same warning. Pax, mattfong On Sat, Oct 16, 2021 at 10:41 AM colin baguley wrote: > Well done Valentin - that has worked! > Although I do get an error message :- > "Drawing systems... > > warning: staff-affinities should only de

Re: How to add a horizontal line after every third verse?

2021-10-16 Thread colin baguley
Well done Valentin - that has worked! Although I do get an error message :- "Drawing systems... warning: staff-affinities should only decrease" But even so it works well Thank you === Colin Baguley co...@baguley.net === On Sat, 16

Re: Cadenza in a Score

2021-10-16 Thread Knute Snortum
On Sat, Oct 16, 2021 at 6:27 AM Greg Lindstrom wrote: > > I am constructing a score with 4 instruments (tuba/euphonium quartet) and > have come to a spot where Euph 1 has a cadenza. Since it is an extended > passage, I would like to "suspend" the 4 lines of the score and have only the > cadenza

Cadenza in a Score

2021-10-16 Thread Greg Lindstrom
I am constructing a score with 4 instruments (tuba/euphonium quartet) and have come to a spot where Euph 1 has a cadenza. Since it is an extended passage, I would like to "suspend" the 4 lines of the score and have only the cadenza line, then go back to having the 4 line score after the cadenza. Is

Re: Rehearsal mark vertical spacing

2021-10-16 Thread Павел
Hello, Erica. You can use \override: \version "2.18.2" notes = \relative c'''{   \repeat unfold 8 {g8 a}   \once \override Score.RehearsalMark.padding = #3   \mark \default g1 } \score { \new Staff {\notes} } You can read more about overrides here: http://lilypond.org/doc/v2.22/Documentation

Re: Copy variable by value in a current-module.

2021-10-16 Thread Robert Kubosz
Thanks for quick answers, Jean and David! The function "ly:music-deep-copy" is the solution I was looking for :-) > module-ref and module-set! are useful for dealing with variables of which the name is not known in advance. Actually, in my case I don't know in advance the name of a variable which

Rehearsal mark vertical spacing

2021-10-16 Thread Erika Pirnes
I'm trying to figure out how to position rehearsal marks a bit farther from the staff. It might be an easy fix (I hope so) but I couldn't find a solution yet. My example below; especially with notes above the staff the rehearsal mark seems to be too clingy. \version "2.18.2" notes = \relative

Re: Copy variable by value in a current-module.

2021-10-16 Thread David Kastrup
Robert Kubosz writes: > I want to make a copy of a variable defined in a separate file, but run in > the same current-module. > The copy I make is a copy-by-reference, and in result any modifications I > apply to the copy also appear in the original. > How do I make a copy-by-value in a current-m

Re: Copy variable by value in a current-module.

2021-10-16 Thread Jean Abou Samra
Le 16/10/2021 à 10:47, Robert Kubosz a écrit : I want to make a copy of a variable defined in a separate file, but run in the same current-module. The copy I make is a copy-by-reference, and in result any modifications I apply to the copy also appear in the original. How do I make a copy-by-val

Copy variable by value in a current-module.

2021-10-16 Thread Robert Kubosz
I want to make a copy of a variable defined in a separate file, but run in the same current-module. The copy I make is a copy-by-reference, and in result any modifications I apply to the copy also appear in the original. How do I make a copy-by-value in a current-module? More detailed example is a

Re: How to add a horizontal line after every third verse?

2021-10-16 Thread Valentin Petzel
Hello Matthew, hello Colin, I suspect that this is caused by the lyrics used to keep the line separator alive is too long, as it is not aligned to some voice (although I don’t get why this would keep the staff alive). So try doing \lineSep \lyricsto someVoice someLyrics And see if it solves th