%% 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/flamenco-notation.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: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
フラメンコのギターでは、特殊な記譜法が用いられます:

* ゴルペ奏法の記号: 薬指の爪でギターの表面板を叩く奏法
* ストローク (の方向) を示す矢印
* 異なる運指の文字 (@qq{p}: 親指, @qq{i}: 人差し指, @qq{m}: 中指,
@qq{a}: 薬指, @qq{x}: 小指)
* 3 指あるいは 4 指のラスゲアード: すべての指で上向きにストロークし、@c
最後は人差し指で上下にストロークします。
* アバニコ: (下向きに) 親指で、(上向きに) 小指と人差し指で (組となって)
ストロークします。小指の代わりに中指と薬指を使うアバニコ 2 もあります。
* アルサプーア: 親指で高速で演奏します。

運指記号の多くは矢印を伴います。アバニコやラスゲアードでは、最初の和音のみに@c
符頭が表示されます。

このスニペットは @samp{flamenco.ly} にヘッダとして切り出して使うことができる@c
コードを含んでおり、切り出したものがソース ファイルにあります。
"
  doctitleja = "フラメンコの記譜法"

%% Translation of GIT committish: a3fd5364fc4f247579da0ed2bfea887ab37285c6
  texidocfr = "
La guitare flamenco fait appel à des éléments de notation particuliers :

@itemize
@item
le @emph{golpe} : coup frappé sur la caisse de résonance avec l'ongle
de l'annulaire,
@item
une flèche pour indiquer le sens des butés (@emph{strokes}),
@item
les doigtés : « p » pouce, « i » index, « m » majeur, « a »
annulaire et « x » auriculaire,
@item
les @emph{rasgueados} sur trois ou quatre doigts : grattage des
cordes en étendant les doigts rapidement les uns après les autres
dans un mouvement continu, se terminant sur l'index,
@item
les @emph{abanicos} : séries de butés du pouce, index et auriculaire.
Il existe aussi un @emph{abanico 2} pour lequel l'index et
l'annulaire remplacent l'auriculaire.
@item
@emph{alza púa} : jeu rapide du pouce.
@end itemize

La plupart de ces symboles utilisent une flèche en plus des doigtés.
Dans le cas d'un @emph{abanico}, les têtes de note ne sont imprimées que
pour le premier accord.

Le début du code ci-dessous répertorie le paramétrage de ces différents
symboles, que vous pouvez copier dans un fichier @file{flamenco.ly}
pour inclusion dans vos propres compositions.
"

  doctitlefr = "Notation de flamenco"

%% Translation of GIT committish: 2eaeb5aaf92eb307dae3b36e742da7d8b680e373
  texidoces = "
Para la guitarra flamenca se utilizan ciertos elementos de notación
especiales:


@itemize

@item un símbolo para indicar un golpe sobre la caja de la guitarra
con el nudillo del dedo anular

@item una flecha para indicar la dirección de los rasgueos

@item distintas legras para las digitaciones (@qq{p}: pulgar, @qq{i}:
índice, @qq{m}: medio, @qq{a}: anular y @qq{x}: meñique)

@item Rasgueados de 3 y cautro dedos: hacia arriba con todos los dedos
y terminando con arriba y abajo con el índice

@item abanicos: rasgueos en serie con el pulgar, hacia abajo y el
meñique y el índice hacia arriba (hay también un abanico 2 en el que
los dedos medio y anular se usan en lugar del meñique)

@item alza púa: pulsaciones rápidas con el pulgar

@end itemize


Casi todas las figuras utilizan flechas combinadas con digitaciones;
con los abanicos y los rasgueados, las notas se imprimen con cabeza
sólo en el primer acorde.

Este fragmento de código contiene código de tipo cabecera que se puede
copiar como @file{flamenco.ly} e incluirse en los documentos fuente.

"
  doctitlees = "Notación del flamenco"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
Per a la guitarra flamenca s'utilitzen certs elements de notació especials:

@itemize

@item un símbol per indicar un cop sobre la caixa de la guitarra
amb l'artell del dit anular

@item una fletxa per indicar la direcció dels rasguejos

@item diferents lletres per a les digitacions (@qq{p}: polze, @qq{i}:
índex @qq{m}: mig, @qq{a}: anular y @qq{x}: petit)

@item Rasguejos de 3 i quatre dits: cap amunt amb tots els dits
i acabant amb amunt i avall amb l'índex

@item ventalls: rasguejos en sèrie amb el polze, cap avall i el
petit i l'índex cap amunt (hi ha també un ventall 2 en el qual
els dits mig i anular s'usen enlloc del petit)

@item alça pua: pulsacions ràpides amb el polze

@end itemize

Gairebé totes les figures utilitzen fletxes combinades amb
digitacions; amb els ventalls i els rasguejos, les notes
s'imprimeixen amb cap sol al primer acord.

Aquest fragment de codi conté codi de tipus capçalera que es pot
copiar com @file{flamenco.ly} i incloure's en els documents font.

"
  doctitleca = "Notació del flamenco"

  lsrtags = "fretted-strings, specific-notation, stylesheet, version-specific"

  texidoc = "
For flamenco guitar, special notation is used:

