%% 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/partcombine-and--autobeamoff.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 = "
La fonction @code{\\autoBeamOff} dans le cadre d'un @code{\\partCombine}
agit de façon bien particulière ; c'est pourquoi il vaut mieux tout
d'abord recourir à

@example
\set Staff.autobeaming = ##f
@end example

@noindent
pour désactiver les ligatures automatiques pour l'ensemble de la portée
concernée.

L'instruction @code{\\partCombine} fonctionne de manière interne sur la
base de quatre voix : solo hampes montantes, solo hampes descendantes,
ensemble et solo.

Lorsque @code{\\autoBeamOff} apparaît dans le premier argument de la
combinaison, il s'applique à la voix active à ce moment précis, qu'il
s'agisse du solo hampes montantes ou du combiné hampes montantes.
Lorsqu'elle est introduite dans le second argument, la commande
@code{\\autoBeamOff} s'appliquera au solo hampes descendantes.

Vous devrez donc, afin que @code{\\autoBeamOff} soit pleinement
opérationnel dans le cadre d'un @code{\\partCombine}, l'introduire aux
@strong{quatre} niveaux.
"

  doctitlefr = "PartCombine et autoBeamOff"

%% Translation of GIT committish: 1bf2403e1cd7038a1e7ea62da560af601e3694fc
  texidoces = "
Puede ser difícil comprender la función de @code{\\autoBeamOff}
cuando se usa con @code{\\partCombine}. Puede ser preferible usar

@example
\\set Staff.autoBeaming = ##f
@end example

en su lugar, para asegurarnos de que el barrado automático se
desactiva para todo el pentagrama.  Úselo en un lugar de la
partitura en el que no esté aún activo ninguna barra generada por
el algoritmo de barrado automático.

Internamente, @code{\\partCombine} funciona con cuatro voces:
plica arriba cuando hay una sola voz, plica abajo con la otra,
combinadas, y una sola voz.  Para poder usar @code{\\autoBeamOff}
con el objeto de detener todo el barrado automático cuando se usa
con @code{\\partCombine}, es necesario hacer @emph{cuatro}
llamadas a @code{\\autoBeamOff}.
"
  doctitlees = "@code{Partcombine} y @code{\\autoBeamOff}"

  categories = "Rhythms"

  texidoc = "
The function of @code{\\autoBeamOff} when used with
@code{\\partCombine} can be difficult to understand. It may be
preferable to use

@example
\\set Staff.autoBeaming = ##f
@end example

instead to ensure that auto-beaming is turned off for the entire staff.
Use this at a spot in your score where no beam generated by the
auto-beamer is still active.

Internally, @code{\\partCombine} works with four voices -- up-stem
single, down-stem single, combined, and solo. In order to use
@code{\\autoBeamOff} to stop all auto-beaming when used with
@code{\\partCombine}, it is necessary to use @emph{four} calls to
@code{\\autoBeamOff}.
"

  doctitle = "Partcombine and \\autoBeamOff"
} % begin verbatim


{
  % \set Staff.autoBeaming = ##f % turns off all auto-beaming

  \partCombine {
    \autoBeamOff   % applies to split up-stems
    \repeat unfold 4 a'16
    % \autoBeamOff % applies to combined stems
    \repeat unfold 4 a'8
    \repeat unfold 4 a'16
    % \autoBeamOff % applies to solo
    \repeat unfold 4 a'16
    r4
  } {
    % \autoBeamOff % applies to split down-stems
    \repeat unfold 4 f'8
    \repeat unfold 8 f'16 |
    r4
    \repeat unfold 4 a'16
  }
}



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