%% 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/removing-brace-on-first-line-of-piano-score.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: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
このスニペットは、@code{PianoStaff} や @code{GrandStaff} から@c
先頭にあるブレース (波括弧) を削除しています。これは譜刻された既存の音楽の@c
一部を切り取って見せる場合に有用です。

これは @code{\\alterBroken} を使用しています。
"
  doctitleja = "ピアノ曲の先頭にあるブレースを削除する"

%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
Dans cet extrait est supprimée la première accolade d'un
@code{PianoStaff} ou d'un @code{GrandStaff}, ainsi que les clefs. Ceci
peut s'avérer utile pour couper et coller l'image générée dans de la
musique préexistante.

Est utilisée la fonction @code{\\alterBroken} afin de masquer l'accolade
du début.
"

  doctitlefr = "Retrait de l'accolade à la première ligne d'une pièce pour piano"

%% Translation of GIT committish: cd3e2b0177d366d0a25b4c7628b26455e52175cd
  texidoces = "
Este fragmento elimina la primera llave de un @code{PianoStaff} o
un @code{GrandStaff}, junto con las claves.  Puede ser útil cuando
se está cortando y pegando la imagen de la partitura editada
dentro de otra música existente.

El código emplea @code{\\alterBroken} para ocultar el delimitador
en forma de llave que aparece al principio.

"

  doctitlees = "Quitar la llave en el primer sistema de una partitura de piano"

  categories = "Keyboards, Staff notation, Tweaks and overrides"

  texidoc = "
This snippet removes the first brace from a @code{PianoStaff} or a
@code{GrandStaff}, together with the clefs. It may be useful when
cutting and pasting the engraved image into existing music.

The code uses @code{\\alterBroken} to hide the brace delimiter at the
beginning.
"

  doctitle = "Removing brace on first line of piano score"
} % begin verbatim


someMusic =  {
  \once \omit Staff.Clef
  \once \omit Staff.TimeSignature
  \repeat unfold 3 c1 \break
  \repeat unfold 5 c1 \break
  \repeat unfold 5 c1
}

\score {
  \new PianoStaff
  <<
    \new Staff = "right" \relative c'' \someMusic
    \new Staff = "left" \relative c' { \clef F \someMusic }
  >>
  \layout {
    indent=75\mm
    \context {
      \PianoStaff
      \alterBroken transparent #'(#t) SystemStartBrace
    }
  }
}



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