Hello,

I can't put this variable into the \paper block: it would affect the entire
score, but I want to have this only for the fragment inside the list. I
searched for a \layout variable too, but could not find any.
Thanks for your help,

Paolo

On Thu, Nov 25, 2021 at 11:01 PM Leo Correia de Verdier <
leo.correia.de.verd...@gmail.com> wrote:

> I think what you’re after, since you already have the vSpace in the markup
> is
>
>          score-markup-spacing = #'((basic-distance . 0)
>                                    (minimum-distance . 0)
>                                    (stretchability . 0)
>                                    (padding . 0))
>
> in the paper block. Was that what you wanted?
>
> You could also include the vSpace in the space between the score and
> markup, like
>
>                         #`((basic-distance . ,vSpace) …
>
> Instead of putting it in the markup. There is also markup-system-spacing
> and markup-markup-spacing to play around with.
>
> HTH
> /Leo
>
> > 25 nov. 2021 kl. 18:48 skrev Paolo Prete <paolopr...@gmail.com>:
> >
> > Hi all,
> >
> > please consider the following snippet:
> >
> > %%%%%%%%%%
> > #(define vSpace 1.7)
> >
> > \paper { ragged-last = ##f  }
> >
> > \markup { "Text 1" }
> >
> > \markup { \vspace #vSpace "Text 2" }
> >
> > \score {
> >   { c' d' e' f' }
> >   \layout { indent = #0 ragged-last = ##t }
> > }
> >
> > \markup { \vspace #vSpace "Text 3" }
> >
> > \markup { \vspace #vSpace "Text 4" }
> >
> > \markup { \vspace #vSpace "Text 5" }
> > %%%%%%%%%%
> >
> > I need that the space between "text 3" and the score below "text 2" is
> exactly #vSpace.  How can I do that?
> >
> > Thanks!
> > P
> >
>
>

Reply via email to