lilypond-user
[Top][All Lists]
Advanced

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

Re: Overriding the font-size for a specific glyph


From: Valentin Petzel
Subject: Re: Overriding the font-size for a specific glyph
Date: Sat, 20 Nov 2021 16:54:55 +0000 (UTC)

By the way these methods are not limited to Script, but can be used for most properties of most grobs, as long as you can define a suitable function that classifies the grob according to what you want.

For example you could differentiate between crescendo and diminuendo hairpins, or between wiggle and line glissando (suppose you use both zig zag and line glissando for different things and want the line glissando to have more thickness), you could change to style of texts depending on their total length, such stuff.

Cheers,
Valentin

20.11.2021 17:15:20 Paolo Prete <paolopr976@gmail.com>:

Thank you Valentin, this is very complete!

On Sat, Nov 20, 2021 at 1:51 PM Valentin Petzel <valentin@petzel.at> wrote:
Hello Paolo,

If you want you can also do something like this to make separately overriding
those things easier.

Cheers,
Valentin

Am Samstag, 20. November 2021, 12:50:11 CET schrieb Paolo Prete:
> On Sat, Nov 20, 2021 at 12:48 PM Valentin Petzel <valentin@petzel.at> wrote:
> > Hello Paolo,
> >
> > The quick way would be to simply do
> >
> > dashDash = \tweak font-size #2 \tenuto
> >
> > The systematic way would be applying these tweaks by type. The method
> > linked
> > by Kieren is a bit problematic in my opinion, as it applies these tweaks
> > after
> > the grob is generated. This means that this ignores any further tweaks and
> > overrides, also it means that if we ever want to use before-line-breaking
> > for
> > something else we need to mind that we are using it here.
>
> I agree, thanks Valentin!

reply via email to

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