lilypond-user
[Top][All Lists]
Advanced

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

Re: NoteColumn.force-hshift doesn't work on 2nd beat but works on others


From: tisimst
Subject: Re: NoteColumn.force-hshift doesn't work on 2nd beat but works on others??
Date: Thu, 26 Mar 2015 14:07:53 -0700 (MST)

Steve,

1. Remember that the << { } \\ { } ... >> syntax automatically (implicitly) applies \voiceXXX in ascending order.

2. Putting notes in proper voices usually eliminates any need to manually specify \stemUp and \stemDown, note\rest, etc.

3. Here's how I would re-code your score, if I understand your intentions:

%< ----------------- SNIP -----------------

\version "2.18.2"

voiceone = \relative c' {
  \clef "G_8"
  \time 4/4
  \key c \major
  g4 r16 g8. ~ g2 |
}

voicetwo = \relative c' {
  s4 g8 fis ~ fis2 |
}

voicethree = \relative c' {
}

voicefour = \relative c {
  c1 |
}

guitar = << 
  \voiceone \\ 
  \voicetwo \\ 
  \voicethree \\ 
  \voicefour 
>>

\score { \new Staff \guitar }

%< ----------------- SNIP -----------------

Regards,
Abraham


On Thu, Mar 26, 2015 at 2:55 PM, steve-166 [via Lilypond] <[hidden email]> wrote:

      Howdy!


        For some reason this doesn't work as expected.

    \once \override NoteColumn.force-hshift

    works fine in voiceTwo on beats 1 and 3 but not on beat  2?
  I need more space around the rest.....

http://www.gooeytar.com/projects/test/test.ly
http://www.gooeytar.com/projects/test/test.pdf

      ideas?  - steve

\version "2.18.2"

voiceone = \relative c' {
\voiceOne
    \clef "G_8"
    \time 4/4
    \key c \major
    s4
    \once \override Rest #'extra-offset = #'(1.6 . 0.6 )
    g16\rest g8.^~ g2 |
}

voicetwo = \relative c' {
\voiceTwo
%    \once \override NoteColumn.force-hshift = #-1.0 % works
    \stemUp
    g4
    \stemDown
    \once \override NoteColumn.force-hshift = #-1.0 % doesn't work
    g8 fis~
%    g4
  % \once \override NoteColumn.force-hshift = #1.0 % works
    fis2 |
}

voicethree = \relative c' {
\voiceThree
}

voicefour = \relative c {
\voiceFour
    c1
}

guitar = << \voiceone \\ \voicetwo \\ \voicethree \\ \voicefour >>

\score { \new Staff \guitar }



_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user



If you reply to this email, your message will be added to the discussion below:
http://lilypond.1069038.n5.nabble.com/NoteColumn-force-hshift-doesn-t-work-on-2nd-beat-but-works-on-others-tp173722.html
To start a new topic under User, email [hidden email]
To unsubscribe from Lilypond, click here.
NAML



View this message in context: Re: NoteColumn.force-hshift doesn't work on 2nd beat but works on others??
Sent from the User mailing list archive at Nabble.com.

reply via email to

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