%% 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))]
\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))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/volta-brackets-in-multiple-staves.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: 1abe87de51b9b00a391da1be4cf4b5ebe4021ca9
  texidocfr = "
L'ajout du @code{Volta_engraver} à une portée particulière permet que
les crochets de @emph{volta} s'affichent sur d'autres portées que la
première d'une partition.
"

  doctitlefr = "Crochets de @emph{volta} sur plusieurs portées"

%% Translation of GIT committish: fbf390d05408c5b842a22c122da734c54f92ca12
  texidoces = "
Añadiendo el grabador @code{Volta_engraver} al pentagrama deseado,
las casillas de primera y segunda vez se pueden poner sobre pautas
distintas a la del extremo superior de la partitura.

Las instrucciones @code{\\repeat} y otras relacionadas deben estar
presentes en todos los pentagramas.

"
  doctitlees = "Casillas de primera y segunda vez en varios pentagramas"

  categories = "Contexts and engravers, Really simple, Repeats, Staff
                notation"

  texidoc = "
By adding the @code{Volta_engraver} to the relevant staff, volte can be
put over staves other than the topmost one in a score.

@code{\\repeat} and related commands should be present in all staves.
"

  doctitle = "Volta brackets in multiple staves"
} % begin verbatim


voltaMusic = \relative c'' {
  \repeat volta 2 {
    c1
    \alternative {
      \volta 1 { d1 }
      \volta 2 { e1 }
    }
  }
}

<<
  \new StaffGroup <<
    \new Staff \voltaMusic
    \new Staff \voltaMusic
  >>
  \new StaffGroup <<
    \new Staff \with { \consists "Volta_engraver" }
      \voltaMusic
    \new Staff \voltaMusic
  >>
>>



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