%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt)),quote,ragged-right]
\include "lilypond-book-preamble.ly"


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

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  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))
  line-width = 160\mm - 2.0 * 10.16\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))
  ragged-right = ##t
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/printing-tuplet-brackets-on-the-note-head-side.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Wiki
%% (https://wiki.lilypond.community).
%%
%% Make any changes in the Wiki itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.24.0"

\header {
%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
Quelle que soit l'option choisie pour contrôler la visibilité d'une
indication de n-olet, elle s'affichera ou sera masquée indépendamment de
son positionnement (côté hampe ou tête de note). Toutefois, lorsqu'elle
se place du côté des têtes de note, certains auteurs recommandent de
toujours afficher un crochet. L'option @code{visible-over-note-heads}
permet d'y parvenir.
"

  doctitlefr = "Affichage du crochet de n-olet du côté des têtes de note"

%% Translation of GIT committish: fbf390d05408c5b842a22c122da734c54f92ca12
  texidoces = "
Cualquiera que sea la opción elegida para el control de la
visibilidad del corchete de los tresillos, mostrará u ocultará el
corchete independientemenre de su ubicación (en el lado de la
plica o en el lado de la cabeza).  Sin embargo, cuando se coloca
el corchete del lado de la cabeza, algunos autores recomiendan
imprimir siempre el corchete de tresillo.  Se puede usar la opción
@code{visible-over-note-heads} para obtener esto.
"

  doctitlees = "Imrpesión de corchetes de tresillo en el lado de la cabeza de la nota"

  categories = "Rhythms, Tweaks and overrides"

  texidoc = "
Whichever option you choose for controlling the tuplet bracket
visibility, it will show or hide the tuplet bracket irrespectively of
tuplet bracket placement (stem side or note head side). However, when
placing the tuplet bracket on the note head side some authors recommend
always printing the tuplet bracket. The option
@code{visible-over-note-heads} can be used to achieve this.
"

  doctitle = "Printing tuplet brackets on the note head side"
} % begin verbatim


music = \relative c'' {
  \tupletNeutral \tuplet 3/2 { c16[ d e } f8]
  \tupletUp \tuplet 3/2 { c8 d e }
}

\new Voice {
  \relative c' {
    \override TextScript.staff-padding = #2.5

    \time 2/4
    \override TupletBracket.visible-over-note-heads = ##t
    \override Score.TextMark.non-musical = ##f
    <>^\markup "default" \music
    \override TupletBracket.bracket-visibility = #'if-no-beam
    <>^\markup \typewriter "if-no-beam" \music
  }
}



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