lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: left offsetting dotted note leaves dot unmoved


From: Marten
Subject: Re: left offsetting dotted note leaves dot unmoved
Date: Mon, 5 Oct 2015 17:51:01 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Simon Albrecht <simon.albrecht <at> mail.de> writes:

> 
> Hi Marten,
> 
> On 05.10.2015 03:09, Marten wrote:
> > Hi all,
> > I'm trying to left offset a dotted note in a CueVoice, but although 
the
> > note is shifted left as expected, the dot is not moved left.
> > How can I make the dot go left as well?
> 
> I’d have liked to suggest
> 
> %%%%%%%%%%%%%%%%%%%
> \version "2.18.2"
> 
> myMusic = <<
>    { \voiceOne g2 }
>    \new CueVoice {
>      \voiceTwo
>      \once\override NoteColumn.force-hshift = #-5 g2.
>    }
>  >>
> 
> \score {
>    \new Voice { \relative c'' \myMusic }
> 
>    \layout {
>      \context {
>        \Staff
>        \remove "Dot_column_engraver"
>      }
>      \context {
>        \Voice
>        \consists "Dot_column_engraver"
>      }
>      \context {
>        \CueVoice
>        \consists "Dot_column_engraver"
>      }
>    }
> }
> %%%%%%%%%%%%%%%%%
> 
> – but it doesn’t work, unfortunately.
> To everybody: should we consider this a bug?
> 
> In the meantime: \once\override Dots.extra-offset. Not nice, but 
effective.
> 
> Yours, Simon
> 
Hi Simon,
Thanks for your replay. To me it looks like a bug, as I would expect the 
dot to move along with the note, as does articulation. But I'll leave 
that to the developers.

In the meantime, Pierre Perol-Schneider mailed me the following 
solutions that will work.

\version "2.18.2"

myMusic = {
        << 
          { \voiceOne g2~ g8[ g] } 
          \new CueVoice = "OddText" 
          {
            \voiceTwo
            \once \override NoteColumn.force-hshift = #-25 
            %% do not work:
            %\once \override DotColumn.force-hshift = #1 
            %% better use:
            \once \override Dots.X-offset = #1 
            g2. 
          } 
        >> 
        \oneVoice
          g8.[ f16]
        }

\score {
        <<
                \new Staff {
                        \key d \minor
                        \new Voice {\relative c'' \myMusic }
                }
        >>
        \layout {
          \context {
            \Staff
            \remove  "Dot_column_engraver"
          }
          \context {
            \Voice
            \consists "Dot_column_engraver"
          }
        }
}

Thanks, Pierre!

Regards,
Marten


reply via email to

[Prev in Thread] Current Thread [Next in Thread]