Jim Long wrote > On Wed, Mar 13, 2013 at 03:43:04AM -0700, Eluze wrote: > >> \once \override Score.RehearsalMark #'self-alignment-X = #center % >> default >> \mark \markup { >> "to coda" >> \hspace #1 >> \raise #1 \musicglyph #"scripts.coda" >> \hspace #-.5 >> \with-color #white >> "to coda" >> } > > Hmm, an interesting approach. Might this create artificial > "invisible" collisions between the white text and other markup > that might closely follow the glyph?
most certainly > I'll fiddle with it a bit, just the same. Early tests indicate that the > amount of negative > hspace required in the second position is surprisingly large. > #-16.25 seems to be the best approximation so far. the \hspace before and after the glyph are only to compensate for the (missing in the 1st case) gap between the glyph and the preceding/following text - they should only be adapted if you're changing the \fontsize and \magnify the glyph (this is also the way to solve your 3rd question) Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Aligning-to-Coda-rehearsal-marks-tp142601p142664.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user