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 20:32:42 +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=JQw/gi8njWQCopAKJo0xMi94dTvo7hrgrgoAt3Oac6Q=; b=mFilfoGj66NYPUuybZDVG6qzPM9x59Diil8SoC99/mn+1QBHgqa68eHYJ/n9gD1OPZ IaJHh/A66SZB/Vokc4F3xAHG0HUoLsed1Q5DnbpvHCz9uxYpNGcCVOXTYdYnwLSaCqmq 67DY2JJsBXyuyZErvtBuzbQAjxanZD7FLpyC0=
- 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=NmrcMsia/gInaUyDGYiwk6/wohjynf2d3+poMRmT65fRy+bLf7IwebBFpBMuXbVbHF V4pRVFiJVZ57vKSojub2VSIvMPMOtLgMO4UoJRh2uf/thItPG+whnVa9CS1HsvFEYpxz Lgee7hQ/uBu4RE5ewhkw6FrKWYeoDISOmWrcM=
Il giorno mar, 12/04/2011 alle 17.11 -0600, Carl Sorensen ha scritto:
> > ... maybe I've overwritten the command instead of just adding the
> > override?
>
> That's right.
>
> Look in ly/property-init.ly for the definition of \deadNote, and
> duplicate
> it, but with the override added.
Thanks for the hint but I can't make it work.
What's wrong in the following examples?
deadNote = {
\once \override TabNoteHead #'font-name = #"Feta"
#(define-music-function (parser location note) (ly:music?)
(_i "Print @var{note} with a cross-shaped note head.")
(style-note-heads '(TabNoteHead NoteHead) 'cross note))
}
or
deadNote = \once \override TabNoteHead #'font-name = #"Feta" #xNote
PS
In ly/property-init.ly I see:
% Define aliases of cross-head notes for specific purposes
deadNotesOn = \xNotesOn
deadNotesOff = \xNotesOff
deadNote = #xNote
why #xNote?
I would expect to see \xNote