[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Notes on wrong side of stem in triads
From: |
Davide Liessi |
Subject: |
Re: Notes on wrong side of stem in triads |
Date: |
Wed, 19 Oct 2016 09:54:14 +0200 |
2016-10-18 22:39 GMT+02:00 Stanton Sanderson <address@hidden>:
> The following also works:
>
> \version "2.19.47"
> \paper {
> #(layout-set-absolute-staff-size (* 19 pt))
> }
> { <c'' e'' g''> }
This also seems to work (although I don't know if it makes sense, I
just took set-global-staff-size and removed bits of it):
\version "2.19.47"
#(define-public (new-layout-set-staff-size sz)
(layout-set-absolute-staff-size-in-module
(ly:output-def-scope (ly:parser-lookup '$defaultpaper))
(* (eval 'pt (current-module)) sz)))
\score{
\layout { #(new-layout-set-staff-size 19) }
{ <c'' e'' g''> }
}
(Which maybe means that line 118 in paper.scm is not paranoid, see
comment above that line:
http://git.savannah.gnu.org/cgit/lilypond.git/tree/scm/paper.scm#n113 :D)
But I probably don't understand what's going on in
(ly:output-def-scope (ly:parser-lookup '$defaultpaper)), because I
would have expected the following to produce wrong first and third
chords and correct second chord.
\version "2.19.47"
#(define-public (new-layout-set-staff-size sz)
(layout-set-absolute-staff-size-in-module
(ly:output-def-scope (ly:parser-lookup '$defaultpaper))
(* (eval 'pt (current-module)) sz)))
\score{
\layout { #(layout-set-staff-size 19) }
{ <c'' e'' g''> }
}
\score{
\layout { #(new-layout-set-staff-size 19) }
{ <c'' e'' g''> }
}
\score{
\layout { #(layout-set-staff-size 19) }
{ <c'' e'' g''> }
}
Instead all chords are correct.
But if you change the size of the middle one to something different
from 19, then the first and third chords are wrong.
Best wishes.
Davide
Re: Notes on wrong side of stem in triads, David Kastrup, 2016/10/18
Re: Notes on wrong side of stem in triads, Stanton Sanderson, 2016/10/18
- Re: Notes on wrong side of stem in triads,
Davide Liessi <=