lilypond-user
[Top][All Lists]
Advanced

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

Re: Vertical space of a fragment of score inside a list


From: Leo Correia de Verdier
Subject: Re: Vertical space of a fragment of score inside a list
Date: Thu, 25 Nov 2021 23:01:46 +0100

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 <paolopr976@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

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