Re: Bend Spanner in a chord: wrong pitch calculation?

2024-10-16 Thread Federico Bruni
\version "2.25.19" mus = \relative { % From g\3 to gis\3 there's one semitone, % but the Bend spanner is printing 1 instead of 1/2. 4\^ g\^ gis } \score { \new StaffGroup << \new Staff { \clef "treble_8" \mus } \new TabStaff \mus >

Re: Bend Spanner in a chord: wrong pitch calculation?

2024-10-13 Thread Thomas Morley
ive { > % From g\3 to gis\3 there's one semitone, > % but the Bend spanner is printing 1 instead of 1/2. > 4\^ > g\^ gis > } > > \score { > \new StaffGroup << > \new Staff { \clef "treble_8" \mus } > \new TabStaff \mus > >> > \layout { } > } > Hi Federico, trry: 4\^ Cheers, Harm

Bend Spanner in a chord: wrong pitch calculation?

2024-10-13 Thread Federico Bruni
Hi folks I'm trying to understand how to bend some notes in a chord. The following example shows a bug, unless I'm missing something: \version "2.25.19" mus = \relative { % From g\3 to gis\3 there's one semitone, % but the Bend spanner is printing 1 instead of 1/2.

Shorten volta spanner to first and last measure only

2024-08-03 Thread Vlado Ilić
I see there is a \set Score.voltaSpannerDuration = #(ly:make-moment 3/4) but it only prints the volta spanner on the beginning of alternative music, is it possible to print it also on the last measure of alternative? For example, if i have 28 measures of alternative music, only to print volta

Re: Spanner start and end in different voices or hack

2024-06-13 Thread Werner LEMBERG
> I’d like for the bracket to extend to the end of the bar. [...] If you use `<< { } // { } >>`, the voices are using names '0', '1', etc. However, if you use `<< { } \new Voice { } >>`, the name of the first voice in `<<>>` doesn't change. This might lead to the following solution. ``` \vers

Spanner start and end in different voices or hack

2024-06-13 Thread Fennel
ect I’m working on requires that beam remain intact and have correct stem direction. If at all possible, keeping the first half of the bar in the single outer voice would be fantastic. Is there a way around the voice problem or a way to tweak the length of the spanner beyond the specified endpoint? Fennel ​

Re: simple problem: my first text spanner starts too early?

2024-04-22 Thread Kenneth Wolcott
Thank you Xavier! You gave me the hint I needed. I need to specify that the text spanner should start below (not default, which is above). Problem solved. Ken On Mon, Apr 22, 2024 at 1:18 PM Xavier Scheuer wrote: > > On Mon, 22 Apr 2024 at 21:48, Kenneth Wolcott > wrote: &

Re: simple problem: my first text spanner starts too early?

2024-04-22 Thread Xavier Scheuer
On Mon, 22 Apr 2024 at 21:48, Kenneth Wolcott wrote: > > Hi; > > I've made a simple mistake but I can't figure out what I did wrong. > > At bar #36 the first text spanner starts. I think that's correct. But > the piano articulation should be a bar earlier?

Re: Volta spanner missing edge when using "|" as endRepeatType

2024-02-29 Thread Andy Bradford
Thus said Thomas Morley on Thu, 29 Feb 2024 10:47:06 +0100: > \allowVoltaHook = "|" > placed toplevel, should do the trick. Thanks, for the archives, the correct syntax is (without the "="): \allowVoltaHook "|" Works great. Andy

Re: Volta spanner missing edge when using "|" as endRepeatType

2024-02-29 Thread Thomas Morley
ing up in the middle of > the piece, so I set the endRepeatType to "|", but when I do that, the > right edge of the volta spanner loses the stright edge line. I've tried > various combinations of bars to see if I can get it to work but haven't > succeeded so far.

Volta spanner missing edge when using "|" as endRepeatType

2024-02-28 Thread Andy Bradford
when I do that, the right edge of the volta spanner loses the stright edge line. I've tried various combinations of bars to see if I can get it to work but haven't succeeded so far. I also tried just using a solid line Text spanner but couldn't find a way to get any text "in

Problems while defining an aligning mark-spanner

2023-12-30 Thread Thomas Morley
Hi, please have a look at the code below. It is an attempt to implement an aligning spanner between certain marks at score-level. Here I use TextMark and a newly defined TextMarkSpanner-grob. Currently the TextNarks are moved, which is nice. Though, it relies on the highest element in the Staff

Overpressure Graphic Notation Spanner

2023-10-26 Thread Gregory Evans
Hello, I am wondering if anyone can assist me with a custom spanner. I do not have any example code, but I have code for a vibrato spanner which I believe could be modified for this purpose. Sometimes a scratch sound on a string instrument is notated with a spanner that increases in size. I have

Re: adding accidental to "tr" for trill spanner

2023-10-15 Thread Paul Scott
On 10/15/23 11:41 AM, Werner LEMBERG wrote: If you can't find something in the docs, you should try the LilyPond Snippet Repository next: https://lsr.di.unimi.it Entering 'trill' into the search box you will soon find https://lsr.di.unimi.it/LSR/Item?id=304 Thank you for the reminder.

Re: adding accidental to "tr" for trill spanner

2023-10-15 Thread Werner LEMBERG
>> Have you looked at >> http://lilypond.org/doc/v2.25/Documentation/notation/trills ? >> > Many times. If you can't find something in the docs, you should try the LilyPond Snippet Repository next: https://lsr.di.unimi.it Entering 'trill' into the search box you will soon find https://lsr

Re: adding accidental to "tr" for trill spanner

2023-10-15 Thread Paul Scott
On 10/15/23 11:28 AM, Mats Bengtsson wrote: Have you looked at http://lilypond.org/doc/v2.25/Documentation/notation/trills ? Many times. Paul On 2023-10-15 20:18, Paul Scott wrote: This is probably simple but some parts of the wonderful Lilypond documentation are not clear to me. Ra

Re: adding accidental to "tr" for trill spanner

2023-10-15 Thread Mats Bengtsson
Have you looked at http://lilypond.org/doc/v2.25/Documentation/notation/trills ?    Mats On 2023-10-15 20:18, Paul Scott wrote: This is probably simple but some parts of the wonderful Lilypond documentation are not clear to me.

adding accidental to "tr" for trill spanner

2023-10-15 Thread Paul Scott
This is probably simple but some parts of the wonderful Lilypond documentation are not clear to me. Rather than use a pitched trill I need the other version of a trill where the "tr" is followed by an accidental. Can someone direct to the documentation where I can change the "tr" to either "

Volta spanner only on first and last repeat bar

2023-08-19 Thread Vlado Ilić
I can shorten a volta spanner to first bar with \set Score.voltaSpannerDuration But how can I make it show on the last bar? For example, the first repeat bar is on page 1 and the last bar is on page 3, how can i avoid printing volta spanner on the 2nd page?

Re: Markup in the middle of a spanner

2023-04-07 Thread David Nalesnik
On Fri, Apr 7, 2023 at 7:26 AM David Nalesnik wrote: > Hi Andrew, > > On Fri, Apr 7, 2023 at 7:23 AM Andrew Bernard > wrote: > >> Ah, that's the one I now remember. >> >> Could this go into OLL? >> >> Andrew >> > > Sure, if you like! It might need some adjusting for 2.24 - not sure. > > David >

Re: Markup in the middle of a spanner

2023-04-07 Thread David Nalesnik
Hi Andrew, On Fri, Apr 7, 2023 at 7:23 AM Andrew Bernard wrote: > Ah, that's the one I now remember. > > Could this go into OLL? > > Andrew > Sure, if you like! It might need some adjusting for 2.24 - not sure. David

Re: Markup in the middle of a spanner

2023-04-07 Thread Andrew Bernard
(or also a textspanner). This will handle TextSpanners: https://github.com/davidnalesnik/lilypond-text-spanner-inner-texts Best, David

Re: Markup in the middle of a spanner

2023-04-07 Thread David Nalesnik
Hi Rip_mus, > > On 7/04/2023 4:18 pm, Rip _Mus wrote: > > do you know any technique to place a markup right in the middle (X > > axis) of a DurationLine Grob? (or also a textspanner). > > This will handle TextSpanners: https://github.com/davidnalesnik/lilypond-text-s

Re: Markup in the middle of a spanner

2023-04-06 Thread Andrew Bernard
Others will shortly come in with a formal Scheme solution but I just use markup text with a whiteout background and manually offset it to be in the middle of the spanner. No good when things shift, but does the job. I thought there used to be a technique for this in the Lilypond Snippet

Markup in the middle of a spanner

2023-04-06 Thread Rip _Mus
Hello, do you know any technique to place a markup right in the middle (X axis) of a DurationLine Grob? (or also a textspanner). Thank you Rip_mus

Re: Harp Pedal Spanner

2023-03-02 Thread Alexandre Loomis
That works perfectly, thanks! Alex On Thu, Mar 2, 2023 at 1:34 PM Jean Abou Samra wrote: > Le jeudi 02 mars 2023 à 12:11 -0700, Alexandre Loomis a écrit : > > Hi, > > I'm having trouble defining a harp pedal spanner. I'd like to be able to > write code like > &

Re: Harp Pedal Spanner

2023-03-02 Thread Jean Abou Samra
Le jeudi 02 mars 2023 à 12:11 -0700, Alexandre Loomis a écrit : > Hi, > > I'm having trouble defining a harp pedal spanner. I'd like to be able to > write code like > > \relative c' { f4 _\startPedal "F♮" g fes \endPedal "♭" } &g

Harp Pedal Spanner

2023-03-02 Thread Alexandre Loomis
Hi, I'm having trouble defining a harp pedal spanner. I'd like to be able to write code like \relative c' { f4 _\startPedal "F♮" g fes \endPedal "♭" } and get as output the notes, with F♮ below the f natural, ♭ below the f flat, and a line connecting the ma

Re: Custom dynamic text with spanner

2023-02-16 Thread Jean Abou Samra
Le vendredi 17 février 2023 à 00:45 -0600, Evan Driscoll a écrit : > On Fri, Feb 17, 2023 at 12:40 AM Jean Abou Samra > <[j...@abou-samra.fr](mailto:j...@abou-samra.fr)> wrote:It works like this > too: ``` > \version "2.24.0" > > > > { > > \once \set crescendoText = "molto cresc." > > c'1\cr

Re: Custom dynamic text with spanner

2023-02-16 Thread Evan Driscoll
On Fri, Feb 17, 2023 at 12:40 AM Jean Abou Samra wrote: > It works like this too: > > \version "2.24.0" > > { > \once \set crescendoText = "molto cresc." > c'1\cresc c' c'\! > } > > This one does *not* work for me. Perhaps it's a version difference. For example, hacklily.org with version cha

Re: Custom dynamic text with spanner

2023-02-16 Thread Jean Abou Samra
Le vendredi 17 février 2023 à 00:31 -0600, Evan Driscoll a écrit : > > On Fri, Feb 17, 2023 at 12:17 AM Michael Werner > <[reznae...@gmail.com](mailto:reznae...@gmail.com)> wrote: > > > Short version:\set crescendoText = \markup { \italic { molto cresc } } > > \set crescendoSpanner = #'text >

Re: Custom dynamic text with spanner

2023-02-16 Thread Evan Driscoll
On Fri, Feb 17, 2023 at 12:17 AM Michael Werner wrote: > Short version: > \set crescendoText = \markup { \italic { molto cresc } } > \set crescendoSpanner = #'text > should be either what you're wanting or pretty close to it. > Oh, I see, thank you very much! I actually saw that and tried to tr

Re: Custom dynamic text with spanner

2023-02-16 Thread Michael Werner
Hi Evan - Just above the section you linked to is a bit titled "Changing text and spanner styles for text dynamics" that seems to be what you're asking about. Short version: \set crescendoText = \markup { \italic { molto cresc } } \set crescendoSpanner = #'text should b

Custom dynamic text with spanner

2023-02-16 Thread Evan Driscoll
The manual describes ( http://lilypond.org/doc/v2.24/Documentation/notation/expressive-marks-attached-to-notes#new-dynamic-marks) how to create new dynamics with custom markup... ...but it doesn't say how to combine that with an indication like "cresc." that gets a spanner attache

Re: Slur below triplet spanner

2023-02-11 Thread Valentin Petzel
Hi Group, > > > > I've got notes with a slur within a triplet and want to have the spanner > > and the slur above the notes, but the slur below the spanner. > > > > \tuplet 3/2 { b4(f) g } > > > > * > > > > How can I change the prior

Re: Slur below triplet spanner

2023-02-11 Thread David Kastrup
Johannes Roeßler writes: > Hi Group, > > I've got notes with a slur within a triplet and want to have the spanner and > the slur above > the notes, but the slur below the spanner. > > \tuplet 3/2 { b4(f) g } > > * > > How can I change the p

Slur below triplet spanner

2023-02-11 Thread Johannes Roeßler
Hi Group, I've got notes with a slur within a triplet and want to have the spanner and the slur above the notes, but the slur below the spanner. \tuplet 3/2 { b4(f) g } How can I change the priority? Best regards Joei

Re: aligning text in text spanner

2022-11-17 Thread Werner LEMBERG
> I volunteer for opening an issue ;-). I have barely any idea of how > those commands work, much less of how to explain them to someone > else. Then do so, please! Werner

Re: aligning text in text spanner

2022-11-17 Thread Martín Rincón Botero
I volunteer for opening an issue ;-). I have barely any idea of how those commands work, much less of how to explain them to someone else. www.martinrinconbotero.com > > On Nov 17, 2022 at 7:58 AM, mailto:w...@gnu.org)> wrote: > > > > > By the way, shouldn'

Re: aligning text in text spanner

2022-11-16 Thread Werner LEMBERG
> By the way, shouldn't \with-dimension(-from) be documented here > https://lilypond.org/doc/v2.23/Documentation/notation/dimensions.html > ? I don't think so. However, it makes probably sense to mention related markup commands in the 'See also' section. Do you volunteer for a MR? :-) We

Re: aligning text in text spanner

2022-11-16 Thread Jean Abou Samra
Actually, I see now that line spanners also support absolute shifts (I didn't remember that, in spite of having worked on that code ...). So, just do \version "2.23.81" {   f'1   ~   - \tweak style #'line   - \tweak bound-details.left.stencil-offset #'(0 . -0.4)   - \tweak bound-details.right.ar

Re: aligning text in text spanner

2022-11-16 Thread Martín Rincón Botero
is not the default behavior...). Am Mi., 16. Nov. 2022 um 20:52 Uhr schrieb Jean Abou Samra < j...@abou-samra.fr>: > > > Le 16/11/2022 à 16:26, Martín Rincón Botero a écrit : > > Hello, the following code produces text on both sides of the spanner > > that looks vertically

Re: aligning text in text spanner

2022-11-16 Thread Jean Abou Samra
Le 16/11/2022 à 16:26, Martín Rincón Botero a écrit : Hello, the following code produces text on both sides of the spanner that looks vertically well aligned with the upper limit of its box instead of the inferior one: {   f'1   ~   - \tweak style #'line   - \t

aligning text in text spanner

2022-11-16 Thread Martín Rincón Botero
Hello, the following code produces text on both sides of the spanner that looks vertically well aligned with the upper limit of its box instead of the inferior one: { f'1 ~ - \tweak style #'line - \tweak bound-details.left.stencil-align-dir-y #CENTER - \tweak bound-details.r

Re: 2.23.80- stopping text spanner text on subsequent lines

2022-11-01 Thread Paul Scott
Oops!  Thank you! Paul On 11/1/22 11:03 AM, Jean Abou Samra wrote: Le 01/11/2022 à 19:00, Paul Scott a écrit : optt = {   \override TextSpanner.bound-details.left.text =   \markup { \fontsize #-2 \upright "Opt. Tpt tacet" }   \override TextSpanner.bound-details.left.broken.text = "" }  

Re: 2.23.80- stopping text spanner text on subsequent lines

2022-11-01 Thread Jean Abou Samra
Le 01/11/2022 à 19:00, Paul Scott a écrit : optt = {   \override TextSpanner.bound-details.left.text =   \markup { \fontsize #-2 \upright "Opt. Tpt tacet" }   \override TextSpanner.bound-details.left.broken.text = "" }   \override TextSpanner.bound-details.left.broken.text = "" ^^^

Re: 2.23.80- stopping text spanner text on subsequent lines

2022-11-01 Thread Paul Scott
27;1     \tweak bound-details.left.text "A"     \tweak bound-details.left-broken.text "" % <==     \startTextSpan   \break   c'1   \break   c'1\stopTextSpan } In my case there is only one text spanner in the part and I use the following definition at the

Re: 2.23.80- stopping text spanner text on subsequent lines

2022-11-01 Thread Jean Abou Samra
Le 01/11/2022 à 18:02, Paul Scott a écrit : Can someone please tell me how to stop text spanners from repeating the text on subsequent lines? \version "2.22.2" {   c'1     \tweak bound-details.left.text "A"     \tweak bound-details.left-broken.text "" % <==     \startTextSpan   \break

2.23.80- stopping text spanner text on subsequent lines

2022-11-01 Thread Paul Scott
Can someone please tell me how to stop text spanners from repeating the text on subsequent lines? TIA, Paul

Re: Different minimum-length for broken spanner

2022-08-04 Thread Jean Abou Samra
; rods problem to express the constraints you want. I don't have the bandwidth to look into this right now, but a good place to start would be the implementation of ly:spanner::set-spacing-rods in lily/spanner.cc. [Kieren] Does \alterBroken work? Or does it fail because minimum-length is o

Re: Different minimum-length for broken spanner

2022-08-04 Thread Mark Knoop
minimum-length is one of > the "spanner properties accessed before line-breaking such as direction" > [known issue]? That's correct - I tried \alterBroken first. The springs-and-rods callback which reads minimum-length has to run before the spanner can be broken. -- Mark Knoop

Re: Different minimum-length for broken spanner

2022-08-04 Thread Kieren MacMillan
Hi Mark, > Ideally there could be a property `minimum-length-before-break` to match > `minimum-length-after-break` to address this? Or am I simply approaching this > problem from the wrong angle? Does \alterBroken work? Or does it fail because minimum-length is one of the "span

Different minimum-length for broken spanner

2022-08-04 Thread Mark Knoop
Hi, I'm creating a TextSpanner to indicate a gradual transition between instrumental techniques. In order that the left and right texts don't collide, my before-line-breaking callback sets the minimum-length property of the spanner to the sum of the width of the two markups. This

Re: ottava spanner terminates at the end of the note, not the end of the bar

2022-05-14 Thread Valentin Petzel
ource that deviates from common >> and expected practise. >> >> It is a known problem that while the ottava bracket looks like a line >> spanner it is not a line spanner and does not follow the same interface. >> This means that for properly implementing this you&

Re: ottava spanner terminates at the end of the note, not the end of the bar

2022-05-14 Thread Kenneth Wolcott
ke this should be considered uncommon notation. > Considering Tchaikovsky is not exactly modern music I think it is viable to > say that in this case it is your original source that deviates from common > and expected practise. > > It is a known problem that while the ottava bracket lo

Re: ottava spanner terminates at the end of the note, not the end of the bar

2022-05-14 Thread Kenneth Wolcott
Thank you, Aaron. Interesting thoughts... Ken On Fri, May 13, 2022 at 9:21 PM Aaron Hill wrote: > > On 2022-05-13 8:28 pm, Kenneth Wolcott wrote: > > The ottava spanner terminates at the end of the note, not at the end > > of the bar. > > > > How to chan

Re: ottava spanner terminates at the end of the note, not the end of the bar

2022-05-14 Thread Valentin Petzel
nk it is viable to say that in this case it is your original source that deviates from common and expected practise. It is a known problem that while the ottava bracket looks like a line spanner it is not a line spanner and does not follow the same interface. This means that for properly impleme

Re: ottava spanner terminates at the end of the note, not the end of the bar

2022-05-13 Thread Aaron Hill
On 2022-05-13 8:28 pm, Kenneth Wolcott wrote: The ottava spanner terminates at the end of the note, not at the end of the bar. How to change this? Screenshots attached. Consider the following: \version "2.22.0" \relative c'' { % Be careful not to stop

Re: Custom Spanner with variable length sections

2022-04-17 Thread Dimitris Marinakis
> What are you using this spanner for, by the way? > I'll use it for various spanners that need gradual changes, primarily for trills with variable speed. There are other more text-based notations but I like the simplicity of the spanner. I am surprised by the font issue though.

Re: Custom Spanner with variable length sections

2022-04-15 Thread Jean Abou Samra
b on its own in some Dynamics-like context. See below for an implementation that has it; it's just one added line of code. What are you using this spanner for, by the way? I'm using 2.23.0. I can't use the latest versions for all of my projects yet because I'm using a fo

Re: Custom Spanner with variable length sections

2022-04-15 Thread Dimitris Marinakis
> > (not on a single system). > > > > Right, I intended to add this code, but forgot it along the way. > > > > > Also it would be useful to have control over the broken.left/right > > paddings. This is an issue especially if the spanner is used above the >

Re: Custom Spanner with variable length sections

2022-04-15 Thread Jean Abou Samra
on a single system). Right, I intended to add this code, but forgot it along the way. Also it would be useful to have control over the broken.left/right paddings. This is an issue especially if the spanner is used above the stave (clef collisions). Is it too hard to an option to align the b

Re: Custom Spanner with variable length sections

2022-04-15 Thread Dimitris Marinakis
issue especially if the spanner is used above the stave (clef collisions). Is it too hard to an option to align the broken sections on the first and last notes in the system instead of the system edges? The current behaviour isn't wrong. It's just not suitable for all use cases. Best, Di

Re: Custom Spanner with variable length sections

2022-04-14 Thread Jean Abou Samra
Le 14/04/2022 à 16:09, Kieren MacMillan a écrit : Hi Dimitris, I need a custom spanner that has x sections with different symbols. This is going to be tricky so any help is appreciated. https://github.com/davidnalesnik/lilypond-text-spanner-inner-texts Ok, I'm not sure if this solve

Re: Custom Spanner with variable length sections

2022-04-14 Thread Kieren MacMillan
Hi Dimitris, > I need a custom spanner that has x sections with different symbols. This is > going to be tricky so any help is appreciated. https://github.com/davidnalesnik/lilypond-text-spanner-inner-texts Hope that helps! Kieren.

Custom Spanner with variable length sections

2022-04-14 Thread Dimitris Marinakis
I need a custom spanner that has x sections with different symbols. This is going to be tricky so any help is appreciated. I already have a hacky solution for fixed length spanners but it is pain to maintain it. I'd like a more usable solution that can handle variable lengths. It would be

Re: Desired: text spanner to end at the end of the bar, not at the beginning of the bar

2022-03-23 Thread Kenneth Wolcott
r. > > > > \relative c'' { > >e4\< e2. > >e1\! > >\override Hairpin.to-barline = ##f > >e4\< e2. > > e1\! > > } > > > >Is there something similar to instruct Lilypond to extend the text > > sp

Re: Desired: text spanner to end at the end of the bar, not at the beginning of the bar

2022-03-23 Thread Jean Abou Samra
there something similar to instruct Lilypond to extend the text spanner to the end of the bar rather than the beginning of the bar? Thanks, Ken Wolcott It works the same. \version "2.22.2" {   \override TextSpanner.to-barline = ##t   \once \override TextSpanner.bound-details.left.text =

Desired: text spanner to end at the end of the bar, not at the beginning of the bar

2022-03-23 Thread Kenneth Wolcott
Hi; I see the following snippet that displays the hairpin at the end of the bar instead of the beginning of the bar. \relative c'' { e4\< e2. e1\! \override Hairpin.to-barline = ##f e4\< e2. e1\! } Is there something similar to instruct Lilypond to extend the tex

Re: text spanner around a line break restates the text, this is not wanted

2022-03-23 Thread Kenneth Wolcott
Hi Xavier; Thank you. Why is it so obvious when somebody points out what you do not see? :-( \facepalm :-( It seems (mostly) correct now. How do you get the text spanner to display all the way to the end of the bar? I'll look at the manual again to try to find out how I missed

Re: text spanner around a line break restates the text, this is not wanted

2022-03-23 Thread Xavier Scheuer
On Wed, 23 Mar 2022 at 20:39, Kenneth Wolcott wrote: > > I missed some pertinent code: bars 37-42; enclosed below. > > (snip) > Hello, You have \stopTextSpan in measure 38, so it ends in measure 38. Furthermore you have Moderato in measure 39, do you really want the TextSpanner to continue until

Re: text spanner around a line break restates the text, this is not wanted

2022-03-23 Thread Kenneth Wolcott
attached a new screenshot of what this produces. > > The text spanner does not wrap around to the next two bars. > > Thanks, > Ken > > %\break > 4(4. a'8) | % m30 > 2\fz(4) | % m31 > \override TextSpanner.bound-details.left.text = > \ma

Re: text spanner around a line break restates the text, this is not wanted

2022-03-23 Thread Carl Sorensen
On Tue, Mar 22, 2022 at 11:57 PM Kenneth Wolcott wrote: > Thank you for your assistance, Leo. > > With your example I was able to remove the duplicate text in the text > spanner, but I was not able to get the text spanner to continue beyond bar > #38. > > So, I will spend mo

Re: Text Spanner repeated after a break

2021-12-17 Thread Jean Abou Samra
Le 16/12/2021 à 19:03, Valentin Petzel a écrit : Hello Jean, I think it does make sense to apply the line spanner interface for any Spanner that behaves pretty much like a line spanner. But then maybe it would make sense to add some of the details of the Ottava bracket to the line spanner

Re: Text Spanner repeated after a break

2021-12-16 Thread Valentin Petzel
Hello Jean, I think it does make sense to apply the line spanner interface for any Spanner that behaves pretty much like a line spanner. But then maybe it would make sense to add some of the details of the Ottava bracket to the line spanner interface, such as having hooks or flare on the lines

Re: Text Spanner repeated after a break

2021-12-14 Thread Jean Abou Samra
OttavaSpanner is not implemented as such a one because it has some more features like being a bracket and not just a line. I wouldn't swear on it being infeasible to make it share part of the line spanner implementation though. Regards, Jean

Re: Text Spanner repeated after a break

2021-12-14 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: >

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

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

Re: Problems with trill spanner length

2021-11-30 Thread Lib Lists
d4\startTrillSpan \stopTrillSpan > > } > > > > HTH, > > Dimitris > > > > On Mon, Nov 29, 2021 at 6:24 PM Lib Lists wrote: > >> > >> Hi, > >> I have two problems related to the trill spanner length. > >> > >> \ver

Re: Problems with trill spanner length

2021-11-30 Thread Lib Lists
Span > > \time 3/4 > d2 > -\tweak bound-details.right.padding #1 > -\tweak springs-and-rods #ly:spanner::set-spacing-rods > -\tweak minimum-length #8 > \startTrillSpan d4\startTrillSpan \stopTrillSpan > } > > HTH, > Dimitris > > On Mon, Nov 29, 2021 at 6:24 PM

Re: Problems with trill spanner length

2021-11-29 Thread Dimitris Marinakis
th #8 \startTrillSpan d4\startTrillSpan \stopTrillSpan } HTH, Dimitris On Mon, Nov 29, 2021 at 6:24 PM Lib Lists wrote: > Hi, > I have two problems related to the trill spanner length. > > \version "2.22.1" > { > ees1\startTrillSpan > \time 3/4 > d2\startTri

Problems with trill spanner length

2021-11-29 Thread Lib Lists
Hi, I have two problems related to the trill spanner length. \version "2.22.1" { ees1\startTrillSpan \time 3/4 d2\startTrillSpan d4\startTrillSpan \stopTrillSpan } First bar: according to Gould (p. 136) the trill line should stop at the barline. Is there a way to achieve this?

Re: trill spanner over whole note

2021-06-08 Thread Jean Abou Samra
)    (make-engraver (acknowledgers    ((clef-interface engraver grob source-engraver)   (set! clef grob)))      (end-acknowledgers    ((trill-spanner-interface engraver grob source-engraver)   (set! trills (cons grob

Re: trill spanner over whole note

2021-06-07 Thread Jean Abou Samra
Le 08/06/2021 à 00:09, Molly Preston a écrit : I don't want it through the end of the score. I just want it through the end of the next measure. Sorry, I misunderstood the question. What is wrong with this? \version "2.22.0" \new Staff {   r2 r4 c'~\startTrillSpan |   c'1 \< |   d'1\f\stop

Re: trill spanner over whole note

2021-06-07 Thread Molly Preston
I don't want it through the end of the score. I just want it through the end of the next measure. -Molly On Mon, Jun 7, 2021 at 6:04 PM Jean Abou Samra wrote: > > Le 07/06/2021 à 23:57, Molly Preston a écrit : > > Hi again. > > > > I am trying to get a trill spanne

Re: trill spanner over whole note

2021-06-07 Thread Jean Abou Samra
Le 07/06/2021 à 23:57, Molly Preston a écrit : Hi again. I am trying to get a trill spanner over a quarter note tied to a whole note and through that measure. \new Staff {     r2 r4 c' ~  \startTrillSpan|     << { c'1 \< } \\ {s4 s s s \stopTrillSpan } >>     d&#

trill spanner over whole note

2021-06-07 Thread Molly Preston
Hi again. I am trying to get a trill spanner over a quarter note tied to a whole note and through that measure. \new Staff { r2 r4 c' ~ \startTrillSpan| << { c'1 \< } \\ {s4 s s s \stopTrillSpan } >> d'1\f | } I tried to use the spacer rests for

Re: Can I switch off automatic repetition of spanner text?

2021-05-12 Thread David Nalesnik
ut I’m not sure) > This has the benefit that the words in the spanner are not forced to align > with notes. > > Best! > /Leo > You can try this for spanners with end and inner text: https://github.com/davidnalesnik/lilypond-text-spanner-inner-texts Best, David N

Re: Can I switch off automatic repetition of spanner text?

2021-05-12 Thread Matthew Munro
Many thanks, Jean and Leo (and in advance any other repliers). This is a big help. Best to all.

Re: Can I switch off automatic repetition of spanner text?

2021-05-12 Thread Leo Correia de Verdier
There are also functions written that create this kind of spanners, for instance at https://lists.gnu.org/archive/html/lilypond-user/2013-05/msg00405.html (I think there might also be a newer version, but I’m not sure) This has the benefit that the words in the spanner are not forced to align

Re: Can I switch off automatic repetition of spanner text?

2021-05-12 Thread Jean Abou Samra
Le 12/05/2021 à 11:39, Matthew Munro a écrit : Greetings, all. I have searched for help on this and failed to find. Please would someone tell me how to suppress automatic repetition of spanner text (where the spanner reaches a new line)? Repetition appears to be the default. I have not seen

Can I switch off automatic repetition of spanner text?

2021-05-12 Thread Matthew Munro
Greetings, all. I have searched for help on this and failed to find. Please would someone tell me how to suppress automatic repetition of spanner text (where the spanner reaches a new line)? Repetition appears to be the default. I have not seen such repetition in my sheet music (except for

Re: Text Spanner auto expand to end of duration

2021-02-08 Thread Jean Abou Samra
Le 08/02/2021 à 13:32, Jean Abou Samra a écrit : Le 08/02/2021 à 01:59, Thomas Morley a écrit : Well, I seem to remember that there was a problem, if a custom-engraver was consisted in various files all compiled in one go like lilypond file-1.ly file-2.ly. Some bleed over, iirc. I didn't test

Re: Text Spanner auto expand to end of duration

2021-02-08 Thread Jean Abou Samra
Le 08/02/2021 à 01:59, Thomas Morley a écrit : Am Mo., 8. Feb. 2021 um 00:29 Uhr schrieb Jean Abou Samra : ((finalize this-engraver) ;; house keeping (set! trill-spanner #f) (set! rhythmic-events '()) (set! bar-line #f) Hi Harm, Is th

Re: Text Spanner auto expand to end of duration

2021-02-07 Thread Thomas Morley
Am Mo., 8. Feb. 2021 um 00:29 Uhr schrieb Jean Abou Samra : > > ((finalize this-engraver) > ;; house keeping > (set! trill-spanner #f) > (set! rhythmic-events '()) > (set! bar-line #f) > > > Hi Harm, > > Is there a

Re: Text Spanner auto expand to end of duration

2021-02-07 Thread Jean Abou Samra
((finalize this-engraver) ;; house keeping (set! trill-spanner #f) (set! rhythmic-events '()) (set! bar-line #f) Hi Harm, Is there a reason to reset variables in 'finalize' methods like this? I've done without so far and n

Re: Text Spanner auto expand to end of duration

2021-02-07 Thread Dimitris Marinakis
you can see if other staves have different > durations (shorter than the span that needs to be covered), the spanner > terminates at the first next duration it finds. Could you make the spanner > to see only the relevant duration of the context it is applied to? Voice, > Staf

Re: Text Spanner auto expand to end of duration

2021-02-07 Thread Thomas Morley
Am Sa., 6. Feb. 2021 um 20:07 Uhr schrieb Dimitris Marinakis : > > Aha! Found the culprit. As you can see if other staves have different > durations (shorter than the span that needs to be covered), the spanner > terminates at the first next duration it finds. Could you make th

Re: Text Spanner auto expand to end of duration

2021-02-06 Thread Dimitris Marinakis
Aha! Found the culprit. As you can see if other staves have different durations (shorter than the span that needs to be covered), the spanner terminates at the first next duration it finds. Could you make the spanner to see only the relevant duration of the context it is applied to? Voice, Staff

  1   2   3   4   5   6   7   8   >