Re: TextSpanner at Score level?

2009-04-25 Thread Neil Puttock
2009/4/22 Carl Sorensen c_soren...@byu.edu: The IR tells you that TextSpanners are created by Dynamic_engraver, New_dynamic_engraver, and Text_spanner_engraver. Hmm, it just goes to show that you can't always rely on what the IR says: only the Text_spanner_engraver creates them. :) I'll

Re: TextSpanner at Score level?

2009-04-25 Thread -Eluze
found in the snippets repository! -- View this message in context: http://www.nabble.com/TextSpanner-at-Score-level--tp23119922p23236720.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list

Re: TextSpanner at Score level?

2009-04-25 Thread Carl D. Sorensen
On 4/25/09 3:38 PM, -Eluze elu...@gmail.com wrote: Carl D. Sorensen wrote: You use the Internals Reference. You find the object you want engraved under 3.1 All layout objects: 3.1.111 TextSpanner. The IR tells you that TextSpanners are created by Dynamic_engraver,

Re: TextSpanner at Score level?

2009-04-22 Thread Kieren MacMillan
Hi Simon (et al.), kieren was probably copy-pasting and saving time. Yep. - how do you find out which contexts and engravers are involved? over my head. Me, too! I simply modified the TimeSig example. =) instructor mode is good... but why FileMaker for heaven's sake? ;) Great $$,

Re: TextSpanner at Score level?

2009-04-22 Thread Kieren MacMillan
Hi Frédéric, - if you have 15 instruments (staffs) you need to add 15 stringendos - is Here again, no problem because I have it in all individual parts but the trick would work without it Précis! Kieren. ___ lilypond-user mailing list

Re: TextSpanner at Score level?

2009-04-22 Thread Carl Sorensen
Simon Bailey binabik at gmail.com writes: - how do you find out which contexts and engravers are involved? You use the Internals Reference. You find the object you want engraved under 3.1 All layout objects: 3.1.111 TextSpanner. The IR tells you that TextSpanners are created by

Re: TextSpanner at Score level?

2009-04-22 Thread Carl Sorensen
Carl Sorensen c_sorensen at byu.edu writes: Please ignore this explanation. It is wrong. Carl I believe the reason LilyPond can't do this automagically is because [snip,,,] ___ lilypond-user mailing list lilypond-user@gnu.org

Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey
hi frédéric, On Apr 21, 2009, at 6:58 AM, Frédéric Bron wrote: It half works! Fine for the dashed line but the text is not printed... Here is an example: \version 2.12.0 stringendo = { \textSpannerUp \override TextSpanner #'(bound-details left text) = Stringendo } \new Score \with { \consists

Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey
dammit, i should think a bit more before answering things. TextSpanner has been moved to the score context, so we need to tell the override to use the TextSpanner objects in the Score context rather than the default. change the definition of stringendo to: stringendo = { \textSpannerUp

Re: TextSpanner at Score level?

2009-04-21 Thread Frédéric Bron
dammit, i should think a bit more before answering things. TextSpanner has been moved to the score context, so we need to tell the override to use the TextSpanner objects in the Score context rather than the default. Wonderful, you did it! Thank you very much. The more I use lily, the more I

Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey
On 21 Apr 2009, at 09:11, Frédéric Bron wrote: dammit, i should think a bit more before answering things. TextSpanner has been moved to the score context, so we need to tell the override to use the TextSpanner objects in the Score context rather than the default. Wonderful, you did it!

Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey
frédéric, On 21 Apr 2009, at 09:50, Frédéric Bron wrote: Halas, for StaffGroup, the trick works but the spanners are all at the top of the score, not above each StaffGroup. now i'm at wit's end. my first suggestion would be to just put the Text_spanner_engraver in the top staff of each

Re: TextSpanner at Score level?

2009-04-21 Thread Frédéric Bron
Halas, for StaffGroup, the trick works but the spanners are all at the top of the score, not above each StaffGroup. Frédéric \version 2.12.0 stringendo = { \textSpannerUp \override StaffGroup.TextSpanner #'(bound-details left text) = Stringendo } \new Score \new StaffGroup \with {

Re: TextSpanner at Score level?

2009-04-21 Thread Kieren MacMillan
Hi Frédéric: Halas, for StaffGroup, the trick works but the spanners are all at the top of the score, not above each StaffGroup. Maybe this hint will help you solve the problem: \version 2.12.2 \layout { \context { \type Engraver_group

Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey
now that's a far more elegant solution than anything i'd ever have come up with. :) thanks, kieren, i just learnt some new things. :) regards, sb On 21 Apr 2009, at 14:27, Kieren MacMillan wrote: Hi Frédéric: Halas, for StaffGroup, the trick works but the spanners are all at the top of the

Re: TextSpanner at Score level?

2009-04-21 Thread Frédéric Bron
Exellent, it is exactly what I was hoping! I am going back to the documentation to see if I can learn such magic things. Thanks! Frédéric ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: TextSpanner at Score level?

2009-04-21 Thread Simon Bailey
frédéric, On Apr 21, 2009, at 6:54 PM, Frédéric Bron wrote: Exellent, it is exactly what I was hoping! I am going back to the documentation to see if I can learn such magic things. start in LM 3.3 and then move on to NR 5.1. regards, sb -- Simon Bailey Oompa Loompa of Science +43 699 190 631

Re: TextSpanner at Score level?

2009-04-21 Thread Kieren MacMillan
Hi all, Frédéric wrote: Exellent, it is exactly what I was hoping! Glad to hear that! I am going back to the documentation to see if I can learn such magic things. Bonne chance! _ Simon wrote: now that's a far more elegant solution than anything i'd ever have come up with.

Re: TextSpanner at Score level?

2009-04-21 Thread -Eluze
- is that correct? thanks -- View this message in context: http://www.nabble.com/TextSpanner-at-Score-level--tp23119922p23166180.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: TextSpanner at Score level?

2009-04-20 Thread Simon Bailey
On 19 Apr 2009, at 08:08, Frédéric Bron wrote: Is it possible to have a text spanner at the score level instead at the Staff level? I have a tempo indication Stringendo - - - - - which appears at every line of the conductor score. This is too much. The original score I am copying has printed it

Re: TextSpanner at Score level?

2009-04-20 Thread Frédéric Bron
remove the Text_spanner_engraver from the individual voice contexts and put it in the score context. something like this [n.b.: untested]: \new Score \with {        \consists Text_spanner_engraver }        \new Staff {                \new Voice \with {                        \remove