-----Original Message----- From: David Sumbler <da...@aeolia.co.uk> Reply -To: da...@aeolia.co.uk To: lilypond-user@gnu.org Subject: Spacing issue after Mark and TextScript Date: Wed, 21 Nov 2018 12:24:29 +0000
%%%%%%%%%%%%%%%%%%% \version "2.19.81" #(set-global-staff-size 12) indent = #0 { \textLengthOn \time 5/4 r2 r4. \override Score.RehearsalMark.self-alignment-X = #-1 \override Score.RehearsalMark.font-size = #5 \mark \markup {"After the thirty-third encore, the Emperor arose."} \hide TextScript r8\fermata_"mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm" r4 | %%% \noBreak R4*5 | R4*5 | R4*5 | } %%%%%%%%%%%%%%%%%%% When the above is compiled, the spacing for notes/rests after the Mark and TextScript is increased. This becomes even more obvious if \noBreak is uncommented: the final crotchet rest of the first bar and the whole bar rest of the second now take up so much horizontal space that the line runs outside of the right-hand margin, as is shown in the attached image. Meanwhile the rests at the start of the first bar are squashed together to make room for the unnecessary empty spaces later in the line. Things are restored to normal after a line break. If I remove either the RehearsalMark or the TextScript, the problem disappears. The purpose of the textscript is to prevent the crotchet rest appearing before the "Mark" is finished. I have used the same kind of structure in numerous other places in this piece without problems, and despite nearly a day of experimentation I can't see why this case behaves differently. (There are reasons for presenting these texts as Marks rather than Text attached to a rest, but they are not relevant to the problem.) Any suggestions? Is there perhaps a way of resetting the spacing parameters to something sensible? David -----Original Message----- From: Pedro Pessoa <pedrops...@gmail.com> To: lilypond-user@gnu.org Subject: Re: Spacing issue after Mark and TextScript Date: Wed, 21 Nov 2018 09:26:42 -0700 (MST) Hey David. Not sure if I got how you want it to be, but - with the \nobreak uncommented) - if you add tree more m's to the TextScript, it produces something which looks right. Don't know why. Pessoa mailing_Spacing_issue_after_Mark_and_TextScript.png < http://lilypond.1069038.n5.nabble.com/file/t5699/mailing_Spacing_issue_after_Mark_and_TextScript.png> -- True - it looks as if the spacing text (the "mmmm"-s) needs to be as far as possible exactly the same length as the TextScript. But add even one more "m" and the right-hand end of the staff is again noticeably beyond the right margin. And even with the "correct" number of "m"s, so that the end of the line appears in (roughly?) the right place, the rests at the beginning of the line are ridiculously compressed together. The space give to the crotchet rest at the end of the bar is far greater than that allowed for the dotted crotchet earlier in the same bar. Does anyone have any idea what is going on here? David _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user