]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/flamenco-notation.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / flamenco-notation.ly
index 27cde1a1ac5a251fef6065c18657c96e0443fe2e..b24c847840e6f7a88b577dad8ab635367c80b6b9 100644 (file)
@@ -1,10 +1,13 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.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.13.4"
+\version "2.17.6"
 
 \header {
-  lsrtags = "fretted-strings"
+  lsrtags = "fretted-strings, specific-notation, stylesheet, version-specific"
 
   texidoc = "
 For flamenco guitar, special notation is used:
@@ -25,19 +28,20 @@ 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. 
+@samp{flamenco.ly} and included in source files.
 
 "
   doctitle = "Flamenco notation"
 } % begin verbatim
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%  Cut here ----- Start 'flamenco.ly' 
+%%%%%%%  Cut here ----- Start 'flamenco.ly'
 
 % Text indicators
-abanico   = \markup { \italic Abanico }
+abanico = \markup { \italic Abanico }
 rasgueaso = \markup { \italic Ras. }
-alzapua   = \markup { \italic Alzapua }
+alzapua = \markup { \italic Alzapua }
 
 % Finger stroke symbols
 strokeUp = \markup { \postscript #"
@@ -73,53 +77,53 @@ golpe = \markup { \postscript #"
   -0.6  1.0 lineto
   0.5  1.0 lineto
   stroke
-"}  
+"}
 
-strokeUpGolpe = \markup { \column { \golpe \line { \strokeUp }}}
-iUpGolpe = \markup { \column { \golpe \line { \small i } \line { \strokeUp }}}
+strokeUpGolpe = \markup { \column { \golpe \line { \strokeUp } } }
+iUpGolpe = \markup { \column { \golpe \line { \small i } \line { \strokeUp } } }
 
 % Strokes for all fingers
-pUp   = \markup { \column { \small p \line { \strokeUp }}}
-pDown = \markup { \column { \small p \line { \strokeDown }}}
-iUp   = \markup { \column { \small i \line { \strokeUp }}}
-iDown = \markup { \column { \small i \line { \strokeDown }}}
-mUp   = \markup { \column { \small m \line { \strokeUp }}}
-mDown = \markup { \column { \small m \line { \strokeDown }}}
-aUp   = \markup { \column { \small a \line { \strokeUp }}}
-aDown = \markup { \column { \small a \line { \strokeDown }}}
-xUp   = \markup { \column { \small x \line { \strokeUp }}}
-xDown = \markup { \column { \small x \line { \strokeDown }}}
+pUp   = \markup { \column { \small p \line { \strokeUp } } }
+pDown = \markup { \column { \small p \line { \strokeDown } } }
+iUp   = \markup { \column { \small i \line { \strokeUp } } }
+iDown = \markup { \column { \small i \line { \strokeDown } } }
+mUp   = \markup { \column { \small m \line { \strokeUp } } }
+mDown = \markup { \column { \small m \line { \strokeDown } } }
+aUp   = \markup { \column { \small a \line { \strokeUp } } }
+aDown = \markup { \column { \small a \line { \strokeDown } } }
+xUp   = \markup { \column { \small x \line { \strokeUp } } }
+xDown = \markup { \column { \small x \line { \strokeDown } } }
 
 
 % Just handy :)
 tupletOff = {
-  \once \override TupletNumber #'stencil = ##f
-  \once \override TupletBracket #'stencil = ##f
+  \once \override TupletNumber.stencil = ##f
+  \once \override TupletBracket.stencil = ##f
 }
 
 tupletsOff = {
-  \override TupletNumber #'stencil = ##f
-  \override TupletBracket #'bracket-visibility = #'if-no-beam
+  \override TupletNumber.stencil = ##f
+  \override TupletBracket.bracket-visibility = #'if-no-beam
 }
 
 tupletsOn = {
-  \override TupletBracket #'bracket-visibility = #'default
-  \revert TupletNumber #'stencil
+  \override TupletBracket.bracket-visibility = #'default
+  \revert TupletNumber.stencil
 }
 
 headsOff = {
-  \override TabNoteHead #'transparent = ##t
-  \override NoteHead #'transparent = ##t
-  \override NoteHead #'no-ledgers = ##t
+  \override TabNoteHead.transparent = ##t
+  \override NoteHead.transparent = ##t
+  \override NoteHead.no-ledgers = ##t
 }
 
 headsOn = {
-  \override TabNoteHead #'transparent = ##f
-  \override NoteHead #'transparent = ##f
-  \override NoteHead #'no-ledgers = ##f
+  \override TabNoteHead.transparent = ##f
+  \override NoteHead.transparent = ##f
+  \override NoteHead.no-ledgers = ##f
 }
 
-%%%%%%%  Cut here ----- End 'flamenco.ly' 
+%%%%%%%  Cut here ----- End 'flamenco.ly'
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 part = \relative c' {
@@ -127,15 +131,15 @@ part = \relative c' {
   <a e' a cis e>8^\iDown
   r4
   r2^\golpe
-    
+
   <a e' a cis e>8^\iUp
   <a e' a cis e>8^\iDown
   <a e' a cis e>8^\iUpGolpe
   <a e' a cis e>8^\iDown
   r2
-      
+
   <a e' a cis e>16^\aUp
-  \headsOff 
+  \headsOff
   <a e' a cis e>^\mUp
   <a e' a cis e>^\iUp
   <a e' a cis e>^\iDown~
@@ -155,7 +159,7 @@ part = \relative c' {
   }
   <a e' a cis e>2
   r4
-    
+
   \tupletsOff
   \times 2/3 {
     <a e' a cis e>8^\pDown
@@ -164,7 +168,7 @@ part = \relative c' {
     <a e' a cis e>^\iUp
     \headsOn
   }
-  
+
   \times 2/3 {
     <a e' a cis e>8^\pDown
     \headsOff
@@ -172,7 +176,7 @@ part = \relative c' {
     <a e' a cis e>^\iUp
     \headsOn
   }
-    
+
   \times 2/3 {
     <a e' a cis e>8^\pDown
     \headsOff
@@ -187,9 +191,9 @@ part = \relative c' {
     <a e' a cis e>^\iUp
     \headsOn
   }
-  
+
   \tupletsOff
-  \override Beam #'positions = #'(2 . 2)
+  \override Beam.positions = #'(2 . 2)
   \times 2/3 {
     a8^\markup{ \small p }
     <e' a>^\strokeUpGolpe
@@ -211,8 +215,8 @@ part = \relative c' {
     <e a>^\strokeDown
   }
   \tupletsOn
-    
-  \once \override TextScript #'extra-offset = #'(0 . -1)
+
+  \once \override TextScript.extra-offset = #'(0 . -1)
   <g, b f'>1_\golpe^\mUp
   \bar "|."
 }
@@ -234,5 +238,3 @@ part = \relative c' {
     ragged-right = ##t
   }
 }
-
-