[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 other
From: |
steve |
Subject: |
Re: NoteColumn.force-hshift doesn't work on 2nd beat but works on others?? |
Date: |
Fri, 27 Mar 2015 09:43:25 -0400 |
User-agent: |
SquirrelMail/1.4.19 |
> 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] <
> address@hidden> 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] <http:///user/SendEmail.jtp?type=node&node=173722&i=0>
>> 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
>> address@hidden
>> To unsubscribe from Lilypond, click here
>> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2&code=dGlzaW1zdC5saWx5cG9uZEBnbWFpbC5jb218Mnw4MzU3Njg3MDU=>
>> .
>> NAML
>> <http://lilypond.1069038.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>