Am 21.10.2018 um 11:03 schrieb David Kastrup:
Torsten Hämmerle writes:
David Kastrup wrote
Anything wrong with using a callback?
No, not at all, callbacks are fine and do solve the problem..
But given the fact that "aligning to the baseline" is specific to text so
that different up/down st
David Kastrup wrote
> Given how often this occurs, maybe we should create some function for
> that purpose rather than putting pairs everywhere in peacemeal?
>
> The principal question is what to do when the event does not have an
> explicit direction. Then one would have to refer to the grob cal
Torsten Hämmerle writes:
> David Kastrup wrote
>> Anything wrong with using a callback?
>
> No, not at all, callbacks are fine and do solve the problem..
> But given the fact that "aligning to the baseline" is specific to text so
> that different up/down staff-padding values are rather the rule t
David Kastrup wrote
> Anything wrong with using a callback?
No, not at all, callbacks are fine and do solve the problem..
But given the fact that "aligning to the baseline" is specific to text so
that different up/down staff-padding values are rather the rule than the
exception, I thought it'd be
Hi Aaron,
> The baselines are aligned. It is just that "g" in the default font lies
> above the baseline, so it looks odd. Change _"g" to _"gb" and you can see
> that the b's align.
Ah! Yes. Actually, changing it to 'q' makes more sense, so that the set above
and below the staff are identica
On 2018-10-20 5:49 pm, Aaron Hill wrote:
On 2018-10-20 5:45 pm, Kieren MacMillan wrote:
The baselines above the staff seem aligned, but not below the staff.
Is that expected behaviour?
Hi Kieren,
The baselines are aligned. It is just that "g" in the default font
lies above the baseline, so i
On 2018-10-20 5:45 pm, Kieren MacMillan wrote:
Hi Aaron,
\version "2.19.82"
{
\override TextScript.staff-padding = #(lambda (grob)
(let ((dir (ly:event-property (event-cause grob) 'direction)))
(if (> dir 0) 2.5 3.5)))
g' _"g" ^"q"
g' _"b" ^"b"
}
The baselines above the s
Hi Aaron,
>
> \version "2.19.82"
> {
> \override TextScript.staff-padding = #(lambda (grob)
>(let ((dir (ly:event-property (event-cause grob) 'direction)))
> (if (> dir 0) 2.5 3.5)))
> g' _"g" ^"q"
> g' _"b" ^"b"
> }
>
The baselines above the staff seem aligned, but not belo
On 2018-10-20 2:51 pm, David Kastrup wrote:
Torsten Hämmerle writes:
The only thing I do not like about staff-padding is that, strictly
speaking,
we'd need different values for up and down direction:
Above the stave, just the descenders go between stave and text
baseline,
whereas below the s
Hi Kieren,
Am 20.10.2018 um 21:22 schrieb Kieren MacMillan:
Hi Urs,
Is there a way to force text elements to a common *baseline* (as long as
collision avoidance doesn't force them farther away from the staff?
This is a long-standing irritation of mine, with respect to Lily’s text/markup
ha
Torsten Hämmerle writes:
> The only thing I do not like about staff-padding is that, strictly speaking,
> we'd need different values for up and down direction:
> Above the stave, just the descenders go between stave and text baseline,
> whereas below the stave, the baseline has to be sufficiently
The only thing I do not like about staff-padding is that, strictly speaking,
we'd need different values for up and down direction:
Above the stave, just the descenders go between stave and text baseline,
whereas below the stave, the baseline has to be sufficiently far away from
the stave so that th
Urs Liska writes:
> Hi,
>
> I'm trying to place a number of TextScript elements on a common
> baseline (similar to how lyrics are typeset).
>
> Using outside-staff-padding on first sight seems to work but it
> doesn't really do the job.
>
> \version "2.19.82"
>
> {
> \override TextScript.outsid
Hi Urs,
> Is there a way to force text elements to a common *baseline* (as long as
> collision avoidance doesn't force them farther away from the staff?
This is a long-standing irritation of mine, with respect to Lily’s text/markup
handling…
The only hack I’ve found so far is to force a common
Hi,
I'm trying to place a number of TextScript elements on a common baseline
(similar to how lyrics are typeset).
Using outside-staff-padding on first sight seems to work but it doesn't
really do the job.
\version "2.19.82"
{
\override TextScript.outside-staff-padding = 2
g' _"g" ^"q"
15 matches
Mail list logo