[Top][All Lists]

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

Re: Markups and small staves

From: Xavier Scheuer
Subject: Re: Markups and small staves
Date: Wed, 16 Sep 2020 21:16:16 +0200

On Wed, 16 Sep 2020 at 20:10, Martín Rincón Botero <> wrote:
> Hello again,
> how can I make a markup that ignores a \magnifyStaff command? Consider:
> oboe = \relative c' { c4^"markup" d e f }
> oboePart = \new Staff \with {
>   \magnifyStaff #5/7
> } \oboe
> piano = \relative c' { c4 d e f }\score {
>   <<
>     \oboePart
>     \piano
>   >>
>   \layout { }
> }
> I know I can just make a bigger markup for the magnified staff, but that wouldn't be a practical solution in my case, since said markups are gonna be in their independent variable (tempi) to be used by both staves.

Hello Martin,

I don't get it.
Your "markup" command is a TextScript object, which is engraved by the Text_engraver at the Voice level.
Voice context is contained within Staff context.
By using \magnifyStaff command you basically ask LilyPond to reduce the size of the objects of this Staff, which apply to the objects of the voice(s) contained in this Staff.

So my suggestion would be either to use a proper text mark (command \mark or \tempo), which are engraved at the Score level, which would then be "above" the Staff context and then not affected by the \magnifyStaff command, or to reset the size of the TextScripts within your smaller staff (which you dismiss). I would suggest the first solution.


Xavier Scheuer <>

reply via email to

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