lilypond-user
[Top][All Lists]
Advanced

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

Re: Horizontal shifting


From: Nick Payne
Subject: Re: Horizontal shifting
Date: Thu, 02 Feb 2012 08:02:12 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0

On 02/02/12 05:21, Paolo Prete wrote:
Hi,

is there an easy way to shift notes in a way similar to the png example 
attached to this mail?

A way to do that could be using NoteColumn #'force-hshift with an invisible 
additional voice... but I wonder if is there an easier solution.
You can increase the spacing between notes without an additional voice by changing the Stem X-extent, but this approach doesn't work to reduce the spacing:

\version "2.15.25"

stemspace = #(define-music-function (parser location extent) (pair?) #{
    \once \override Staff.Stem #'X-extent = #extent
#})

\relative c' {
    c4 c \stemspace #'(0 . 4) f e
}

Attachment: test.png
Description: PNG image


reply via email to

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