On Wed 26 Oct 2016 at 23:14:20 (+0200), Michael Gerdau wrote:
> > please excuse this sidenote: It seems that your mailing client doesn’t
> > handle metadata correctly, so each reply of yours is technically
> > regarded as starting a new thread. It would be good if you could find a
> > way (or can s
> please excuse this sidenote: It seems that your mailing client doesn’t
> handle metadata correctly, so each reply of yours is technically
> regarded as starting a new thread. It would be good if you could find a
> way (or can someone help) to fix this. Not only may others have thread
> view enabl
On Wed, Oct 26, 2016 at 9:59 AM, Karol Majewski wrote:
> OK, I resign. But stil I don't get something in the code you posted yesterday:
>
> %
>
> raiseTie =
> #(lambda (grob)
> (let* ((ties (ly:grob-array->list (ly:grob-object grob 'ties)))
> (notehead (ly:spanner-bo
Hello Karol,
please excuse this sidenote: It seems that your mailing client doesn’t
handle metadata correctly, so each reply of yours is technically
regarded as starting a new thread. It would be good if you could find a
way (or can someone help) to fix this. Not only may others have thread
v
OK, I resign. But stil I don't get something in the code you posted yesterday:
%
raiseTie =
#(lambda (grob)
(let* ((ties (ly:grob-array->list (ly:grob-object grob 'ties)))
(notehead (ly:spanner-bound (car ties) LEFT))
(stem (ly:grob-object notehead 'stem))
On Wed, Oct 26, 2016 at 6:20 AM, Karol Majewski wrote:
> OK, David, so let's move one square backward and try to use staff-position.
> The following code does compile but doesn't do what I want. Perhaps what I'm
> trying to achieve is just not possible.
I don't think it is.
Carl's email explai
OK, David, so let's move one square backward and try to use staff-position. The
following code does compile but doesn't do what I want. Perhaps what I'm trying
to achieve is just not possible.
%%
tweakTie =
#(lambda
(grob)
(let*
((ties
(ly:grob-array->list
On 10/25/16 1:48 PM, "Karol Majewski" wrote:
>
>So there should be fourth condition but I have no idea how to put it in
>scheme. I need somethong like:
>
>(if (> dot-position notehead-position)) // if dot is placed higher than
>notehead
>(if (< dot-position notehead-position)) // if dot is place
On Tue, Oct 25, 2016 at 5:47 PM, David Nalesnik
wrote:
>
> I think you discarded the right method of determining direction.
>
Or, rather, you may have to use staff-position.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/m
Hi Karol,
On Tue, Oct 25, 2016 at 5:15 PM, Karol Majewski wrote:
> Here's full code. It's important to applay my tie settings.
OK, thank you. That helps enormously.
Above, I mentioned moving the check for dot direction, and refactoring
the two if-statements for more compact and maintainable c
Here's full code. It's important to applay my tie settings. In the following
example the third tie should be lowered by 0.25.
tweakTie =
#(lambda
(grob)
(let*
((ties
(ly:grob-array->list
(ly:grob-object grob 'ties)))
(notehead
(ly:spanner-bound
On Tue, Oct 25, 2016 at 4:53 PM, Karol Majewski wrote:
> I think I don't have to compare dot.staff-position and
> notehead.staff-position. I can simply check if Dots.direction is 1 or -1.
>
> Still I'm doing something wrong here:
Could you please provide your test example when you give code? I'
I think I don't have to compare dot.staff-position and notehead.staff-position.
I can simply check if Dots.direction is 1 or -1.
Still I'm doing something wrong here:
tweakTie =
#(lambda
(grob)
(let*
((ties
(ly:grob-array->list
(ly:grob-object grob 'ties)))
(noteh
OK, I've added this. Stem-dir is no longer needed.
It doesn't work. I think something is wrong with notehead definition:
tweakTie =
#(lambda
(grob)
(let*
((ties
(ly:grob-array->list
(ly:grob-object grob 'ties)))
(notehead
(ly:spanner-bound
(car ti
On Tue, Oct 25, 2016 at 2:48 PM, Karol Majewski wrote:
> Now I realised that, according to my concept, tie should be lowered not only
> when
>
> (stem-direction == UP && tie-direction == UP && note-has-a-dot == true)
>
> but also when notehead is placed on staff-line and not on staff-space. In
>
Now I realised that, according to my concept, tie should be lowered not only
when
(stem-direction == UP && tie-direction == UP && note-has-a-dot == true)
but also when notehead is placed on staff-line and not on staff-space. In other
words - when a dot is placed not on the same staff-position a
OK, David, I've combined everything. Hopefully everything is fine now. Here it
is:
tweakTie =
#(lambda
(grob)
(let*
((ties
(ly:grob-array->list
(ly:grob-object grob 'ties)))
(notehead
(ly:spanner-bound
(car ties) LEFT))
(stem
(ly:gro
On Tue, Oct 25, 2016 at 10:37 AM, David Nalesnik
wrote:
> Hi Karol,
>
> On Tue, Oct 25, 2016 at 9:35 AM, Karol Majewski wrote:
>> OK, I'm trying to write something like this in scheme:
>>
>> if (stem-direction == UP && tie-direction == UP && note-has-a-dot == true)
>> {
>> \once \override Tie.d
Hi Karol,
On Tue, Oct 25, 2016 at 9:35 AM, Karol Majewski wrote:
> OK, I'm trying to write something like this in scheme:
>
> if (stem-direction == UP && tie-direction == UP && note-has-a-dot == true)
> {
> \once \override Tie.details.skyline-padding = #5
> \once \override Tie.Y-offset = #-0.
OK, I'm trying to write something like this in scheme:
if (stem-direction == UP && tie-direction == UP && note-has-a-dot == true)
{
\once \override Tie.details.skyline-padding = #5
\once \override Tie.Y-offset = #-0.25
}
Please, David or Harm, correct my mistakes. So far I've got this:
raise
f Of Karol Majewski
Sent: Tuesday, 25 October 2016 7:07 AM
Subject: Re: Tie settings question
I work really hard to make LilyPond ties look the way I want. My current
settings are the following:
\override Tie.details.height-limit = #1.25
\override Tie.details.ratio = #0.25
\override Tie.detai
This is fine now. Thx, David.
I work really hard to make LilyPond ties look the way I want. My current
settings are the following:
\override Tie.details.height-limit = #1.25
\override Tie.details.ratio = #0.25
\override Tie.details.between-length-limit = #1
\override Tie.details.
On Sat, Oct 22, 2016 at 7:11 PM, David Nalesnik
wrote:
> On Sat, Oct 22, 2016 at 6:55 PM, Karol Majewski wrote:
>> Hi David, when a chord doesn't have a flag, then your code doesn't work.
>> Just replace
>>
>> 8~
>>
>> with
>>
>> 4~
>>
>> and it won't compile. Perhaps there should be a condition
On Sat, Oct 22, 2016 at 6:55 PM, Karol Majewski wrote:
> Hi David, when a chord doesn't have a flag, then your code doesn't work. Just
> replace
>
> 8~
>
> with
>
> 4~
>
> and it won't compile. Perhaps there should be a condition in your code: "if a
> note has a a flag then set Flag.Y-extent to
Hi David, when a chord doesn't have a flag, then your code doesn't work. Just
replace
8~
with
4~
and it won't compile. Perhaps there should be a condition in your code: "if a
note has a a flag then set Flag.Y-extent to (4 . 0)". Or maybe there is a
better way to fix this?
> %
Aha, I get it. Thanks for the lesson. It seems I have to study scheme tutorial
deeply...
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
On Sat, Oct 22, 2016 at 8:16 AM, David Nalesnik
wrote:
>
> (2) As the log will tell you, "flag" is not defined. I assume you
> arrived at this because of Harm's usage of "tie"
> below. He's creating a local variable to refer to Tie grobs which
> he's already obtained, not relying on some existi
Hi Karol,
On Sat, Oct 22, 2016 at 7:33 AM, Karol Majewski wrote:
> Now I try to change Flag.Y-extent value in chords to: \override Flag.Y-extent
> = #'(4 . 0)
>
> Got this, but it doesn't work. What am I doing wrong?
>
> evenTies =
> #(lambda
> (grob)
> (let
> ((ties
> (ly:grob-a
Now I try to change Flag.Y-extent value in chords to: \override Flag.Y-extent =
#'(4 . 0)
Got this, but it doesn't work. What am I doing wrong?
evenTies =
#(lambda
(grob)
(let
((ties
(ly:grob-array->list
(ly:grob-object grob 'ties
(if
(>
(length ti
2016-10-21 22:48 GMT+02:00 Thomas Morley :
> 2016-10-21 22:39 GMT+02:00 Karol Majewski :
>> OK, this does change skyline-padding in chords, but unfotunately it also
>> changes skyline-padding between single notes (see example: c'8~ c'4). I'd
>> like tied chords to have different skyline-padding v
Yes, now it does what I want. Thx a lot. This is the final code - without color
indicators:
hint =
\override TieColumn.before-line-breaking =
#(lambda (grob)
(let ((ties (ly:grob-array->list (ly:grob-object grob 'ties
(if (> (length ties) 1)
(for-each
(lambda (tie)
2016-10-21 22:39 GMT+02:00 Karol Majewski :
> OK, this does change skyline-padding in chords, but unfotunately it also
> changes skyline-padding between single notes (see example: c'8~ c'4). I'd
> like tied chords to have different skyline-padding value than tied single
> notes.
>
> hint =
> \o
OK, this does change skyline-padding in chords, but unfotunately it also
changes skyline-padding between single notes (see example: c'8~ c'4). I'd like
tied chords to have different skyline-padding value than tied single notes.
hint =
\override TieColumn.before-line-breaking =
#(lambda (grob
2016-10-20 23:44 GMT+02:00 Karol Majewski :
> Hi, I'd like my ties to have different settings when being a part of
> TieColumn. For example:
>
> By default Tie.details.skyline-padding is set to 0.05, which is a good value.
> Now, for ties that are part of TieColumn (when connecting chords) I'd li
Hi, I'd like my ties to have different settings when being a part of TieColumn.
For example:
By default Tie.details.skyline-padding is set to 0.05, which is a good value.
Now, for ties that are part of TieColumn (when connecting chords) I'd like to
use different value of skyline-padding, let's
35 matches
Mail list logo