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
}


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

Reply via email to