%% 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/analysis-brackets-with-labels.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from `Documentation/snippets/new/`.
%%
%% Make any changes in `Documentation/snippets/new/`,
%% then run `scripts/auxiliar/makelsr.pl --new`.
%%
%% This file is in the public domain.
%%
%% Note: this file needs at least LilyPond version 2.25.12.

\version "2.25.12"

\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: 1abe87de51b9b00a391da1be4cf4b5ebe4021ca9
  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.
L'ordre vertical des crochets imbriqués se gère à l'aide de la propriété
@code{outside-staff-priority}.
"

  doctitlefr = "Crochet d'analyse avec texte"

%% Translation of GIT committish: 446f583fab07ee1bd9fdcd9b5faf5f4ee8c772a3
  texidoces = "
Se pueden añadir indicaciones de marcado de texto a los corchetes
de análisis por medio de la propiedad @code{text} del objeto
gráfico @code{HorizontalBracketText}.  Si se quieren añadir textos
diferentes al corchetes que comienzan en el mismo tiempo, es
necesario usar la instrucción @code{\\tweak}.

El texto del corchete se encierra entre paréntesis después de un
salto de línea.  El orden vertical de los corchetes anidados se
puede controlar con la propiedad @code{outside-staff-priority}.
"

  doctitlees = "Corchetes de análisis con etiquetas"

  categories = "Contexts and engravers, Editorial annotations, Tweaks
                and overrides"

  texidoc = "
Text markup may be added to analysis brackets using 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 gets parenthesized after a line break.  The vertical
order of nested brackets can be controlled with the
@code{outside-staff-priority} property.
"

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


\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 outside-staff-priority #801
      \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
% ****************************************************************
