Re: [tablatures] Re: dampened symbol in tablature when using fonts other than Feta |
[ Thread Index |
Date Index
| More lilynet.net/tablatures Archives
]
- To: Carl Sorensen <c_sorensen@xxxxxxx>
- Subject: Re: [tablatures] Re: dampened symbol in tablature when using fonts other than Feta
- From: Federico Bruni <fedelogy@xxxxxxxxx>
- Date: Wed, 13 Apr 2011 00:21:59 +0200
- Cc: "lilypond-user@xxxxxxx" <lilypond-user@xxxxxxx>, "tablatures@xxxxxxxxxxx" <tablatures@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=5bBPlyl1JzwWcJ/XoB1j6HN3Av/0VIa1LQlQQASif8k=; b=fg81CQ9lhomlMU8DPTQkAIApSOyr+EnEaXxBI7Y6Q/Y9JHYObBiSd+kPCgcayKdGT1 5HXxhV6U53E3qZy7ZBPG6DXEiywAytbj/+JwXQaoRA/DtTrhDFWrKjsb3o1P9wWWX1xd 0KTGFXaFPXC0QqtH3RV9Ib1swiXXPrHOMGGOY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=hxLF7lJKbuVyCuiqOueKLc10X+FHlljtIKzISqvxKfQnuZUfcgGmZwva9z42wmFjuG pqmMKM3HmmB3FYrjqleqc34g0n2tA3kmcYrk8quiC+szWYwW8bxJpLjdTMGaVE5Oo+5s HvipEpD9W+YahragBKRCotT2eoNX+B2vibW8M=
Il giorno mar, 12/04/2011 alle 15.38 -0600, Carl Sorensen ha scritto:
> How about redefining \deadNote so it contains
>
> \once \override TabStaff.TabNoteHead #'font-name = #"Feta"
Thanks.
However, I'm not sure if I know how to redefine existing commands.
The following code is not working, because it prints the normal notehead
(instead of the crosshead) in both Staff and Tabstaff.
.... maybe I've overwritten the command instead of just adding the
override?
\version "2.13.58"
deadNote = {
\once \override TabStaff.TabNoteHead #'font-name = #"Feta"
}
music = \relative c' {
% try any font in your system other than Feta
\override TabStaff.TabNoteHead #'font-name = #"Nimbus Sans L Bold"
c4 d \deadNote dis e |
}
\score {
\new StaffGroup <<
\new Staff { \clef "G_8" \music }
\new TabStaff { \clef "moderntab" \music }
>>
}