%% Generated by lilypond-book
%% 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 "snippets/removing-brace-on-first-line-of-piano-score.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it is automatically
%% generated from LSR http://lsr.di.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\version "2.21.2"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
このスニペットは、@code{PianoStaff} や @code{GrandStaff} から@c
先頭にあるブレース (波括弧) を削除しています。これは譜刻された既存の音楽の@c
一部を切り取って見せる場合に有用です。

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

%% Translation of GIT committish: 207d558daf542af3b09157662deb8a68731d4f41
  texidocfr = "
Dans cet extrait est supprimée la première accolade d'un
@code{PianoStaff} ou d'un @code{GrandStaff}.

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}.

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

  lsrtags = "keyboards, staff-notation, tweaks-and-overrides"

  texidoc = "
This snippet removes the first brace from a @code{PianoStaff} or a
@code{GrandStaff}.

It may be useful when cutting and pasting the engraved image into
existing music.

It uses @code{\\alterBroken}.

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

someMusic =  {
  \once \override Staff.Clef.stencil = ##f
  \once \override Staff.TimeSignature.stencil = ##f
  \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
    \context {
      \PianoStaff
      \alterBroken transparent #'(#t) SystemStartBrace
    }
  }
}



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