On 03/10/2012 09:55 PM, Patrick Karl wrote:
On Mar 10, 2012, at 1:35 PM, James<pkx1...@gmail.com>  wrote:

Message: 6
Date: Sat, 10 Mar 2012 19:34:40 +0000
From: James<pkx1...@gmail.com>
To: "Peter O'Doherty"<m...@peterodoherty.net>
Cc: lilypond-user@gnu.org
Subject: Re: tupletFullLength clashes with barline
Message-ID:
        <CA+T3wFkZtC-A0k6W1zjy3q2U=dtu8+qP+AWSf9rf=7orexq...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello,

On 10 March 2012 08:18, Peter O'Doherty<m...@peterodoherty.net>  wrote:
Hi list,

tupletFullLength = ##t

causes the right hand part of the tuplet bracket to clash with the barline.
This only happens with a barline at the end of a line.

Is there a way to avoid this?

Tiny example and the version you are using might help us.
Here's one that illustrates what he's talking about:

\version "2.14.2"
music = \relative g' {
        \repeat unfold 3 { \times 2/3 { f8 g a f g a f g a f g a} }
        \break
        \set tupletFullLength = ##t
        \repeat unfold 3 { \times 2/3 { g8 a b g a b g a b g a b} }
}
\score { \new Staff { \music } }

Note that in the 1st two measures of the 2nd system the tuple bracket extends 
slightly past the last note, but in the last measure in the 2nd system the 
tuple bracket extends all the way to the bar line.

Regards,
Pat Karl


Thanks for the example Pat. That illustrates it well. This examples shows how bad it looks in a piano stave:

\version "2.12.3"
\include "english.ly"
upper =  {
  \clef "treble"
  \time 4/8
  \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
  \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
  \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
  \break
  \times 4/6 { c'8 c'8 c'8 c'8 c'8 c'8 } |
}

lower =  {
  \clef "bass"
  \times 4/6 { c8 c8 c8 c8 c8 c8 } |
  \times 4/6 { c8 c8 c8 c8 c8 c8 } |
  \times 4/6 { c8 c8 c8 c8 c8 c8 } |
  \times 4/6 { c8 c8 c8 c8 c8 c8 } |
}

\score {
  \new PianoStaff <<
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
>>
  \layout {
 \context {
       \Score
       tupletFullLength = ##t
       \override TupletBracket #'bracket-visibility = ##t
       \override TupletNumber #'text = #tuplet-number::calc-fraction-text
       }
 }
}

Best wishes,
Peter

--
//=============================
->  Peter O'Doherty
->  http://www.peterodoherty.net
->  m...@peterodoherty.net
->  https://joindiaspora.com/people/70716
//=============================


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

Reply via email to