Re: L-R reversed mensural flag

2022-06-17 Thread Jean Abou Samra

Le 17/06/2022 à 13:10, Vaughan McAlley a écrit :
Modifying the existing stencil is pretty cool. I never quite got that 
far into the “Extending Lilypond” section…



By "Extending Lilypond", do you mean the official extending manual? Or this?

https://extending-lilypond.readthedocs.io/en/latest/backend.html#stencils

(The latter is somewhat more thorough.)

Jean





Re: L-R reversed mensural flag

2022-06-17 Thread Vaughan McAlley
On Wed, 15 Jun 2022 at 15:38, Jean Abou Samra  wrote:

>
>
> Le 15/06/2022 à 05:53, Adam M. Griggs a écrit :
> > Hello list,
> >
> > Just a quick request today, if I may. What I'd like is a stem-down
> > fusa (mensural-style quaver or eighth-note) with its flag extending to
> > the right instead of the left. A mirror image of the regular engraving.
> >
> > I can get close by overriding the flag back into standard style but I
> > want to retain the mensural shape, so that isn't ideal.
> >
> > Thank you!
>
>
> Something like this?
>
> \version "2.22.2"
>
> \new MensuralStaff {
>\override Flag.stencil =
>  #(grob-transformer
>'stencil
>(lambda (grob original)
>  (ly:stencil-scale original -1 1)))
>c''8
> }
>
>
> Best,
> Jean
>
>
>
Modifying the existing stencil is pretty cool. I never quite got that far
into the “Extending Lilypond” section…

Vaughan


Re: L-R reversed mensural flag

2022-06-15 Thread Adam M. Griggs
Cheers Andrew!

Without divulging any of your work's trade secrets, how does that work?
Just Ghostscript?

On Wed, 15 Jun 2022, 13:04 Andrew Bernard, 
wrote:

> I've been away from LilyPond for a few years but my work uses custom
> flags which you can set. You can describe any path and make it for the
> flag. I don't have my example on hand just now, but fear not, this can
> easily be achieved. I'm sure the others will give more detail.
>
> Andrew
>
>
> Adam M. Griggs wrote on 15/06/2022 1:53 PM:
> > Just a quick request today, if I may. What I'd like is a stem-down
> > fusa (mensural-style quaver or eighth-note) with its flag extending to
> > the right instead of the left. A mirror image of the regular engraving.
>
>
>


Re: L-R reversed mensural flag

2022-06-15 Thread Adam M. Griggs
Wonderful! Thank you!

On Wed, 15 Jun 2022, 14:34 Jean Abou Samra,  wrote:

>
>
> Le 15/06/2022 à 05:53, Adam M. Griggs a écrit :
> > Hello list,
> >
> > Just a quick request today, if I may. What I'd like is a stem-down
> > fusa (mensural-style quaver or eighth-note) with its flag extending to
> > the right instead of the left. A mirror image of the regular engraving.
> >
> > I can get close by overriding the flag back into standard style but I
> > want to retain the mensural shape, so that isn't ideal.
> >
> > Thank you!
>
>
> Something like this?
>
> \version "2.22.2"
>
> \new MensuralStaff {
>\override Flag.stencil =
>  #(grob-transformer
>'stencil
>(lambda (grob original)
>  (ly:stencil-scale original -1 1)))
>c''8
> }
>
>
> Best,
> Jean
>
>


Re: L-R reversed mensural flag

2022-06-14 Thread Jean Abou Samra




Le 15/06/2022 à 05:53, Adam M. Griggs a écrit :

Hello list,

Just a quick request today, if I may. What I'd like is a stem-down 
fusa (mensural-style quaver or eighth-note) with its flag extending to 
the right instead of the left. A mirror image of the regular engraving.


I can get close by overriding the flag back into standard style but I 
want to retain the mensural shape, so that isn't ideal.


Thank you!



Something like this?

\version "2.22.2"

\new MensuralStaff {
  \override Flag.stencil =
    #(grob-transformer
  'stencil
  (lambda (grob original)
    (ly:stencil-scale original -1 1)))
  c''8
}


Best,
Jean




Re: L-R reversed mensural flag

2022-06-14 Thread Andrew Bernard
I've been away from LilyPond for a few years but my work uses custom 
flags which you can set. You can describe any path and make it for the 
flag. I don't have my example on hand just now, but fear not, this can 
easily be achieved. I'm sure the others will give more detail.


Andrew


Adam M. Griggs wrote on 15/06/2022 1:53 PM:
Just a quick request today, if I may. What I'd like is a stem-down 
fusa (mensural-style quaver or eighth-note) with its flag extending to 
the right instead of the left. A mirror image of the regular engraving.





L-R reversed mensural flag

2022-06-14 Thread Adam M. Griggs
Hello list,

Just a quick request today, if I may. What I'd like is a stem-down fusa
(mensural-style quaver or eighth-note) with its flag extending to the right
instead of the left. A mirror image of the regular engraving.

I can get close by overriding the flag back into standard style but I want
to retain the mensural shape, so that isn't ideal.

Thank you!