[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Collision of hyphen and barline
From: |
address@hidden |
Subject: |
Re: Collision of hyphen and barline |
Date: |
Sun, 25 Dec 2011 22:39:25 +0100 |
On Dec 25, 2011, at 1:48 PM, James wrote:
> Phil (mike)
>
> On 2 December 2011 07:16, address@hidden <address@hidden> wrote:
>> Le Dec 1, 2011 à 6:21 PM, Phil Holmes a écrit :
>>
>>> "Christopher Schlosser" <address@hidden> wrote in message
>>> news:address@hidden
>>>>> I'm not top posting.
>>>>
>>>> %This is e.g. a problem for engraving a choral piece with barlines in
>>>> mensural
>>>> style. Maybe this is a special case of bug #2061, but I wasn't sure.
>>>>
>>>>
>>>> \version "2.14.2"
>>>>
>>>> \new StaffGroup <<
>>>>
>>>> \new Staff { r1 r}
>>>> %Collision of hyphen and barline
>>>> \new Lyrics \lyricmode { hel1 -- lo1 }
>>>>
>>>> \new Staff { r1 r }
>>>>>>
>>>
>>> It's not 2061 - that was only introduced in 2.15.14.
>>>
>>> That said, the normal way to set lyrics is with a ChoirStaff group, and if
>>> you do that, there's no bar line for the hyphen to hit. Have you
>>> considered this?
>>>
>>
>> The same issue comes up with crescendos, beams, etc. that cross bar lines.
>> I usually do:
>>
>> \once \override LyricHyphen #'whiteout = ##t
>>
>> Cheers,
>> MS
>
> I used
>
> \version "2.14.1"
>
> \new StaffGroup <<
> \new Staff { c''1 | c''1 }
> \new Lyrics \lyricmode {
> \once \override LyricHyphen #'whiteout = ##t
> hell1 -- o1
> }
> \new Staff { R1 | R1 }
>>>
>
> and while it does technically white-out the lyric hyphen, it isn't
> _that_ clearer :) See attached.
>
> Is there a way to increase the area around the lyric hyphen to add
> more white around the glyph without having to resort to boxes and
> layers?
Mm...no, it's pretty hard. You'd have to override the stencil to add a white
box underneath the hyphen and then make sure to adjust its position if it moves
up or down because of its new vertical extent. The white-out is applied
directly to the stencil very late in the grob-making game, so fiddling with
Y-extent doesn't cut it.
Cheers,
MS