Thanks Robin. This does exactly what I need. I will use this to optically tweak
note heads before trying to patch the fonts again. Lets me optically align the
mi and do.
On 17 Mar 2011, at 2:06 AM, Robin Bannister wrote:
> Tim Sheasby wrote:
>> how do I apply it to a specific note in a \set sh
Tim Sheasby wrote:
how do I apply it to a specific note in a \set shapeNoteStyles context
Well, I'm not sure what you're aiming for, but try this:
miNarrow = #(lambda (grob)
(if (eqv? (ly:grob-property grob 'style) 'miMirror)
(ly:stencil-scale (ly:note-head::print grob) 0.
On 3/16/11 12:32 PM, "Tim Sheasby" wrote:
> Sorry, it's taken me a while to get back to this. This works fine but how do I
> apply it to a specific note in a \set shapeNoteStyles context. Tried the
> following for example but not working.
>
You can't. I think I already said that. But I thi
Sorry, it's taken me a while to get back to this. This works fine but how do I
apply it to a specific note in a \set shapeNoteStyles context. Tried the
following for example but not working.
---8<-
miNarrow = {
\musicglyph #
I mean:
{
\override Stem #'extra-offset = #'(0.4 . 0)
b'4
\override Stem #'extra-offset = #'(-0.4 . 0)
g'4
}
But automatically
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailma
2011/2/26 Robin Bannister :
> b'4 g'4 \override NoteHead #'stencil = #wideNH
Nice! Thanks!
And what is the tweak to position the stem in the center of the
notehead (moving it horizontally to left or right, depending if it is
stemUp or stemDown)?
___
Tim Sheasby wrote:
Can a notehead be scaled by different factors in the x and y directions?
In the recent development versions (starting with 2.13.38) you can.
The following snippet uses an X-factor of 2:
wideNH = #(lambda (grob) (ly:stencil-scale (ly:note-head::print grob) 2 1))
{
On 26/02/11 22:03, Tim Sheasby wrote:
Can a notehead be scaled by different factors in the x and y directions?
There's a snippet showing how to generate noteheads with PostScript. You
could adapt that to get any shape and scaling you like:
http://lsr.dsi.unimi.it/LSR/Item?id=516
Nick
_
Can a notehead be scaled by different factors in the x and y directions?
Tim Sheasby
t...@sheafpublishing.co.za
<>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user