Re: NoteHead X-offset, conflict with ly:grob-relative-coordinate?

2012-12-08 Thread Paul Morris
Hi David, On Dec 8, 2012, at 2:03 PM, David Nalesnik wrote: > Hi Paul, > > On Sat, Dec 8, 2012 at 12:00 PM, Paul Morris wrote: > > [snip] > >>> >>> In this case you can make use of the 'stem-attachment property: >>> >>> \override NoteHead #'stem-attachment = #'(-0.8 . 0) >> >> Thanks Davi

Re: NoteHead X-offset, conflict with ly:grob-relative-coordinate?

2012-12-08 Thread David Nalesnik
Hi Paul, On Sat, Dec 8, 2012 at 12:00 PM, Paul Morris wrote: [snip] >> >> In this case you can make use of the 'stem-attachment property: >> >> \override NoteHead #'stem-attachment = #'(-0.8 . 0) > > Thanks David, I hadn't thought of using stem-attachment. It works for > single notes, but un

Re: NoteHead X-offset, conflict with ly:grob-relative-coordinate?

2012-12-08 Thread David Nalesnik
Hi Paul, On Sat, Dec 8, 2012 at 10:24 AM, Paul Morris wrote: > Hello everyone, I'm writing a scheme function to override the usual > horizontal placement of noteheads relative to the stem (in certain > instances). The only thing that is not working is the final step of setting > the X-offset

Re: NoteHead X-offset, conflict with ly:grob-relative-coordinate?

2012-12-08 Thread David Kastrup
Paul Morris writes: > I tracked down the problem, as shown in the tiny example below. All > the notes should be moved to the right-hand side of the stem, but the > "rel-coord" variable that is set by "ly:grob-relative-coordinate" is > preventing it from working. After commenting out that variab

NoteHead X-offset, conflict with ly:grob-relative-coordinate?

2012-12-08 Thread Paul Morris
Hello everyone, I'm writing a scheme function to override the usual horizontal placement of noteheads relative to the stem (in certain instances). The only thing that is not working is the final step of setting the X-offset property of the NoteHead grob. I tracked down the problem, as shown i