I don't know if this helps you now, but here are two possible ways of getting this to look a bit better:
\version "2.12.2"
music = {
 \new Staff <<
  \new Voice \relative f' {
   \clef "treble_8"
   \time 3/4
   \voiceOne
   \tag #'below {r4} \tag #'inline {a4\rest} e2
   r4 g2-4
  }
   \new Voice \relative c' {
   \voiceTwo
   \tag #'below {r2} \tag #'inline {c2\rest} <b-0>4
   \set fingeringOrientations = #'(left)
   <c-1>2 <d-3>4
  }
  \new Voice \relative c' {
   \set fingeringOrientations = #'(left)
   \voiceFour
   <a-3 e-2 a,>2.
   \shiftOff
   a,2 a4 |
  }
 >>
}
\score { \keepWithTag #'below \music }
\score { \keepWithTag #'inline \music }

On 02.04.2010, at 13:23, Phil Holmes wrote:

That does it. I was trying to think of a way to place something invisible as an anchor, but I'm not learned enough at this yet.
But the horizontal shift is now a bit big :-)

--
Phil Holmes


----- Original Message ----- From: "Alexander Kobel" <n...@a-kobel.de>
To: "Phil Holmes" <m...@philholmes.net>
Cc: "Dmytro O. Redchuk" <brownian....@gmail.com>; <t...@tomcloyd.com>; "Lilypond" <lilypond-user@gnu.org>
Sent: Friday, April 02, 2010 12:08 PM
Subject: Re: horizontal shift of note column not working


Phil Holmes wrote:
I've cut Tom's code down quite a bit to try to understand the issue, since I've been trying to do something similar. I hope this is easier to follow.
It's clear that the reason that the rest collides with the note  
is that the rest has been shifted right to avoid colliding with  
earlier notes. So what's then needed is a command to shift the  
note right.  When I looked, I couldn't find one, so any guidance  
would be appreciated by me, too.
Okay, so since I'm at it: to give the note some anchor, add an  
invisible note in some other voice as follows:
  \once \override Voice.Rest #'extra-offset = #'(2.5 . 0) a2\rest
  <<
    { \once \override NoteColumn #'force-hshift = #8.0 b4-0 } \\
    { \hideNotes g4 \unHideNotes }
  >> |

(That should replace the whole measure in Tom's original example.) The g note kind of "allocates" some position for the whole chord or beat, w.r.t. which the force-hshift works.

HTH,
Alexander


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to