lilypond-user
[Top][All Lists]
Advanced

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

Re: Instrument name in magnified staff


From: Thomas Morley
Subject: Re: Instrument name in magnified staff
Date: Sat, 9 Jan 2016 13:54:06 +0100

2016-01-09 12:57 GMT+01:00 Chris Yate <address@hidden>:
> Hi,
>
> As per the documentation*, I'm using \magnifyStaff to reduce the size of the
> solo line in a piano accompaniment.
>
> \version "2.19.35"
>
> \score {
>   <<
>     \new Staff \with { instrumentName = "Example 1"
>                        \magnifyStaff #4/7
>     }
>     << \relative c{ a b c d } >>
>     \new Staff \with { instrumentName = "Example 2"
>     }
>     << \relative c{ a b c d } >>
>   >>
>   \layout{}
> }
>
> Unfortunately the instrument name is _also_ magnified (negatively). (See
> attached)
>
> Is this really the intended result?

Yes.
I have no printed edition at hand where it is done different.

> How would I make the instrument name
> text full size?

\version "2.19.35"

\score {
  <<
    \new Staff \with {
      instrumentName = "Example 1"
      \override InstrumentName.font-size = #(magnification->font-size 7/4)
      \magnifyStaff #4/7
    }
    << \relative c{ a b c d } >>
    \new Staff \with {
      instrumentName = "Example 2"
    }
    << \relative c{ a b c d } >>
  >>
  \layout{}
}

HTH,
  Harm

>
> Thanks,
>
> Chris
>
> *
> http://www.lilypond.org/doc/v2.19/Documentation/notation/setting-the-staff-size



reply via email to

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