Hi all,
I would like my chord names to be centred until they’re of a certain width (say
as wide as Cm7), and anything wider than that would extend to the right from a
position slightly to the left of the note column they’re attached to (as if
X-offset = -1).
Would this best be done with a Sche
Hi all,
I'm cramming out scores for an upcoming workshop of a new musical**, and am
once again in need this ChordName alignment feature. Is anyone out there able
to shepherd me through building a callback to make this happen?
Thanks,
Kieren.
> On Jun 16, 2018, at 1:41 PM, Kieren MacMillan
>
oops! forgot the ** footnote:
** Thanks again to the ’Pond for how amazing the app already is: every time I
crank out amazing looking scores and parts in such a short period of time, I'm
reminded how lucky we all are for the efforts of the developers. All of my
Finale- and Sibelius-using friend
On 2021-12-21 10:30 am, Kieren MacMillan wrote:
and am once again in need this ChordName alignment feature. Is anyone
out there able to shepherd me through building a callback to make this
happen?
I've used something like this in the past:
\version "2.22.0"
music = \chordmode {
\overri
Hi Aaron,
> I've used something like this in the past
That's great! I just wrapped your 'center-er' in a (max -2 etc), and it's
exactly what I want:
\version "2.22.0"
\layout { ragged-right = ##f }
music = \chordmode {
c1 c:7 c:m7 c':m6.4.2/ees
}
\score {
<<
\new ChordNames \mus
Hi again,
When I try to use it in my main file, I get this:
In procedure ly:stencil-extent in expression (ly:stencil-extent sten X):
/Users/kmac/Documents/01_music/scores/_include/paper/musical.ily:254:21: Wrong
type argument in position 1 (expecting Stencil): #f
Any thoughts about what might
Kieren MacMillan writes:
> Hi again,
>
> When I try to use it in my main file, I get this:
>
> In procedure ly:stencil-extent in expression (ly:stencil-extent sten X):
> /Users/kmac/Documents/01_music/scores/_include/paper/musical.ily:254:21:
> Wrong type argument in position 1 (expecting Stenci
Le 21/12/2021 à 21:33, David Kastrup a écrit :
Kieren MacMillan writes:
Hi again,
When I try to use it in my main file, I get this:
In procedure ly:stencil-extent in expression (ly:stencil-extent sten X):
/Users/kmac/Documents/01_music/scores/_include/paper/musical.ily:254:21:
Wrong type ar
Hi all,
>>> Any thoughts about what might be going wrong?
>> It is applied to a grob that has been given the \omit treatment?
> Certainly. Kieren, try this
Perfection!
Thank you, Aaron and David and Jean!
Onward and upward. =)
Kieren
Jean Abou Samra writes:
> Certainly. Kieren, try this:
>
> \version "2.22.1"
>
> \layout { ragged-right = ##f }
>
> music = \chordmode {
> c1 c:7 c:m7 c':m6.4.2/ees \once \omit ChordName c
> }
>
> \score {
> <<
> \new ChordNames \music
> \new Staff \music
> >>
> \layout {
> \c
Hello Jean, hello David, hello Kieren,
you should even be able to write (if sten (ly:stencil-extent sten)), as the
stencil should always be a stencil or #f.
Cheers,
Valentin
21.12.2021 21:42:13 Jean Abou Samra :
> Le 21/12/2021 à 21:33, David Kastrup a écrit :
>> Kieren MacMillan writes:
>>>
Valentin Petzel writes:
> Hello Jean, hello David, hello Kieren,
>
> you should even be able to write (if sten (ly:stencil-extent sten)),
> as the stencil should always be a stencil or #f.
The return value will still be neither #f nor a dimension unless you
replace "if" with "and".
--
David Ka
Hello David,
using and here is a fancy way of doing things, that is true. Best way would
probably to use a suitable else value like '(0 . 0) or something, I guess.
Cheers,
Valentin
21.12.2021 21:58:59 David Kastrup :
> Valentin Petzel writes:
>
>> Hello Jean, hello David, hello Kieren,
>>
>
Le 21/12/2021 à 21:49, David Kastrup a écrit :
Your "if" has no else path. Maybe replace it with "and", assuming that
ChordName knows how to deal with an X-offset of #f (which tends to be a
valid setting for any predicate in grob properties).
Ouch. Looking at the relevant code path uncovered
Jean Abou Samra writes:
> [Valentin]
>> Hello Jean, hello David, hello Kieren,
>>
>> you should even be able to write (if sten (ly:stencil-extent sten)),
>> as the stencil should always be a stencil or #f.
>
>
> The two universally accepted values for any property
> regardless of the predicate ar
Le 21/12/2021 à 22:29, David Kastrup a écrit :
Jean Abou Samra writes:
[Valentin]
Hello Jean, hello David, hello Kieren,
you should even be able to write (if sten (ly:stencil-extent sten)),
as the stencil should always be a stencil or #f.
The two universally accepted values for any prop
On 2018-06-16 10:41, Kieren MacMillan wrote:
Hi all,
I would like my chord names to be centred until they’re of a certain
width (say as wide as Cm7), and anything wider than that would extend
to the right from a position slightly to the left of the note column
they’re attached to (as if X-offset
On 16.06.2018 19:41, Kieren MacMillan wrote:
I would like my chord names to be centred until they’re of a certain width (say
as wide as Cm7), and anything wider than that would extend to the right from a
position slightly to the left of the note column they’re attached to (as if
X-offset = -1)
18 matches
Mail list logo