[Top][All Lists]

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

Re: Changing staff size

From: Kevin Barry
Subject: Re: Changing staff size
Date: Tue, 28 Jul 2015 14:29:34 +0100

Hi Jerome,

The most relevant part of the manuals for your question is probably here:

It should answer all of your questions (and there is even an example of how to store a \with block in a variable.


On Mon, Jul 27, 2015 at 6:41 PM, Jérôme Plût <address@hidden> wrote:
I saw in the documentation how to change the size of a single staff
(such as the solist part in a piano accompaniment score) with the
\with command. However, since I might need to do this for several
scores, I would like to factor out the \with snippet in a macro.

My question is therefore: is there a simple way to write a macro such
\new Staff \mymacro << ... >>
(or \new Staff << \mymacro ... >>)
would be equivalent to
\new Staff \with { [some properties set] }

 ? (I know about magnifyStaff in 2.19, but I only have 2.18 here).

Also two, maybe-related, questions:
 - what does the \with block do precisely? The index link for
   \with sends to ,
   which gives a few examples, but not the definition, of \with.

 - as I understand it, changing only fontSize and
   StaffSymbol.staff-space only reduces a single staff, but not the
   inter-staff symbol. I may access this via the StaffGrouper object,
   but what if the piano accompanies two instruments ? Say:
\new StaffGroup <<
  \new Staff \oboe
  \new Staff \clarinet
  \new PianoStaff << \new Staff \righthand \new Staff \lefthand >>

Here, I would want to reduce the space between \oboe and \clarinet,
but not between \righthand and \lefthand.

lilypond-user mailing list

reply via email to

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