Hi, Craig. Just for a different perspective, I always put form-related marks like D.C., D.S., Segnos, Codas, Fines, etc. in the global section. Since they (almost always) need to be in the same location for all parts, it makes the most sense to me to put them there once, and then use the \global variable in each part to make sure that all parts are consistent.
That said, I'm attaching a diff to your original file that shows how I would do what you're trying to accomplish. I, too, have seen that \marks will sometimes distort the musical spacing, but except for lots of fiddling with X-extents and offsets, I don't know how to do anything about it. My approach uses TextScript markup objects instead of RehearsalMark objects. I hope it will give you some ideas about alternative solutions to your problem. Jim On Thu, Mar 12, 2015 at 07:35:44PM +0000, Craig Dabelstein wrote: > Hi Lilyponders, > > Has anyone run into this before. > > When including a "Da Capo" markup at the end of a file, if it sits above > the staff it is fine, but when I uncomment the "\tweak direction #DOWN" > command it moves the marking below the staff but adds a heap of extra > space. Please see the attached file. > > This has been driving me crazy. I'm sure there is a simple fix that I've > overlooked. > > Craig > > > > *Craig Dabelstein* > e:craig.dabelst...@gmail.com > <http://www.facebook.com/craig.dabelstein> > <http://au.linkedin.com/pub/craig-dabelstein/b2/5b8/389/en> > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user
--- testfile.ly.orig 2015-03-12 13:06:16.000000000 -0700 +++ testfile.ly 2015-03-12 13:17:01.000000000 -0700 @@ -1,17 +1,7 @@ \version "2.18.2" \language "english" -daCapo = { - \once - \override Score.RehearsalMark #'self-alignment-X = #RIGHT - \once - \override Score.RehearsalMark #'break-visibility = #begin-of-line-invisible - %\tweak direction #DOWN - \mark - \markup { - \italic "Da Capo" - } -} +daCapo = \markup { \italic "Da Capo" } global = { \markLengthOn @@ -29,7 +19,8 @@ \mark "TRIO (ad lib.)" \key g \major \repeat volta 2 { - s2*8 + s2*7 + s4 s4_\daCapo } } @@ -64,7 +55,6 @@ c8 c d4 | b8 c a d | g,8\ff b16 a g8 r | - \daCapo } }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user