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

2015-03-27 Thread steve
> Steve,
>
> 1. Remember that the << { } \\ { } ... >> syntax automatically
> (implicitly)
> applies \voiceXXX in ascending order.

 Yes, but I like explicitly stating some of the defaults..

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

  There is another voice I left out. so"note\rest" is neccessary to
avoid that collision.

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

 It doesn't solve the problem of moving the 8th note to make room
for the
rest. The rest can't be up where it is by default. It will clash with the
upper voice
which I left out to simplify the example...

 So how can I move the note to the left if

NoteColumn.force-hshift

   doesn't work? And why doesn't it.

   Here is a cleaner example

\version "2.18.2"

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

voicetwo = \relative c' {
\voiceTwo
s4
\once \override NoteColumn.force-hshift = #-1.0 % doesn't work
g8 fis~
  % \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 }


>
> %< - 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] <
> ml-node+s1069038n173722...@n5.nabble.com> 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
>> ml-node+s1069038n...@n5.nabble.com
>> To unsubscribe from Lilypond, click here
>> 
>> .
>> NAML
>> 
>>
>
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Re-NoteColumn-force-hshift-doesn-t-work-on-2nd-beat-but-works-on-others-tp173723.html
> Sent from the User mailing list archive at
> Nabble.com.___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

2015-03-26 Thread tisimst
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] <
ml-node+s1069038n173722...@n5.nabble.com> 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 ml-node+s1069038n...@n5.nabble.com
> To unsubscribe from Lilypond, click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-NoteColumn-force-hshift-doesn-t-work-on-2nd-beat-but-works-on-others-tp173723.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

2015-03-26 Thread steve

  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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user