%% 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/adding-markups-in-a-tablature.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.25.23"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
デフォルトでは、タブ譜にマークアップは表示されません。@c
表示させるには、@code{\\revert TabStaff.TextScript.stencil} を使用します。
"
  doctitleja = "タブ譜にマークアップを追加する"

%% Translation of GIT committish: de1e42ce512f3690387cdd065109bddff1b7bd6d
  texidocfr = "
Par défaut, les @emph{markups} n'apparaissent pas dans une tablature.

Il suffit, pour les voir apparaître, de rétablir la propriété
@code{stencil} de l'objet @code{TextScript} dans le contexte
@code{TabStaff}.
"

  doctitlefr = "Ajout de @emph{markups} à une tablature"

%% Translation of GIT committish: cd3e2b0177d366d0a25b4c7628b26455e52175cd
  texidoces = "
De forma predeterminada, los elementos de marcado no aparecen en
la tablatura.

Para hacer que aparezcan, revierta la propiedad @code{stencil} del
objeto gráfico @code{TextScript} dentro del contexto
@code{TabStaff}.

"

  doctitlees = "Insertar elementos de marcado en una tablatura"

  categories = "Editorial annotations, Fretted strings, Text, Tweaks
                and overrides"

  texidoc = "
By default, markups are not displayed in a tablature.

To make them appear, revert the @code{stencil} property of the
@code{TextScript} grob in the @code{TabStaff} context.
"

  doctitle = "Adding markups in a tablature"
} % begin verbatim



high  = { r4 r8 <g c'> q r8 r4 }
low = { c4 r4 c8 r8 g,8 b, }
pulse = { s8^"1" s^"&" s^"2" s^"&" s^"3" s^"&" s^"4" s^"&" }

\score {
 \new TabStaff {
   \repeat unfold 2 << \high \\ \low \\ \pulse >>
  }
  \layout {
    \context {
      \TabStaff
      \clef moderntab
      \revert TextScript.stencil
      \override TextScript.font-series = #'bold
      \override TextScript.font-size = #-2
      \override TextScript.color = #red
    }
    \context {
      \Score
      proportionalNotationDuration = #1/8
    }
  }
}



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