lilypond-user
[Top][All Lists]
Advanced

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

Re: Stacked tensions for chord names


From: Robin Bannister
Subject: Re: Stacked tensions for chord names
Date: Mon, 1 Mar 2021 10:50:28 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Valentin Petzel wrote:

Does anyone of you have an idea how one can set baseline-skip to be
proportional to the font-size?

Well, when the markup command \fontsize changes the font size, it changes the baseline-skip too, to keep it proportional.

But this means that if you are overriding the baseline-skip, you need to take care where you place the override wrt \fontsize. See example 4.


\version "2.20.0"

\markup \line {
\column { A B C 1 }
\override #(cons 'baseline-skip 1.2) \column { A B C 2 }
\fontsize #-6 "..."
\fontsize #-6 \column { A B C 3 }
\fontsize #-6 \override #(cons 'baseline-skip 1.2) \column { A B C 4 }
\override #(cons 'baseline-skip 1.2) \fontsize #-6 \column { A B C 5 }
}



Cheers,
Robin

Attachment: ABC.png
Description: PNG image


reply via email to

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