Re: Positioning graphic markup inside staff

2018-02-15 Thread Andrew Bernard
Hi Torsten, I _knew_ there was a proper answer to this somewhere. Thanks! Andrew On 16 February 2018 at 18:12, Torsten Hämmerle wrote: > > By design, an outside-staff object is not supposed to be placed inside the > staff. That's the simple reason why setting

Re: Positioning graphic markup inside staff

2018-02-15 Thread Torsten Hämmerle
Torsten Hämmerle wrote > you may even set X-offset to any value inside the staff and the TextScript > will be placed there as desired. Addenda et corrigenda Sorry, I meant Y-offset, of course... -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

Re: Positioning graphic markup inside staff

2018-02-15 Thread Torsten Hämmerle
Hi delboh, By design, an outside-staff object is not supposed to be placed inside the staff. That's the simple reason why setting Y-offset doesn't help---an outside-staff object just can't cross the border into the stave. *Remedy:* An outside-staff object can be made "inside-staff" by setting

Re: Positioning graphic markup inside staff

2018-02-15 Thread Ebo H
Thank you Andrew; both of the solutions you have provided will be useful. It had not occurred to me that adjusting position with 'extra-offset' would behave differently from setting 'X-offset' and 'Y-offset' directly. delboh del...@hotmail.com On 16 Feb 2018, at 12:52 am, Andrew Bernard

Re: Positioning graphic markup inside staff

2018-02-15 Thread Andrew Bernard
Hi Delboh, You could also just draw in Postscript. ^\markup { \postscript #"0.25 setlinewidth 0 0 moveto 0 3 4 3 4 0 curveto stroke" } You can see the syntax is closely related. Some may object to that as it removes the possibility of producing SVG output. I have never needed SVG myself, and

Re: Positioning graphic markup inside staff

2018-02-15 Thread Andrew Bernard
Hi Delboh, Here's one way to do it. \once \override TextScript.extra-offset = #'(0 . -3.5) s4 ^\markup { \path #0.25 #'((moveto 0 0) (curveto 0 3 4 3 4 0) ) } s4 s4 s4 Not ideal, but sometimes using extra-offset is the quickest way to get the job done! Andrew

Positioning graphic markup inside staff

2018-02-15 Thread Ebo H
Dear Lilypond users, I am trying to position graphic markup within the staff. The example attached shows a simple graphic used extensively by Kurtag to indicate a long pause. It is straight-forward to draw the marking as a graphic in markup with a path. will move the graphic as expected, but