[Top][All Lists]

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

Re: Changing the default dynamics font

From: Martin Hiendl
Subject: Re: Changing the default dynamics font
Date: Mon, 24 May 2010 08:01:13 -0700

Sorry for being unclear.

So I would like to change the typeface of dynamics like \p, \mf, etc.

The command

>> \override DynamicText #'font-name = "Linux Libertine"

did work, because all my dynamics now have the plain Linux Libertine typeface. 
The problem is that they have their regular fontstyle, whereas I would like 
them to be bold and italic.

The manual says that editing font-name in that way overrides all settings in 
font-series or font-shape. This is why this part of the command

>    \override DynamicText #'font-series = #'bold

did not affect the result.

So my question is whether there is another way to change the default typeface 
of the dynamics where I can specify the font-styles like bold and italic.


On May 24, 2010, at 1:30 AM, Xavier Scheuer wrote:

> 2010/5/24 Martin Hiendl <address@hidden> :
>> Hi!
>> I hope this hasn't been brought up yet.
>> I tried to change the default dynamics font with the following
>> command:
>> \score {
>>  \new Staff \with {
>>    \override DynamicText #'font-name = "Linux Libertine"
>>    \override DynamicText #'font-series = #'bold
>>    \override DynamicText #'font-size = #1
>> }
> Maybe it did not work because DynamicText are engraved by
> "New_dynamic_engraver", which belong to Voice and not Staff...
> And try adding a # before the font name.
>  \override DynamicText #'font-name = #"Linux Libertine"
> BTW are you sure the font name is correct (checking with
> "lilypond -dshow-available-fonts x")?
> Cheers,
> Xavier
> --
> Xavier Scheuer <address@hidden>

reply via email to

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