lilypond-user
[Top][All Lists]
Advanced

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

(was: print change of clef after barline) scm vectors in frescobaldi


From: Simon Albrecht
Subject: (was: print change of clef after barline) scm vectors in frescobaldi
Date: Sun, 01 Jun 2014 22:56:15 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Am 01.06.2014 12:09, schrieb Thomas Morley:

Not exactly.

Here some crazy settings for time-signature:

     #(
    ;; end of line: time-signature right before key-signature
        (span-bar
         breathing-sign
         staff-bar
         clef
         key-cancellation
         time-signature
         key-signature)
    ;; middle of line: time-signature right before staff-bar
       (span-bar
         breathing-sign
         time-signature
         staff-bar
         clef
         key-cancellation
         key-signature)
    ;; start of line: time-signature right before clef
       (span-bar
         breathing-sign
         staff-bar
         time-signature
         clef
         key-cancellation
         key-signature))

Though, applying this would return warnings:
   No spacing entry from TimeSignature to `clef'
   No spacing entry from TimeSignature to `key-signature'
which can be resolved with additional overrides for TimeSignature.space-alist


Here a compilable snippet:

\version "2.19.6"

{
   \override Score.BreakAlignment #'break-align-orders =
     ##(
    ;; end of line: time-signature right before key-signature
        (span-bar
         breathing-sign
         staff-bar
         clef
         key-cancellation
         time-signature
         key-signature)
    ;; middle of line: time-signature before staff-bar
       (span-bar
         breathing-sign
         time-signature
         staff-bar
         clef
         key-cancellation
         key-signature)
    ;; start of line: time-signature before clef
       (span-bar
         breathing-sign
         staff-bar
         time-signature
         clef
         key-cancellation
         key-signature))
   \override Score.TimeSignature.space-alist.clef = #'(extra-space . 1)
   \override Score.TimeSignature.space-alist.key-signature = #'(extra-space . 1)

   \key c \minor
   \time 2/2
   c''1
   \key cis \minor
   \time 4/4
   d''
   \break
   \key c \minor
   \time 8/8
   e''
}


Cheers,
   Harm

Looking at this code, I notice that Frescobaldi doesn’t seem to recognise Scheme vectors. It would be nice (if also rarely important) to have them correctly highlighted.

Best, Simon



reply via email to

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