lilypond-user
[Top][All Lists]
Advanced

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

Re: How to resize a piano staff?


From: Ben
Subject: Re: How to resize a piano staff?
Date: Tue, 24 Oct 2017 13:24:06 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 10/24/2017 1:10 PM, Caagr98 wrote:
Using \magnifyStaff on the two constituent staves causes an uncomfortably large gap between the staves.

What's the best way to do this?


Hello,

If you just want to resize the staff, you could do something like this maybe:
(see attached)

\version "2.19.80"

upper = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

lower = \relative c {
  \clef bass
  \key c \major
  \time 4/4

  a2 c
}

\score {
  \new PianoStaff \with
  {  fontSize = #-3
    \override StaffSymbol.staff-space = #(magstep -3) }
  <<
    \set PianoStaff.instrumentName = #"Piano  "
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
  \layout { }
  }

Attachment: pno.png
Description: PNG image


reply via email to

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