Re: text spanning

2009-11-27 Thread -Eluze
in context: http://old.nabble.com/text-spanning-tp26538649p26540179.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: text spanning

2009-11-27 Thread Hugh Myers
exactly where you defined it (on the gis8) - i guess you want it to start with the rest: r4 \startTextSpan … -- View this message in context: http://old.nabble.com/text-spanning-tp26538649p26540179.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com

Re: text spanning

2009-11-27 Thread -Eluze
-td20340841.html#a20389794 http://old.nabble.com/textSpanner-bound-details-on-two-lines-td20340841.html#a20389794 hope this now is what you want! \override TextSpanner #'(bound-details left-broken end-on-note) = ##t -- View this message in context: http://old.nabble.com/text-spanning

Re: text spanning

2009-11-27 Thread Nick Payne
Hugh Myers wrote: Perhaps I misunderstand your reply, but bar 14(where the problem is) has nothing to do with a rest. The text starts where (as you say) I wanted it to. That is not the problem. What is the problem is the continuation of the spanning text at bar 14--- here it starts outside in

Re: text spanning

2009-11-27 Thread Hugh Myers
Lovely! Much thanks Nick--- also nice to have code to examine prior to the point I need to roll my own :) --hsm On Fri, Nov 27, 2009 at 12:20 PM, Nick Payne nick.pa...@internode.on.net wrote: Hugh Myers wrote: Perhaps I misunderstand your reply, but bar 14(where the problem is) has nothing

Re: text spanning

2009-11-27 Thread Hugh Myers
Is there a way to repeat the text automagically with each wrap? --hsm On Fri, Nov 27, 2009 at 12:24 PM, Hugh Myers hsmy...@gmail.com wrote: Lovely! Much thanks Nick--- also nice to have code to examine prior to the point I need to roll my own :) --hsm On Fri, Nov 27, 2009 at 12:20 PM,

Re: text spanning

2009-11-27 Thread Nick Payne
To get the text repeated on each line, you either comment out last two lines in the function or change the override value to ##t, I can't remember which. Nick Hugh Myers wrote: Is there a way to repeat the text automagically with each wrap? --hsm On Fri, Nov 27, 2009 at 12:24 PM, Hugh

Re: text spanning

2009-11-27 Thread Hugh Myers
I'll try both as needed... and let you know. --hsm On Fri, Nov 27, 2009 at 5:34 PM, Nick Payne nick.pa...@internode.on.net wrote: To get the text repeated on each line, you either comment out last two lines in the function or change the override value to ##t, I can't remember which. Nick

Re: text spanning

2009-11-27 Thread Hugh Myers
Worked fine on supplied example. Does not work at all well on the piece I'm working on. This: \version 2.13.7 tspan = #(define-music-function (parser location text osp dirn shorten adjBreak adjEnd) (string? number? number? pair? number? number?) #{ % set osp to 999 if spanner is colliding with

Re: text spanning

2009-11-27 Thread Nick Payne
Hugh Myers wrote: Worked fine on supplied example. Does not work at all well on the piece I'm working on. Function has to be called immediately before the note where the text spanner starts. If you want a solid rather than dashed line, comment the overrides that setup the dashed line.

text spanning

