lilypond-user
[Top][All Lists]
Advanced

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

Re: Inserting a verical space, or an empty line, between two markups att


From: Robert Blackstone
Subject: Re: Inserting a verical space, or an empty line, between two markups attached to a note.
Date: Tue, 27 Feb 2018 10:13:18 +0100

Hi Torsten,

Thank you very much. This does help, or better, it neatly solves my problem. (I 
had never used, or even read about, "baseline-skip" so this is also a very 
useful contribution to my LilyPond education.)

In your PS you wrote that you don't know the original page layout. That is hard 
to believe, for by inserting your code into my file I do get the original page 
layout (I only slightly lowered the \vspace,  from #0.8 to #0.6 ) I included a 
picture of the original page layout in my reply to Andrew Bernard, 26-02-18.

Thanks again.

Best regards,
Robert


On 26 Feb 2018, at 20:00 , Torsten Hämmerle <address@hidden> wrote:

> Hi Robert,
> 
> The main problem is the baseline-skip within the columns, i.e. the lines of
> text are too far apart from each other.
> If the default skip is too wide, inserting positive \vspace can only make it
> worse (by the way, it's also possible to insert negative \vspace).
> 
> The "proper" and most natural way, however, is to adjust the baseline-skip
> at will:
> 
> Each \column (or \center-column) has a property called baseline-skip that
> can be altered by overriding its default value. I've also included two
> separate \center-columns and a \line construct in order to be able to shift
> the "Rome, Mars 1934" column slightly to the right. Just for demonstration
> purposes how these markup "boxes" can be nested and combined.
> 
> \version "2.19.81"
> 
> \markup {
>  \column {
>    \override #'(baseline-skip . 2.2) \italic \center-column {
>      "m. g."
>      "dessus"
>    }
>    \vspace #0.8
>    \line {
>      \hspace #1.2
>      \override #'(baseline-skip . 1.8) \tiny \center-column { 
>        "Rome"
>        \bold "Mars 1934"
>      }
>    }
>  }
> }
> 
> mg-dessus.png
> <http://lilypond.1069038.n5.nabble.com/file/t3887/mg-dessus.png>  
> 
> There are two different baseline-skip values for the two boxes (Rome, Mars
> 1934 is in smaller type and requires a smaller baseline-skip).
> 
> I generally used double qoutes for text because it will be coloured as
> verbatim text in my editor and (in this case to prevent "Mars 1934" from
> begin split into two lines.
> 
> HTH
> Torsten
> 
> PS: I don't know the original page layout, but probably it would be best to
> use tagline for "Rome...", as in Noeck's proposal. But it is always
> beneficial to know about baseline-skip, anyway.
> 
> 
> 
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
> 
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user




reply via email to

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