lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 4025 in lilypond: LeftEdge.space-alist.first-note


From: lilypond
Subject: [Lilypond-auto] Issue 4025 in lilypond: LeftEdge.space-alist.first-note doesn't work
Date: Tue, 22 Jul 2014 08:41:40 +0000

Status: Accepted
Owner: ----
Labels: Type-Defect

New issue 4025 by address@hidden: LeftEdge.space-alist.first-note doesn't work
http://code.google.com/p/lilypond/issues/detail?id=4025

The following code shows that nothing happens for any setting of:
  LeftEdge.space-alist.first-note

You can compare this to the situation with:
  Clef.space-alist.first-note
by changing (grob 'LeftEdge) to (grob 'Clef) in the music-function, and commenting out the
  \remove Clef_engraver
in the \layout block.

I've attached both images for comparison.

******************

\version "2.19.11"

#(set-default-paper-size "a5")

\paper {
  indent = 0
  ragged-right = ##t
  page-count = 1
  tagline = {}
}

spacingTest =
#(define-music-function (parser location style) (symbol?)
   (let* ((grob 'LeftEdge)
          (distance 5)
          (distance-str (number->string distance))
          (style-str (symbol->string style)))
     #{
       \override Score. #grob .space-alist.first-note = #(cons style 0)
       \mark #(string-append style-str " = 0")
       b'1 \break
\override Score. #grob .space-alist.first-note = #(cons style distance)
       \mark #(string-append style-str " = " distance-str)
       b'1 \break
     #}))

\score {
  {
    b'1 \break
    \spacingTest #'extra-space
    \spacingTest #'fixed-space
    \spacingTest #'minimum-fixed-space
    \spacingTest #'minimum-space
    \spacingTest #'semi-fixed-space
  }
  \layout {
    \context {
      \Score
      \omit BarNumber
      \override RehearsalMark.font-size = 0
      \override RehearsalMark.self-alignment-X = -1
    }
    \context {
      \Staff
      \remove Clef_engraver
      \remove Time_signature_engraver
    }
  }
}

Attachments:
        LeftEdge.png  14.5 KB
        Clef.png  22.9 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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