On 2018-05-24 23:15, Helge Kruse wrote:
But these lines are outside the staff. If you change "(rlineto 10 1)"
to
"(rlineto 10 10)" then the starting point is moved down to keep the
markup outside the stuff. Further it doesn't support the x-position of
the next/previous note column.
There is a difference in behavior between \path and \postscript
regarding bounds. See the following:
%%%%
\version "2.18.2"
{
f'4_\markup { \postscript #"0 0 moveto 1 5 lineto stroke" }
f'4_\markup { \path #0.1 #'((moveto 0 0) (lineto 1 5) (closepath)) }
f'4_\markup {
\with-dimensions #'(0 . 0) #'(0 . 0)
\path #0.1 #'((moveto 0 0) (lineto 1 5) (closepath))
}
}
%%%%
By forcing the bounds of the \path-created object to be "empty," it can
overlap the staff.
-- Aaron Hill
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user