X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fengravers-one-by-one.ly;h=5d1bcf060c84c41cd90fa6a226837a686fe30e80;hb=730d4eb3e0328e8ba0b376f8191a5bb6ae7f904c;hp=7a7b274e2a7d97d44b655c11769ffd784cb74a1f;hpb=f71ede90de06fdc16dad9ed75f38558efe819080;p=lilypond.git diff --git a/Documentation/snippets/engravers-one-by-one.ly b/Documentation/snippets/engravers-one-by-one.ly index 7a7b274e2a..5d1bcf060c 100644 --- a/Documentation/snippets/engravers-one-by-one.ly +++ b/Documentation/snippets/engravers-one-by-one.ly @@ -1,42 +1,13 @@ %% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% 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.14.2" +\version "2.19.7" \header { - lsrtags = "specific-notation, contexts-and-engravers" - -%% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98 - 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, specific-notation" texidoc = " The notation problem, creating a certain symbol, is handled by plugins. @@ -70,7 +41,6 @@ line, etc. form a @code{Staff} context. doctitle = "Engravers one-by-one" } % begin verbatim - %% sample music topVoice = \relative c' { \key d \major @@ -138,7 +108,7 @@ MyStaff = \context { \consists "Pitch_squash_engraver" - localKeySignature = #'() + localAlterations = #'() % explicitly set instrumentName, so we don't get % weird effects when doing instrument names for @@ -148,6 +118,7 @@ MyStaff = \context { shortInstrumentName = #'() \accepts "Voice" + \defaultchild "Voice" } @@ -163,7 +134,7 @@ MyVoice = \context { 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 @@ -188,6 +159,7 @@ MyVoice = \context { %} \consists "Text_engraver" \consists "Dynamic_engraver" + \consists "Dynamic_align_engraver" \consists "Fingering_engraver" \consists "Script_column_engraver" @@ -305,4 +277,3 @@ MyStaff = \context { \context { \MyVoice } } } -