lilypond-user
[Top][All Lists]
Advanced

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

Re: Mimicking `\chords` mode within `\markup`


From: Jean Abou Samra
Subject: Re: Mimicking `\chords` mode within `\markup`
Date: Wed, 21 Dec 2022 18:18:11 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

Le 21/12/2022 à 17:56, Joel C. Salomon a écrit :
\version "2.24.0"

\markup {
   Compare \sans\concat{F\char ##x266F °/C} to \sans\concat{F\sharp °/C}
   to \score{\chords{\chordmode{ fis:dim/c }}}
}

Looks like `\chords` is aligning the sharp symbol differently (and
probably using SMUFL U+E870 rather than U+B0 (°), but that matters
less).  How can I copy what `\chords` is doing?

(If the spacing and sizing of the embedded `\score` can be tweaked to
look like inline text, that's good too.)

I'm guessing that I need to somehow create a `ChordName` item, but I
can't see how to do so.


I would do it with \score. There is not really a simple way otherwise.

Add \layout { indent = 0 } in the \score block, and you're done.
You can also put \tweak font-size #-1 before the chord name to
change its size.

Best,
Jean

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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