On 3/15/07, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
I polished the function a bit further:
hairpinWithCenteredText = #(define-music-function
(parser location text) (markup?)
#{
\override Voice.Hairpin #'stencil = #(lambda (grob)
(ly:stencil-aligned-to
(ly:stenc
I polished the function a bit further:
hairpinWithCenteredText = #(define-music-function
(parser location text) (markup?)
#{
\override Voice.Hairpin #'stencil = #(lambda (grob)
(ly:stencil-aligned-to
(ly:stencil-combine-at-edge
(ly:stencil-aligned-to (ly:hairpin::p
2007/3/12, Maximilian Albert <[EMAIL PROTECTED]>:
As I wrote in the last email, I am still uncertain if this is the most
straightforward way to do it, and there might be somewhat simpler
solutions. So I will wait a few day for any of the people who are more
into it to make comments. If there is
Hi again,
below is a slight improvement of the previous version which saves you
from typing the whole function definition over and over again just to
change the markup text. The function 'hairpinWithCenteredText' takes a
single markup as argument. The usage should be straightforward (see the
examp
Trevor Bača schrieb:
> I saw Vivian's request a couple days' back and didn't think an answer
> would be possible.
To tell you the truth, when I read the request I was absolutely certain
that an answer *is* possible because I am more and more getting the
feeling that both lilypond's and scheme's p
On 3/11/07, Maximilian Albert <[EMAIL PROTECTED]> wrote:
Hi Vivian,
> I posted a message to this list a few days ago about automatically
> center-aligning some text under a Hairpin object (for example "molto" or
> "poco" ) but haven't received any responses. Whilst I've found how to
> combine ma
Hi Vivian,
> I posted a message to this list a few days ago about automatically
> center-aligning some text under a Hairpin object (for example "molto" or
> "poco" ) but haven't received any responses. Whilst I've found how to
> combine markups using combine-at-edge I can't find how to center-alig
I posted a message to this list a few days ago about automatically
center-aligning some text under a Hairpin object (for example "molto" or "poco"
) but haven't received any responses. Whilst I've found how to combine markups
using combine-at-edge I can't find how to center-align one to the othe