[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatically prevent parentheses from colliding
From: |
Thomas Morley |
Subject: |
Re: Automatically prevent parentheses from colliding |
Date: |
Tue, 6 Sep 2016 00:48:49 +0200 |
2016-09-05 23:47 GMT+02:00 Peter Crighton <address@hidden>:
> Hello all,
>
> how can I add an automatic space next to parentheses, so they don’t collide
> with other elements like other parentheses, noteheads, accidentals, ledger
> lines etc.? Something like padding, but to the outside …
>
> In the case of this example, c and ces should both be pushed a bit to the
> right (including their parentheses), so the parentheses don’t overlap:
>
> \version "2.19.41"
> \relative c'' {
%% You could do:
\once \override ParenthesesItem.X-extent = #'(0 . 15)
%% but I'm not convinced, experiment with it and you'll see the hassle.
> \parenthesize cis4
> \parenthesize c
> \parenthesize ces
> \parenthesize ces
> }
Cheers,
Harm