2009-11-26 Thread Hugh Myers
The following fails twice over; it leaves out the indicated text and ignores \textSpannerDown: \version 2.13.7 upper = { c4 d e \startTextSpan f % polyphonic g4 a b c % monophonic, see below b4 \stopTextSpan g e c % polyphonic again } lower = { c,2 g2 % polyphonic s1 % a spacer

Re: text spanning

2009-11-26 Thread Kieren MacMillan
Hi Hugh, The following fails twice over; it leaves out the indicated text and ignores \textSpannerDown: […] Where did I screw up? You made the tweaks to the TextSpanner in the main Voice context: \new Staff \relative c'' { \textSpannerDown \override TextSpanner #'(bound-details

Re: text spanning

2009-11-26 Thread Alexander Kobel
Hugh Myers wrote: The following fails twice over; it leaves out the indicated text and ignores \textSpannerDown: Hi. Both \textSpannerDown and the override is applied to the /current/ Voice context (which is the unnamed default Voice quietly instantiated inside the Staff context). Thus, it

Re: text spanning

2009-11-26 Thread Hugh Myers
Much thanks Kieren, This works: \new Staff \relative c'' { \override Staff.TextSpanner #'(bound-details left text) = let ring \new Voice = 1 { \textSpannerDown \voiceOne \upper } --hsm On Thu, Nov 26, 2009 at 8:02 AM, Kieren MacMillan kieren_macmil...@sympatico.ca wrote: Hi

Re: text spanning

2009-11-26 Thread Hugh Myers
Thanks, Alexander! Now I have not just one but two solutions that work... --hsm On Thu, Nov 26, 2009 at 8:10 AM, Alexander Kobel n...@a-kobel.de wrote: Hugh Myers wrote: The following fails twice over; it leaves out the indicated text and ignores \textSpannerDown: Hi. Both

Re: text spanning

2009-11-26 Thread -Eluze
{ will display what you want. hth -- View this message in context: http://old.nabble.com/text-spanning-tp26530587p26531387.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: confusion in text spanning

2009-11-26 Thread Frédéric Bron
Since I normally program in lisp, I don't have any problems with nested delimiters. Are you suggesting that excess (at least to your eyes) braces are the problem or are you suggesting that the \stop is at the wrong level? I was wondering why you add braces here: { a,8 [e'] g, [e'] f, [e'] }.

Re: confusion in text spanning

2009-11-26 Thread Hugh Myers
I think I was keeping track of individual bars that way (with braces that is)--- you are right, newline would work just as well and few characters='s less clutter. Regards \stop etc. I got it to work more or less as you say. It is on another machine, I'll show you the template in the next email.

Re: confusion in text spanning

2009-11-26 Thread Hugh Myers
Here is the template I'm working with. The notes are nonsense, but the problems are the ones I've run into and have had to solve... \version 2.13.7 upper = { c4 d e f \startTextSpan % polyphonic \repeat volta 2 { g4 a b c % monophonic, see below } \alternative { { b4

Re: confusion in text spanning

2009-11-26 Thread Alexander Kobel
Hugh Myers wrote: I think I was keeping track of individual bars that way (with braces that is)--- you are right, newline would work just as well and few characters='s less clutter. Well, bar checks would even work better, since they are actually checked by LilyPond, thus the name... :-) Use

text spanning

2009-11-26 Thread Hugh Myers
In the following: \version 2.13.7 chord = e b gis e b e, upper = { \tempo 4=90 \chord \chord \chord \repeat volta 2 { \tempo 4=200 b c d d c b c a b \acciaccatura d8 \voiceOne c4 b a b a g a g f } \alternative { { r4 \times 2/3 { gis8 \startTextSpan b

text spanning

2009-11-25 Thread Hugh Myers
I'm looking for an example of text spanning that does not invoke an extra staff--- is there such a thing? --hsm ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: text spanning

2009-11-25 Thread Frédéric Bron
I'm looking for an example of text spanning that does not invoke an extra staff--- is there such a thing? Then why do you want a spanner? Why not just a markup like c^this is my text without any dash? Frédéric ___ lilypond-user mailing list

Re: text spanning

2009-11-25 Thread Frédéric Bron
Because according to the documentation 'Text spanners' is precisely what I want. Not to mention the fact that I do want the text with dashes. I'm asking aboutthe extra staff, not the dashes. I'm looking to span many bars with 'let ring - - - -' just so you understand that your suggestion

confusion in text spanning

2009-11-25 Thread Hugh Myers
This: firstPolyRepeat = { { r4 \startTextSpan \times 2/3 {gis'8 b e } e,4 \times 2/3 {gis8 b e} e,2 } \\ {e,2.~e} } secondMono = { { e'8 [e'] gis, [e'] b [e] } { e,8 [e'] gis, [e'] b [e] } { a,8 [e'] c [e] b [e] } { a,8 [e'] g, [e'] f, [e'] } } thirdMono = { { e,8 [e'] gis, [e'] b

Re: confusion in text spanning

2009-11-25 Thread Xavier Scheuer
Le Wed, 25 Nov 2009 16:39:08 -0700, Hugh Myers hsmy...@gmail.com a écrit : So where do I place it? Bearing in mind that note-wise, both the start and stop are correctly placed? \stopTextSpan is unexpected because \startTextSpan is in another Voice ! There was a warning in the [old] doc about

Re: confusion in text spanning

2009-11-25 Thread Hugh Myers
Since the piece in question, Malaguena, already has mixed monophony and polyphony, as well as tablature, adding voices to it doesn't seem like a very good idea. Yes, I'm aware that ,\\ is shorthand for voicing, but since it is shorthand, the visual complexity of the score is kept to a readable

Re: confusion in text spanning

2009-11-25 Thread Hugh Myers
It would also help if the suggested change worked. In stead I still get: C:\Users\hsmyers\Desktop\Lily Projectslilypond.exe malaguena.ly GNU LilyPond 2.13.7 Processing `malaguena.ly' Parsing... malaguena.ly:56:1: error: syntax error, unexpected EVENT_IDENTIFIER \stopTextSpan malaguena.ly:89:0:

Re: confusion in text spanning

2009-11-25 Thread Frédéric Bron
It would also help if the suggested change worked. In stead I still get: Maybe it is because you use curly braces { } everywhere. Try to put the \stop... inside the { } block and not outside. But why using so many braces? Frédéric ___ lilypond-user

Re: confusion in text spanning

2009-11-25 Thread Hugh Myers
Since I normally program in lisp, I don't have any problems with nested delimiters. Are you suggesting that excess (at least to your eyes) braces are the problem or are you suggesting that the \stop is at the wrong level? --hsm 2009/11/25 Frédéric Bron frederic.b...@m4x.org: It would also help