[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: force tuplet bracket to beam side
From:       Jeffrey Trevino <jeffrey.trevino2 () gmail ! com>
Date:       2013-01-30 22:39:10
Message-ID: CANdX-FdUR-rgFwPiwDNbO8QT05-xnb3S9p+7XbPFDKub2aQPrw () mail ! gmail ! com
[Download RAW message or body]

Sorry -- here is *working* code to reproduce the situation:

\relative c'' {
\stemDown
  \times 4/5{c8[( \f a' \times 2/3{c8 \grace {a32 [ c b \p ]} a8
\afterGrace c {a32 [ c b ]}}}
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10  4 2 0
-2 -4 )
  \override Stem  #'no-stem-extend = ##t
  \times 4/5{a' c a cis
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( 4 2 0 -2 -4 )
  \override Stem  #'no-stem-extend = ##f
  a,,} c
  \stopStaff \startStaff
  \override Staff.StaffSymbol #'line-positions = #'( -10 -12 -14 -16 -18 )
  \override Stem  #'no-stem-extend = ##f
\time 3/8
   a,, c a c])
}


On Wed, Jan 30, 2013 at 2:35 PM, Jeffrey Trevino <jeffrey.trevino2@gmail.com
> wrote:

> Hi there,
> 
> I've got a rogue tuplet bracket trying to span notes on the note side
> instead of the beam side, and I'd like to specify that the tuplet bracket
> should always be on the beam side. Internals tell me that I need to set \
> ly:tuplet-bracket::calc-direction equal to -1, but I'm not sure what the syntax for \
> that would look like. 
> Here's code to reproduce the situation:
> 
> \relative c'' {
> staff.override.tuplet_bracket = ly:tuplet-bracket::calc-direction = -1
> \stemDown
> \times 4/5{c8[( \f a' \times 2/3{c8 \grace {a32 [ c b \p ]} a8
> \afterGrace c {a32 [ c b ]}}}
> \stopStaff \startStaff
> \override Staff.StaffSymbol #'line-positions = #'( 18 16 14 12 10  4 2 0
> -2 -4 )
> \override Stem  #'no-stem-extend = ##t
> \times 4/5{a' c a cis
> \stopStaff \startStaff
> \override Staff.StaffSymbol #'line-positions = #'( 4 2 0 -2 -4 )
> \override Stem  #'no-stem-extend = ##f
> a,,} c
> \stopStaff \startStaff
> \override Staff.StaffSymbol #'line-positions = #'( -10 -12 -14 -16 -18 )
> \override Stem  #'no-stem-extend = ##f
> \time 3/8
> a,, c a c])
> }
> 


[Attachment #3 (text/html)]

Sorry -- here is *working* code to reproduce the situation:<br><br>\relative \
c&#39;&#39; {<br>\stemDown<br>  \times 4/5{c8[( \f a&#39; \times 2/3{c8 \grace {a32 [ \
c b \p ]} a8 \afterGrace c {a32 [ c b ]}}} <br>  \stopStaff \startStaff<br>  \
\override Staff.StaffSymbol #&#39;line-positions = #&#39;( 18 16 14 12 10  4 2 0 -2 \
-4 )<br>  \override Stem  #&#39;no-stem-extend = ##t<br>  \times 4/5{a&#39; c a \
cis<br>  \stopStaff \startStaff<br>  \override Staff.StaffSymbol #&#39;line-positions \
= #&#39;( 4 2 0 -2 -4 )<br>  \override Stem  #&#39;no-stem-extend = ##f<br>  a,,} \
c<br>  \stopStaff \startStaff<br>  \override Staff.StaffSymbol #&#39;line-positions = \
#&#39;( -10 -12 -14 -16 -18 )<br>  \override Stem  #&#39;no-stem-extend = ##f<br> \
\time 3/8<br>   a,, c a c])<br>}<br><br><br><div class="gmail_quote">On Wed, Jan 30, \
2013 at 2:35 PM, Jeffrey Trevino <span dir="ltr">&lt;<a \
href="mailto:jeffrey.trevino2@gmail.com" \
target="_blank">jeffrey.trevino2@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hi there,<br><br>I&#39;ve got a rogue tuplet bracket trying \
to span notes on the note side instead of the beam side, and I&#39;d like to specify \
that the tuplet bracket should always be on the beam side. Internals tell me that I \
need to set <code>ly:tuplet-bracket::calc-direction </code>equal to -1, but I&#39;m \
not sure what the syntax for that would look like. <br>

<br>Here&#39;s code to reproduce the situation:<br clear="all"><br>\relative \
c&#39;&#39; {<br>staff.override.tuplet_bracket = ly:tuplet-bracket::calc-direction = \
-1<br>\stemDown<br>  \times 4/5{c8[( \f a&#39; \times 2/3{c8 \grace {a32 [ c b \p ]} \
a8 \afterGrace c {a32 [ c b ]}}} <br>

  \stopStaff \startStaff<br>  \override Staff.StaffSymbol #&#39;line-positions = \
#&#39;( 18 16 14 12 10  4 2 0 -2 -4 )<br>  \override Stem  #&#39;no-stem-extend = \
##t<br>  \times 4/5{a&#39; c a cis<br>  \stopStaff \startStaff<br>

  \override Staff.StaffSymbol #&#39;line-positions = #&#39;( 4 2 0 -2 -4 )<br>  \
\override Stem  #&#39;no-stem-extend = ##f<br>  a,,} c<br>  \stopStaff \
\startStaff<br>  \override Staff.StaffSymbol #&#39;line-positions = #&#39;( -10 -12 \
-14 -16 -18 )<br>

  \override Stem  #&#39;no-stem-extend = ##f<br>\time 3/8<br>   a,, c a c])<br>}<span \
class="HOEnZb"></span><br> </blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic