1\version "2.19.21"
2
3\header {
4  texidoc = "In tuplets with an even number of stems, the number
5may be placed on either side of the beam when the central stems
6point in different directions.  The exception to this is when
7there is a fractional beam on one of the central stems, in which
8case the number is placed opposite the partial beam."
9}
10
11\layout {
12  indent = 0
13  ragged-right = ##t
14}
15
16\relative {
17  \time 2/4
18  \override Beam.auto-knee-gap = 1
19  \tuplet 6/4 4 {
20    c'16 c'' c,, c'' c,, c''
21    \once \override TupletNumber.direction = #UP
22    c,,16 c'' c,, c'' c,, c''
23  }
24  \time 6/16
25  \tuplet 4/3 8. {
26    c,,8. c''16
27    %% The following override has no effect:
28    \override TupletNumber.direction = #DOWN
29    c,,16 c''8.
30  }
31}
32