%% Generated by lilypond-book.py
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}





% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "/home/gub/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.16/input/regression/tuplet-properties.ly"
\sourcefileline 0
\version "2.16.0"

\header {
  texidoc = "Tuplet bracket formatting supports numerous options,
for instance, bracketed (B) and non-bracketed (NB).
"
}

\context Voice \relative c'' {

  \times 2/3 { c'8 c,, c }
  \times 2/3 { c'8 c'' c,, }

  \times 2/3 { c8[^"NB" c c] }

  \times 2/3 { c8^"B"  c[ c] }
  \times 2/4 { r8_"B"  c,[ c'] r8 }

  \override TupletBracket #'bracket-visibility = #'if-no-beam  
  \times 2/3 { c8[ c c] }

  \tupletUp
  \override TupletNumber #'stencil = ##f
  \times 2/3 { c8^""^""^"up, no digit" c[ c] }
  \revert TupletNumber #'stencil

  \override TupletBracket #'bracket-visibility = ##t
  \override TupletBracket #'edge-height = #'(0 . 0)
  \override TupletBracket #'shorten-pair = #'(2.0 . 2.0)
  \times 4/6 { c_"shorter, no edges" f b  b f c}	
  \revert TupletBracket #'edge-height
  \revert TupletBracket #'shorten-pair

  \override TupletBracket #'bracket-flare = #'(0.5 . 0.5)
  \times 2/3 { b^""^""^"angled edges" b b }
  \tupletNeutral
  \times 2/3 { b b b }
}



% ****************************************************************
% end ly snippet
% ****************************************************************
