Lowering a \mark
Still working on my CD case insert... I have the text "acc." above my PianoStaff where the tempo is increased. I also have a hidden tempo change for the MIDI file. My staves are quite close together on my PDF, because I only have the height of a CD case to fit everything in. The "acc." mark is just below the staff above where it is place, so it looks like it's associated with the upper staff and not the one below it. But adjusting Y-offset for the RehearsalMark doesn't have any effect. I've tried many different values. I'm using Lilypond 2.11.18. Here is the source in question: \once \override Score.MetronomeMark #'transparent = ##t \tempo 4 = 55 { \override RehearsalMark #'Y-offset = #-2 \mark "acc." \times 2/3 { e8 c8 a8 } } Thanks for your help! I've been printed CD case inserts on my inkjet printer, but once I am able to put the score on the inner pages, I expect to have a commercial printer print me a large number of them. I've been waiting just for this before doing so. Michael David Crawford [EMAIL PROTECTED] http://www.geometricvisions.com/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lowering a \mark
Why not try \once \override Score.RehearsalMark #'extra-offset = (0 . -4 ) (adjust -4 until you get the mark where you want.) Looking at your code again, you could also try replacing RehearsalMark with Score.RehearsalMark I've never used Y-offset to move things about, but perhaps it works too. - Original Message From: Michael David Crawford <[EMAIL PROTECTED]> To: lilypond-user@gnu.org Sent: Sunday, 18 February, 2007 11:07:14 AM Subject: Lowering a \mark Still working on my CD case insert... I have the text "acc." above my PianoStaff where the tempo is increased. I also have a hidden tempo change for the MIDI file. My staves are quite close together on my PDF, because I only have the height of a CD case to fit everything in. The "acc." mark is just below the staff above where it is place, so it looks like it's associated with the upper staff and not the one below it. But adjusting Y-offset for the RehearsalMark doesn't have any effect. I've tried many different values. I'm using Lilypond 2.11.18. Here is the source in question: \once \override Score.MetronomeMark #'transparent = ##t \tempo 4 = 55 { \override RehearsalMark #'Y-offset = #-2 \mark "acc." \times 2/3 { e8 c8 a8 } } Thanks for your help! I've been printed CD case inserts on my inkjet printer, but once I am able to put the score on the inner pages, I expect to have a commercial printer print me a large number of them. I've been waiting just for this before doing so. Michael David Crawford [EMAIL PROTECTED] http://www.geometricvisions.com/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Lowering a \mark
Vivian Barty-Taylor wrote: Why not try \once \override Score.RehearsalMark #'extra-offset = (0 . -4 ) (adjust -4 until you get the mark where you want.) Looking at your code again, you could also try replacing RehearsalMark with Score.RehearsalMark I've never used Y-offset to move things about, but perhaps it works too. That did the trick. Here is my code: \once \override Score.MetronomeMark #'transparent = ##t \tempo 4 = 55 { \once \override Score.RehearsalMark #'extra-offset = #'(0 . -3) \mark "acc." \times 2/3 { e8 c8 a8 } } Y-offset is documented as a property of RehearsalMark but doesn't seem to really be so. Thanks for your help! Michael David Crawford [EMAIL PROTECTED] http://www.geometricvisions.com/ - Original Message From: Michael David Crawford <[EMAIL PROTECTED]> To: lilypond-user@gnu.org Sent: Sunday, 18 February, 2007 11:07:14 AM Subject: Lowering a \mark Still working on my CD case insert... I have the text "acc." above my PianoStaff where the tempo is increased. I also have a hidden tempo change for the MIDI file. My staves are quite close together on my PDF, because I only have the height of a CD case to fit everything in. The "acc." mark is just below the staff above where it is place, so it looks like it's associated with the upper staff and not the one below it. But adjusting Y-offset for the RehearsalMark doesn't have any effect. I've tried many different values. I'm using Lilypond 2.11.18. Here is the source in question: \once \override Score.MetronomeMark #'transparent = ##t \tempo 4 = 55 { \override RehearsalMark #'Y-offset = #-2 \mark "acc." \times 2/3 { e8 c8 a8 } } Thanks for your help! I've been printed CD case inserts on my inkjet printer, but once I am able to put the score on the inner pages, I expect to have a commercial printer print me a large number of them. I've been waiting just for this before doing so. Michael David Crawford [EMAIL PROTECTED] http://www.geometricvisions.com/ ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. Do it now... <http://us.rd.yahoo.com/mail/uk/taglines/default/trueswitch/*http://uk.docs.yahoo.com/trueswitch2.html> ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
extra-offset instead of X/Y offset? (was Lowering a \mark)
Dear David, In your case, the reason it didn't work was that you hadn't identified the RehearsalMark correctly. If you look at the page for Mark-engraver it tells you: Mark_engraver is part of contexts: Score so unless you tell Lilypond to look in the Score context it isn't going to find any objects named RehearsalMark. >>Y-offset is documented as a property of RehearsalMark but doesn't seem to really be so. Y-offset is a user-settable property of Score.RehearsalMark - you could have followed my second suggestion. I think the reason that it is reccomended to use extra-offset is that extra-offset is by default set to #'(0 . 0) so that any changes you make will be relative to the X- and Y- offset values that work most of the time. If you decided that you wanted to adjust the default positions of an object for the whole score, then I would suggest using these properties. (Someone can correct me if I'm wrong!) On another subject, I spent 20 minutes searching for why there is no padding property for DynamicText before finding that the padding is controlled by the DynamicLineSpanner . Could this be slightly more explicitly stated in the documentation, maybe on the pages of the objects controlled by it? Cheers, Vivian. - Original Message From: Michael David Crawford <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: lilypond-user@gnu.org Sent: Sunday, 18 February, 2007 2:28:39 PM Subject: Re: Lowering a \mark Vivian Barty-Taylor wrote: > Why not try \once \override Score.RehearsalMark #'extra-offset = (0 . -4 ) > > (adjust -4 until you get the mark where you want.) > > Looking at your code again, you could also try replacing RehearsalMark > with Score.RehearsalMark I've never used Y-offset to move things about, > but perhaps it works too. That did the trick. Here is my code: \once \override Score.MetronomeMark #'transparent = ##t \tempo 4 = 55 { \once \override Score.RehearsalMark #'extra-offset = #'(0 . -3) \mark "acc." \times 2/3 { e8 c8 a8 } } Y-offset is documented as a property of RehearsalMark but doesn't seem to really be so. Thanks for your help! Michael David Crawford [EMAIL PROTECTED] http://www.geometricvisions.com/ > - Original Message > From: Michael David Crawford <[EMAIL PROTECTED]> > To: lilypond-user@gnu.org > Sent: Sunday, 18 February, 2007 11:07:14 AM > Subject: Lowering a \mark > > Still working on my CD case insert... > > I have the text "acc." above my PianoStaff where the tempo is increased. > I also have a hidden tempo change for the MIDI file. > > My staves are quite close together on my PDF, because I only have the > height of a CD case to fit everything in. The "acc." mark is just below > the staff above where it is place, so it looks like it's associated with > the upper staff and not the one below it. > > But adjusting Y-offset for the RehearsalMark doesn't have any effect. > I've tried many different values. > > I'm using Lilypond 2.11.18. > > Here is the source in question: > > \once \override Score.MetronomeMark #'transparent = ##t > \tempo 4 = 55 { > \override RehearsalMark #'Y-offset = #-2 > \mark "acc." > \times 2/3 { e8 c8 a8 } > } > > Thanks for your help! > > I've been printed CD case inserts on my inkjet printer, but once I am > able to put the score on the inner pages, I expect to have a commercial > printer print me a large number of them. I've been waiting just for > this before doing so. > > Michael David Crawford > [EMAIL PROTECTED] > http://www.geometricvisions.com/ > > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user > > > > Copy addresses and emails from any email account to Yahoo! Mail - quick, > easy and free. Do it now... > <http://us.rd.yahoo.com/mail/uk/taglines/default/trueswitch/*http://uk.docs.yahoo.com/trueswitch2.html> ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: extra-offset instead of X/Y offset? (was Lowering a mark)
I recommend you to primarily use the padding and staff-padding properties to adjust the vertical position of objects. Then, LilyPond will automatically take the new position of the object into account, for example when calculating the distance to the next stave. If you use extra-offset, the object will be moved after all other typesetting decisions have been made, i.e. nothing else will move (which sometimes is an advantage, but often not). Regarding the padding of dynamics, the DynamicLineSpanner object is mentioned under "Commonly tweaked properties" in the section on Dynamics. However, only in connection to the staff-padding property, not the padding property. Could you please propose more exactly how to modify the documentation, based on your experience of where you searched and didn't find it. See http://lilypond.org/web/devel/participating/documentation-adding /Mats Quoting Vivian Barty-Taylor <[EMAIL PROTECTED]>: Dear David, In your case, the reason it didn't work was that you hadn't identified the RehearsalMark correctly. If you look at the page for Mark-engraver it tells you: Mark_engraver is part of contexts: Score so unless you tell Lilypond to look in the Score context it isn't going to find any objects named RehearsalMark. Y-offset is documented as a property of RehearsalMark but doesn't seem to really be so. Y-offset is a user-settable property of Score.RehearsalMark - you could have followed my second suggestion. I think the reason that it is reccomended to use extra-offset is that extra-offset is by default set to #'(0 . 0) so that any changes you make will be relative to the X- and Y- offset values that work most of the time. If you decided that you wanted to adjust the default positions of an object for the whole score, then I would suggest using these properties. (Someone can correct me if I'm wrong!) On another subject, I spent 20 minutes searching for why there is no padding property for DynamicText before finding that the padding is controlled by the DynamicLineSpanner . Could this be slightly more explicitly stated in the documentation, maybe on the pages of the objects controlled by it? Cheers, Vivian. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Fw: extra-offset instead of X/Y offset? (was Lowering a mark)
Dear Mats and others, I would suggest putting a note on the backend pages of the Program Reference. It seemed such a logical thing to just do \once \override DynamicText #'padding = #4 that I didn't even check if that was possible. (I then remembered that the last time I had tried this and it hadn't worked I had just used #'extra-offset.) Then I noticed it hadn't worked and started trying to work out why. When I looked at: http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/DynamicText#DynamicText I noticed there wasn't a padding property listed (which seemed odd). After a search on the lilypond-user archives I found that the padding is controlled by the DynamicLineSpanner for DynamicText, Hairpin and DynamicTextSpanner objects. I would suggest putting a link on the DynamicText page to the DynamicLineSpanner page http://lilypond.org/doc/v2.10/Documentation/user/lilypond-internals/DynamicLineSpanner#DynamicLineSpanner with a note to say that padding for DynamicText objects is controlled by the padding of the DynamicLineSpanner. On a seperate point, could you (or someone else) explain to me what the DynamicTextSpanner is? I've never used it, and can't find how to create one (unless this is the text option for Hairpins as documented.) Cheers, Vivian. - Original Message From: Mats Bengtsson <[EMAIL PROTECTED]> To: Vivian Barty-Taylor <[EMAIL PROTECTED]> Cc: Michael David Crawford <[EMAIL PROTECTED]>; lilypond-user@gnu.org Sent: Sunday, 18 February, 2007 8:10:37 PM Subject: Re: extra-offset instead of X/Y offset? (was Lowering a mark) I recommend you to primarily use the padding and staff-padding properties to adjust the vertical position of objects. Then, LilyPond will automatically take the new position of the object into account, for example when calculating the distance to the next stave. If you use extra-offset, the object will be moved after all other typesetting decisions have been made, i.e. nothing else will move (which sometimes is an advantage, but often not). Regarding the padding of dynamics, the DynamicLineSpanner object is mentioned under "Commonly tweaked properties" in the section on Dynamics. However, only in connection to the staff-padding property, not the padding property. Could you please propose more exactly how to modify the documentation, based on your experience of where you searched and didn't find it. See http://lilypond.org/web/devel/participating/documentation-adding /Mats Quoting Vivian Barty-Taylor <[EMAIL PROTECTED]>: > Dear David, > > In your case, the reason it didn't work was that you hadn't > identified the RehearsalMark correctly. If you look at the page for > Mark-engraver it tells you: > > Mark_engraver is part of contexts: Score > > > > so unless you tell Lilypond to look in the Score context it isn't > going to find any objects named RehearsalMark. > >>> Y-offset is documented as a property of RehearsalMark but doesn't seem > to really be so. > > Y-offset is a user-settable property of Score.RehearsalMark - you > could have followed my second suggestion. I think the reason that it > is reccomended to use extra-offset is that extra-offset is by default > set to #'(0 . 0) so that any changes you make will be relative to the > X- and Y- offset values that work most of the time. If you decided > that you wanted to adjust the default positions of an object for the > whole score, then I would suggest using these properties. (Someone > can correct me if I'm wrong!) > > On another subject, I spent 20 minutes searching for why there is no > padding property for DynamicText before finding that the padding is > controlled by the DynamicLineSpanner . Could this be slightly more > explicitly stated in the documentation, maybe on the pages of the > objects controlled by it? > > Cheers, > > Vivian. > New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. ___ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fw: extra-offset instead of X/Y offset? (was Lowering a mark)
Vivian Barty-Taylor wrote: I would suggest putting a note on the backend pages of the Program Reference. It seemed such a logical thing to just do \once \override DynamicText #'padding = #4 that I didn't even check if that was possible. (I then remembered that the last time I had tried this and it hadn't worked I had just used #'extra-offset.) Then I noticed it hadn't worked and started trying to work out why. When I looked at: Unfortunately I can't do this; the backend pages are generated automatically, and I can't see how to add such information. Could you think of anywhere in the main docs that I could add it? Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fw: extra-offset instead of X/Y offset? (was Lowering a mark)
Graham Percival schrieb: > Vivian Barty-Taylor wrote: >> I would suggest putting a note on the backend pages of the Program >> Reference. It seemed such a logical thing to just do \once \override >> DynamicText #'padding = #4 that I didn't even check if that was >> possible. (I then remembered that the last time I had tried this and >> it hadn't worked I had just used #'extra-offset.) Then I noticed it >> hadn't worked and started trying to work out why. When I looked at: > > Unfortunately I can't do this; the backend pages are generated > automatically, and I can't see how to add such information. Could you > think of anywhere in the main docs that I could add it? > How about the end of section 6.6.3 "Dynamics"? There is already a subsection called "Commonly tweaked properties" where it is implicitly mentioned that DynamicTextSpanner is responsible for the movement of dynamic text (by ways of an example). I could imagine that this kind of information fits well in there. Maybe there are other places, too (I haven't checked thoroughly). Cheers Max ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Fw: extra-offset instead of X/Y offset? (was Lowering a mark)
Maximilian Albert wrote: How about the end of section 6.6.3 "Dynamics"? There is already a subsection called "Commonly tweaked properties" where it is implicitly mentioned that DynamicTextSpanner is responsible for the movement of dynamic text (by ways of an example). I could imagine that this kind of information fits well in there. Maybe there are other places, too (I haven't checked thoroughly). Ok, I added a sentence. Other suggestions, as always, are welcome. Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
General grob documentation in the program reference. Was: extra-offset instead of X/Y offset? (was Lowering a mark)
It's a pity that we cannot enter any general documentation for a layout object in the program reference. We do have this possibility for each interface and for the engravers. The request below is just one example of why this would be useful. It shouldn't be difficult to add a property "documentation" to each object that's used to generate the program reference, but I don't know enough about the LilyPond internals to realize how this would affect the running performance of LilyPond in terms of memory consumption (if the information would have to be copied into every single instantiation of the object, then it's clearly the wrong approach, otherwise it might be feasible). /Mats Graham Percival wrote: Vivian Barty-Taylor wrote: I would suggest putting a note on the backend pages of the Program Reference. It seemed such a logical thing to just do \once \override DynamicText #'padding = #4 that I didn't even check if that was possible. (I then remembered that the last time I had tried this and it hadn't worked I had just used #'extra-offset.) Then I noticed it hadn't worked and started trying to work out why. When I looked at: Unfortunately I can't do this; the backend pages are generated automatically, and I can't see how to add such information. Could you think of anywhere in the main docs that I could add it? Cheers, - Graham ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user -- = Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe = ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user