Re: Passing arguments to grob-transformer

2022-06-17 Thread Aaron Hill
On 2022-06-17 3:35 pm, Jean Abou Samra wrote: Le 18/06/2022 à 00:24, Leo Correia de Verdier a écrit : #(define elongate (lambda (grob amt) (let ((stil (ly:grob-property grob 'stencil))) (ly:grob-set-property! grob 'stencil (ly:stencil-scale stil 1

Re: Passing arguments to grob-transformer

2022-06-17 Thread Jean Abou Samra
Le 18/06/2022 à 00:24, Leo Correia de Verdier a écrit : Dear list! I’m quite likely just being somewhat dim, but is there a way to pass additional arguments to a function used by grob-transformer (or any callback for that matter)? Would it be possible to do something equivalent to this

Passing arguments to grob-transformer

2022-06-17 Thread Leo Correia de Verdier
Dear list! I’m quite likely just being somewhat dim, but is there a way to pass additional arguments to a function used by grob-transformer (or any callback for that matter)? Would it be possible to do something equivalent to this following using an override to the stencil using

Re: vertical half-brackets

2022-06-17 Thread Valentin Petzel
Hello Werner, how about something simple but functional like this: chbracket = #(define-music-function (offset height width) (number? number? number?) (let* ((x0 -0.7) (x1 (+ x0 width)) (y0 offset) (y1 (+ y0 height))) #{ \tweak outside-staff-priority

Re: Use markup in \replace when lilypond is expecting a string?

2022-06-17 Thread P J
Many thanks for your help! On Thu, 16 Jun 2022 at 08:16, Jean Abou Samra wrote: > > > Le 16/06/2022 à 02:36, Valentin Petzel a écrit : > > Of course it would > > theoretically be possible to define a custom replace command that allows > for > > this. > > > Let me throw in a possible solution: >

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?

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