[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Horizontal white space
From: |
Nick Payne |
Subject: |
Re: Horizontal white space |
Date: |
Wed, 16 Jan 2013 12:59:50 +1100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
On 16/01/13 08:52, Andrew Bernard wrote:
Greetings List,
I would like to be able to add an arbitrary and specifiable amount of
horizontal white space between selected notes, or between a note and
the following bar line. Searching the doc, the list archive and the
snippets repository has still left me unable to work it out.
\version "2.17.9"
barsp = #(define-music-function (parser location extent) (pair?) #{
\once \override Staff.BarLine.extra-spacing-width = #extent
#})
stemsp = #(define-music-function (parser location extent) (pair?) #{
\once \override Staff.Stem.X-extent = #extent
#})
\relative c'{
\stemsp #'(-2 . 2) c \stemsp #'(-4 . 4) d \stemsp #'(-6 . 6) e
\stemsp #'(-8 . 0) f \barsp #'(-2 . 15)
c \stemsp #'(-6 . 6) d \stemsp #'(-4 . 4) e \stemsp #'(-2 . 2) f
}