@itemize
@item
a @emph{golpe} symbol to indicate a slap on the guitar body with the
nail of the ring finger
@item
an arrow to indicate (the direction of) strokes
@item
different letters for fingering (@qq{p}: thumb, @qq{i}: index finger,
@qq{m}: middle finger, @qq{a}: ring finger and @qq{x}: little finger)
@item
3- and 4-finger @emph{rasgueados}; stroke upwards with all fingers,
ending with an up- and down using the index finger
@item
@emph{abanicos}: strokes (in tuples) with thumb (down), little and
index finger (both up). There's also an @emph{abanico 2} where middle
and ring finger are used instead of the little finger.
@item
@emph{alza pua}: fast playing with the thumb
@end itemize

Most figures use arrows in combination with fingering; with abanicos
and rasgueados, noteheads are printed only for the first chord.

This snippet contains some header-like code that can be copied as
@samp{flamenco.ly} and included in source files.
"

  doctitle = "Flamenco notation"
} % begin verbatim



%%%%%%%  Cut here ----- Start 'flamenco.ly'

% Text indicators :
abanico = ^\markup\small { \italic Abanico }
rasgueado = ^\markup\small { \italic Ras. }
alzapua = ^\markup\small { \italic Alzapua }

% Finger stroke symbols :
strokeUp = \markup\combine\override #'(thickness . 1.3) \draw-line #'(0 . 2)\raise #2 \arrow-head #Y #UP ##f
strokeDown = \markup\combine\arrow-head #Y #DOWN ##f \override #'(thickness . 1.3) \draw-line #'(0 . 2)

% Golpe symbol :
golpe = \markup {
  \filled-box #'(0 . 1) #'(0 . 1) #0
  \hspace #-1.6
  \with-color #white
  \filled-box #'(0.15 . 0.85) #'(0.15 . 0.85) #0
}

% Strokes, fingers and golpe command :
RHp = \rightHandFinger #1
RHi = \rightHandFinger #2
RHm = \rightHandFinger #3
RHa = \rightHandFinger #4
RHx = \rightHandFinger #5
RHu = \rightHandFinger \strokeUp
RHd = \rightHandFinger \strokeDown
RHg = \rightHandFinger \golpe

% Just handy :)
tupletOff = {
  \once \omit TupletNumber
  \once \omit TupletBracket
}

tupletsOff = {
  \omit TupletNumber
  \override TupletBracket.bracket-visibility = #'if-no-beam
}

tupletsOn = {
  \override TupletBracket.bracket-visibility = #'default
  \undo \omit TupletNumber
}

headsOff = {
  \hide TabNoteHead
  \hide NoteHead
  \override NoteHead.no-ledgers = ##t
}

headsOn = {
  \override TabNoteHead.transparent = ##f
  \override NoteHead.transparent = ##f
  \override NoteHead.no-ledgers = ##f
}

%%%%%%%  Cut here ----- End 'flamenco.ly'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

part = \relative c' {
  \set strokeFingerOrientations = #'(up)
  \key a\major
  <a, e' a cis e\RHu\RHi>8
  <a e' a cis e\RHd\RHi>8
  r4
  r2^\markup\golpe
  <a e' a cis e\RHu\RHi>8
  <a e' a cis e\RHd\RHi>8
  <a e' a cis e\RHu\RHi\RHg>8
  <a e' a cis e\RHd\RHi>8
  r2
  <a e' a cis e\RHu\RHa>16\rasgueado
  \headsOff
  <a e' a cis e\RHu\RHm>
  <a e' a cis e\RHu\RHi>
  <a e' a cis e\RHd\RHi>~
  \headsOn
  <a e' a cis e>2
  r4
  \tupletOff
  \tuplet 5/4 {
    <a e' a cis e\RHu\RHx>16\rasgueado
    \headsOff
    <a e' a cis e\RHu\RHa>
    <a e' a cis e\RHu\RHm>
    <a e' a cis e\RHu\RHi>
    <a e' a cis e\RHd\RHi>~
    \headsOn
  }
  <a e' a cis e>2
  r4
  \tupletsOff
  \tuplet 3/2 {
    <a e' a cis e\RHd\RHp>8\abanico
    \headsOff
    <a e' a cis e\RHu\RHx>
    <a e' a cis e\RHu\RHi>
    \headsOn
  }
  \tuplet 3/2 {
    <a e' a cis e\RHd\RHp>8
    \headsOff
    <a e' a cis e\RHu\RHx>
    <a e' a cis e\RHu\RHi>
    \headsOn
  }
  \tuplet 3/2 {
    <a e' a cis e\RHd\RHp>8
    \headsOff
    <a e' a cis e\RHu\RHx>
    <a e' a cis e\RHu\RHi>
    \headsOn
  }
  \tuplet 3/2 {
    <a e' a cis e\RHd\RHp>8
    \headsOff
    <a e' a cis e\RHu\RHx>
    <a e' a cis e\RHu\RHi>
    \headsOn
  }
  \tupletsOff
  \override Beam.positions = #'(2 . 2)
  \tuplet 3/2 {
    a8\RHp\alzapua
    <e' a\RHu\RHg>
    <e a\RHd>
  }
  \tuplet 3/2 {
    a,8\RHp
    <e' a\RHu\RHg>
    <e a\RHd>
  }
  \tuplet 3/2 {
    a,8\RHp
    <e' a\RHu\RHg>
    <e a\RHd>
  }
  \tuplet 3/2 {
    a,8\RHp
    <e' a\RHu\RHg>
    <e a\RHd>
  }
  \tupletsOn
  <a, e' a\RHu\RHm>1
  \bar "|."
}

\score {
  \new StaffGroup <<
    \context Staff = "part" <<
      \clef "G_8"
      {
        \part
      }
    >>
    \context TabStaff {
      \part
    }
  >>
  \layout {
    ragged-right = ##t
  }
}



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