lilypond-user
[Top][All Lists]
Advanced

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

Re: Different size staves?


From: Mats Bengtsson
Subject: Re: Different size staves?
Date: Mon, 21 Dec 2009 17:11:26 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

I forward this email to the bug mailing list, since I think it's time to take another look at issue 216, which was closed a couple of years back since the bug was documented as a known limitation. There are comments in Documentation/notation/spacing.itely about the problem. The smallest thing we could do would be to show a workaround like the one I included below (or at least point to a more complete example like the second Ossia example in section 1.6.2 "Modifying single staves"). However, the limitation that also the vertical spacing gets wrong should also be documented, unless we can fix the underlying problems with layout-set-staff-size. The question has appeared a sufficient number of times on the mailing lists so make it worth a serious bug report, at least. If we don't expect layout-set-staff-size to work properly in the forseeable future, why not simply remove it altogether since it's not better than setting fontSize?


If I understand you correctly, you have multiple \score blocks in the same file and want to use different staff sizes for the different scores. The best option that I know of is to use what you already have tried. If you want to get the correct staff spacing when using layout-set-staff-size, you could use
\score{
 \relative c'{c4 d e f g f e d c1 }
\layout{
 #(layout-set-staff-size 15)
 \context{
   \Staff
   \override StaffSymbol #'staff-space = #(/ 15 20)
 }
}
}

but it still gives too wide vertical spacing.

   /Mats

Todd O'Bryan wrote:
I'm going to export the two music snippets to EPS and paste them into
OpenOffice. When I finish, I'll post the PDF so you can see what I was
going for and see if there's any way to achieve it inside Lilypond.
Sorry about not trying harder before going to EPS, but we're singing
this on Christmas Eve, so I think the choir director would like it
soon. :-)

Todd

On Mon, Dec 21, 2009 at 1:50 AM, Marc Hohl <address@hidden> wrote:
Todd O'Bryan schrieb:
I just started using Lilypond and am loving it. But I have a rare use
case and am having trouble.

I'm trying to set Anglican chant--basically there are several bars of
whole and half notes on a grand staff that get matched up with text
below. That part is easy, I'll just use a markup section to handle the
text.

But there's a refrain at the top and because of the lyrics, it needs
to be fairly large. I'd like the chanting notes smaller, since they
don't have lyrics and could probably fit on a single line, but I can't
figure out how to make the second score a different size from the
first.

I am not sure what you want to achieve - do you have a visual example
(some scans perhaps)?

Marc
I've tried the layout-set-staff-size trick, but the lines don't get
any smaller. I've used \with to make the fontSize and staff-space
smaller, but even when I get the notes and staves so that they're
reduced in size, the spacing hasn't changed at all and I still have
the same number of measures across as I did at full size. (They just
look a lot more airy.)

Is there any way to do this, or should I just typeset the two scores
separately, convert them to EPS, and then paste them into a LaTeX
document or something similar?

Thanks for a great program,
Todd O'Bryan


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user




_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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