[Top][All Lists]

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

Re: Staff sizing

From: Trevor Daniels
Subject: Re: Staff sizing
Date: Fri, 28 Aug 2009 09:04:17 +0100

Alexander Kobel wrote Friday, August 28, 2009 12:02 AM

Valentin Villenave wrote:
2009/8/25 Didi & MiMi Kanjahn <address@hidden>:
I am trying to resize a score from A4 to A5.

  \layout {
  #(layout-set-staff-size 14)...

most things bound to the staff scaled down nicely, but the distance of staff lines (for me unexpectedly) did not.

Unexpectedly for almost everyone, I guess. It just contradicts the intuition one has about it, especially since the global-set-staff-size does this "the Right way". But it fulfills the "specifications", as it is explicitly mentioned in NR 4.2.1, "Setting the staff size" under "Known issues and warnings":

"layout-set-staff-size does not change the distance between the staff lines. "

(More precisely, #'staff-space is not changed along, and it internally refers to global staff-spaces as units, which aren't affected by the layout-set-staff-size command as well; see IR 3.2.96 "staff-symbol-interface".)

I tried

\new Staff << \override StaffSymbol #'staff-space = #0.7 \global \new Voice { \one }...

but that did nothing.

This doesn't work for two reasons.  StaffSymbol lives in
the Score context, and is created at the start of the score,
so overriding it's properties later has no effect.  You can
use \stopStaff and \startStaff to terminate the old StaffSymbol
and start a new one - then the override will work.  So try

\relative c'' {
 a a a a
 \override Score.StaffSymbol #'staff-space = #0.5
 a a a a

You'll need to adjust several other properties to match
the smaller staff line spacing, of course.


reply via email to

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