lilypond-user
[Top][All Lists]
Advanced

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

Re: Spacing for s4


From: Kieren MacMillan
Subject: Re: Spacing for s4
Date: Sun, 4 Dec 2016 02:03:00 -0500

Hi David,

> how did you implement those functions?

Below is a snippet that contains the three functions, and an example usage.

Hope this helps!
Kieren.

%%  SNIPPET BEGINS
\version "2.19.49"
\language "english"

ignoreH =
#(define-music-function (parser location item) (symbol-list-or-music?)
  #{ \tweak #'horizontal-skylines #f
     \tweak #'extra-spacing-width #empty-interval
     #item #})

ignoreV =
#(define-music-function (parser location item) (symbol-list-or-music?)
  #{ \tweak #'vertical-skylines #f
     \tweak #'extra-spacing-height #empty-interval
     #item #})

ignore =
#(define-music-function (parser location item) (symbol-list-or-music?)
  #{ \ignoreH \ignoreV #item #})

ignoreTest = {
  c4-\f c-\ignore-\f
}

\score { \ignoreTest }
%%  SNIPPET ENDS

________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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