]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/engravers-one-by-one.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / engravers-one-by-one.ly
index 4999c30cfd3a7e579db180d5ff28f5732c6e4154..f9ca655110d812d795525ddc9da07ef1a508b992 100644 (file)
@@ -1,43 +1,13 @@
-% DO NOT EDIT this file manually; it is automatically
-% generated from Documentation/snippets/new
-% Make any changes in Documentation/snippets/new/
-% and then run scripts/auxiliar/makelsr.py
-%
-% This file is in the public domain.
-%% Note: this file works from version 2.13.52
-\version "2.13.52"
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.di.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.19.46"
 
 \header {
 
 \header {
-%% Translation of GIT committish: d0a39a10d625c28a43acd9641aefeb2c7218ab41
-  texidoces = "
-Del problema central de la notación, esto es, crear un determinado
-símbolo, se encargan los «plugins» o complementos añadidos.  Cada
-uno de los complementos se conoce como un grabador. En este
-ejemplo, los grabadores se van activando uno por uno, en el orden
-siguiente:
-
-- cabeza de las notas,
-
-- el símbolo del pentagrama,
-
-- clave,
-
-- plicas,
-
-- barras, ligaduras de expresión, acentos,
-
-- alteraciones, líneas divisorias, indicación del compás, y armadura.
-
-Los grabadores se encuentran agrupados. Por ejemplo, las cabezas de
-nota, ligaduras de expresión, barras de corchea, etc. forman un
-contexto de voz, @code{Voice}. Los grabadores de la armadura,
-alteraciones, líneas de compás, etc. forman un contexto de pentagrama,
-@code{Staff}.
-
-"
-  doctitlees = "Los grabadores uno por uno"
-
-  lsrtags = "contexts-and-engravers"
+  lsrtags = "contexts-and-engravers, specific-notation"
 
   texidoc = "
 The notation problem, creating a certain symbol, is handled by plugins.
 
   texidoc = "
 The notation problem, creating a certain symbol, is handled by plugins.
@@ -71,7 +41,6 @@ line, etc. form a @code{Staff} context.
   doctitle = "Engravers one-by-one"
 } % begin verbatim
 
   doctitle = "Engravers one-by-one"
 } % begin verbatim
 
-
 %% sample music
 topVoice = \relative c' {
   \key d \major
 %% sample music
 topVoice = \relative c' {
   \key d \major
@@ -79,8 +48,7 @@ topVoice = \relative c' {
   b4
   b16[-. b-. b-. cis-.]
   d4->
   b4
   b16[-. b-. b-. cis-.]
   d4->
-} % begin verbatim
-
+}
 
 botVoice = \relative c' {
   \key d \major
 
 botVoice = \relative c' {
   \key d \major
@@ -121,8 +89,6 @@ MyStaff = \context {
   \description "Handles clefs, bar lines, keys, accidentals.  It can contain
 @code{Voice} contexts."
 
   \description "Handles clefs, bar lines, keys, accidentals.  It can contain
 @code{Voice} contexts."
 
-  \consists "Output_property_engraver"
-
   \consists "Font_size_engraver"
 
   \consists "Volta_engraver"
   \consists "Font_size_engraver"
 
   \consists "Volta_engraver"
@@ -140,7 +106,7 @@ MyStaff = \context {
 
   \consists "Pitch_squash_engraver"
 
 
   \consists "Pitch_squash_engraver"
 
-  localKeySignature = #'()
+  localAlterations = #'()
 
   % explicitly set instrumentName, so we don't get
   % weird effects when doing instrument names for
 
   % explicitly set instrumentName, so we don't get
   % weird effects when doing instrument names for
@@ -150,6 +116,7 @@ MyStaff = \context {
   shortInstrumentName = #'()
 
   \accepts "Voice"
   shortInstrumentName = #'()
 
   \accepts "Voice"
+  \defaultchild "Voice"
 }
 
 
 }
 
 
@@ -165,11 +132,10 @@ MyVoice = \context {
     You have to instantiate this explicitly if you want to have
     multiple voices on the same staff."
 
     You have to instantiate this explicitly if you want to have
     multiple voices on the same staff."
 
-  localKeySignature = #'()
+  localAlterations = #'()
   \consists "Font_size_engraver"
 
   % must come before all
   \consists "Font_size_engraver"
 
   % must come before all
-  \consists "Output_property_engraver"
   \consists "Arpeggio_engraver"
   \consists "Multi_measure_rest_engraver"
   \consists "Text_spanner_engraver"
   \consists "Arpeggio_engraver"
   \consists "Multi_measure_rest_engraver"
   \consists "Text_spanner_engraver"
@@ -190,6 +156,7 @@ MyVoice = \context {
   %}
   \consists "Text_engraver"
   \consists "Dynamic_engraver"
   %}
   \consists "Text_engraver"
   \consists "Dynamic_engraver"
+  \consists "Dynamic_align_engraver"
   \consists "Fingering_engraver"
 
   \consists "Script_column_engraver"
   \consists "Fingering_engraver"
 
   \consists "Script_column_engraver"
@@ -307,4 +274,3 @@ MyStaff = \context {
     \context { \MyVoice }
   }
 }
     \context { \MyVoice }
   }
 }
-