Slur crossing through accidental

2014-06-12 Thread James Harkins
I am at a complete loss what to do about this slur. It collides with the 
b-flat's accidental in a way that makes it hard to see what the slur is 
supposed to be.


\version 2.18.2
\language english

\relative c {
 \clef bass
 \time 6/8
 bf8 ( d' ) r8
 bf,16 ( bf' ) d ( bf d bf )
}

I tried \override Accidental.avoid-slur = #'inside, but this did nothing. 
I tried shifting the accidental to be closer to the notehead -- \once 
\override Accidental.X-offset = #0.2 -- this does nothing. I tried using 
\shape but didn't find the magic numbers yet.


Suggestions? Thanks.

hjh


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur crossing through accidental

2014-06-12 Thread Karol Majewski
Hi, James

How about:

\override Slur.details.accidental-collision = #1000

?


 I am at a complete loss what to do about this slur. It collides with the
 b-flat's accidental in a way that makes it hard to see what the slur is
 supposed to be.
 
 \version 2.18.2
 \language english
 
 \relative c {
   \clef bass
   \time 6/8
   bf8 ( d' ) r8
   bf,16 ( bf' ) d ( bf d bf )
 }
 
 I tried \override Accidental.avoid-slur = #'inside, but this did 
 nothing.
 I tried shifting the accidental to be closer to the notehead -- \once
 \override Accidental.X-offset = #0.2 -- this does nothing. I tried using
 \shape but didn't find the magic numbers yet.
 
 Suggestions? Thanks.
 
 hjh
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur crossing through accidental

2014-06-12 Thread James Harkins

On Thursday, June 12, 2014 11:16:27 PM HKT, Karol Majewski wrote:

Hi, James

How about:

\override Slur.details.accidental-collision = #1000

?


No difference here:

\version 2.18.2
\language english

\relative c {
 \clef bass
 \time 6/8
 bf8 ( d' ) r8
 \override Accidental.avoid-slur = #'inside
 \override Slur.details.accidental-collision = #1000
 bf,16 ( bf' ) d ( bf d bf )
}

hjh

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Odp: Slur crossing through accidental

2014-06-12 Thread Karol Majewski
And of course you have to increase region size. So it should be:

\override Slur.details.region-size = #5
\override Slur.details.accidental-collision = #1000


--Karol




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur crossing through accidental

2014-06-12 Thread Malte Meyn

Another idea could be to change the position of the accidental:

\version 2.18.2
\language english

\relative c {
 \clef bass
 \time 6/8
 bf8 ( d' ) r8
 bf,16 (
   \once \override Accidental.extra-offset = #'(-1.7 . 0)
   bf' ) d ( bf d bf )
}

On 12.06.2014 17:13, James Harkins wrote:

I am at a complete loss what to do about this slur. It collides with the
b-flat's accidental in a way that makes it hard to see what the slur is
supposed to be.

\version 2.18.2
\language english

\relative c {
  \clef bass
  \time 6/8
  bf8 ( d' ) r8
  bf,16 ( bf' ) d ( bf d bf )
}

I tried \override Accidental.avoid-slur = #'inside, but this did
nothing. I tried shifting the accidental to be closer to the notehead --
\once \override Accidental.X-offset = #0.2 -- this does nothing. I
tried using \shape but didn't find the magic numbers yet.

Suggestions? Thanks.

hjh


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur crossing through accidental

2014-06-12 Thread Knute Snortum
I think I'd just adjust the tie shape:

\version 2.18.2
\language english

tieAdjust = \shape #'((0.0 . 0.0) (0.0 . 0.3) (0.0 . 0.5) (0.0 . 0.2)) Slur

\relative c {
 \clef bass
 \time 6/8
 bf8 ( d' ) r8
 \tieAdjust bf,16 ( bf' ) d ( bf d bf )
}


Knute Snortum
(via Gmail)


On Thu, Jun 12, 2014 at 8:42 AM, Malte Meyn lilyp...@maltemeyn.de wrote:

 Another idea could be to change the position of the accidental:


 \version 2.18.2
 \language english

 \relative c {
  \clef bass
  \time 6/8
  bf8 ( d' ) r8
  bf,16 (
\once \override Accidental.extra-offset = #'(-1.7 . 0)

bf' ) d ( bf d bf )
 }

 On 12.06.2014 17:13, James Harkins wrote:

 I am at a complete loss what to do about this slur. It collides with the
 b-flat's accidental in a way that makes it hard to see what the slur is
 supposed to be.

 \version 2.18.2
 \language english

 \relative c {
   \clef bass
   \time 6/8
   bf8 ( d' ) r8
   bf,16 ( bf' ) d ( bf d bf )
 }

 I tried \override Accidental.avoid-slur = #'inside, but this did
 nothing. I tried shifting the accidental to be closer to the notehead --
 \once \override Accidental.X-offset = #0.2 -- this does nothing. I
 tried using \shape but didn't find the magic numbers yet.

 Suggestions? Thanks.

 hjh


 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user


 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Slur crossing through accidental

2014-06-12 Thread Janek WarchoĊ‚
2014-06-12 21:31 GMT+02:00 Knute Snortum ksnor...@gmail.com:
 I think I'd just adjust the tie shape:

 \version 2.18.2
 \language english

 tieAdjust = \shape #'((0.0 . 0.0) (0.0 . 0.3) (0.0 . 0.5) (0.0 . 0.2)) Slur

I would suggest using the enhanced version with the polar coordinates,
because it's usually easier to find correct values:
https://github.com/openlilylib/snippets/tree/master/notation-snippets/shaping-bezier-curves

BTW, is it possible that you didn't know about \shape until now?

Janek

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Odp: Slur crossing through accidental

2014-06-12 Thread James Harkins

On Thursday, June 12, 2014 11:22:57 PM HKT, Karol Majewski wrote:

And of course you have to increase region size. So it should be:

\override Slur.details.region-size = #5
\override Slur.details.accidental-collision = #1000


Thanks, all, for the suggestions.

Increasing the slur region ended up pushing the slur rather high. So I 
ended up going back to \shape, and also pushing the accidental closer to 
the notehead (thanks to Malte's suggestion of extra-offset -- somehow I 
thought X-offset would work -- will try to remember extra-offset next 
time).


That gives me something acceptable (attached). The octave slur is perhaps a 
tiny bit flamboyant, but I found in my \shape experiments that a too-flat 
slur ends up looking like some kind of strange line modifying the flat 
symbol, rather than a slur. The slight downward curve at the right-hand end 
makes it much more obviously a slur.


\version 2.18.2
\language english

\relative c {
 \clef bass
 \time 6/8
 bf8 ( d' ) r8
 \shape #'((0 . -0.5) (0 . 1) (0 . 1) (0 . 0.4)) Slur
 bf,16 (
 \once \override Accidental #'extra-offset = #'(0.25 . 0)
 bf' ) d ( bf d bf )
}

Thanks again!
hjh___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user