%% 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
% ****************************************************************

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



\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/analysis-brackets-with-labels.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Snippet Repository
%% (http://lsr.di.unimi.it).
%%
%% Make any changes in the LSR itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.23.13"

\header {
%% Translation of GIT committish: f11513f36c131dab18338d6a3a729e24a927150d
  texidocja = "
Grob @code{HorizontalBracketText} の @code{text} プロパティを設定することで、@c
分析用のブラケットにテキストを追加することができます。@c
同時に開始するブラケットに異なるテキストを追加する場合には、@code{\\tweak}
コマンドを使用してください。改行後のテキストは括弧付きで表示されます。
"
  doctitleja = "ラベル付きの分析用ブラケット"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Si può aggiungere del testo alle parentesi analitiche tramite la proprietà
@code{text} del grob @code{HorizontalBracketText}.  L'aggiunta di vari frammenti
di testo alle parentesi che iniziano nello stesso momento musicale richiede
l'uso del comando @code{\\tweak}.
Dopo un'interruzione di linea il testo viene messo tra parentesi.

"
  doctitleit = "Parentesi analitiche con etichette"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
Un @emph{markup} textuel peut venir s'ajouter aux crochets d'analyse
grâce à la propriété @code{text} de l'objet graphique
@code{HorizontalBracketText}. Plusieurs crochets présents en un même
moment requièrent d'utiliser la commande @code{\\tweak}.

Le texte ajouté sera répété, entre parenthèse, après un saut de ligne.
"

  doctitlefr = "Crochet d'analyse avec texte"

  lsrtags = "editorial-annotations, tweaks-and-overrides"

  texidoc = "
Text markup may be added to analysis brackets through the @code{text}
property of the @code{HorizontalBracketText} grob.  Adding different
texts to brackets beginning at the same time requires the
@code{\\tweak} command.

Bracket text will be parenthesized after a line break.
"

  doctitle = "Analysis brackets with labels"
} % begin verbatim


\paper { tagline = ##f }

\layout {
  \context {
    \Voice
    \consists "Horizontal_bracket_engraver"
    \override HorizontalBracket.direction = #UP
  }
}

{
  \once\override HorizontalBracketText.text = "a"
    c''\startGroup d''\stopGroup
    \once\override HorizontalBracketText.text = "a'"
    e''\startGroup d''\stopGroup |
  c''-\tweak HorizontalBracketText.text
        \markup \bold \huge "b" \startGroup
     -\tweak HorizontalBracketText.text "a" \startGroup
    d''\stopGroup
    e''-\tweak HorizontalBracketText.text "a'" \startGroup
    d''\stopGroup\stopGroup |
  c''-\tweak HorizontalBracketText.text foo \startGroup
    d'' e'' f'' | \break
  g'' a'' b'' c'''\stopGroup
}



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