X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Faccordion-discant-symbols.ly;h=505bda3c57299a86ccac556f802e48f5ffeda9f1;hb=25ca54b640c067e2286a1d7ba47f24a1b4dc070e;hp=6e7b8a93e6dfa6f552d62314799f15ee6064d058;hpb=8755ca1bdfec581e21d558a5ad55da30ec4661ed;p=lilypond.git diff --git a/Documentation/snippets/accordion-discant-symbols.ly b/Documentation/snippets/accordion-discant-symbols.ly index 6e7b8a93e6..505bda3c57 100644 --- a/Documentation/snippets/accordion-discant-symbols.ly +++ b/Documentation/snippets/accordion-discant-symbols.ly @@ -1,40 +1,28 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% This file is in the public domain. -\version "2.13.48" +% 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.16.0 +\version "2.16.0" \header { - lsrtags = "keyboards" - -%% Translation of GIT committish: fa19277d20f8ab0397c560eb0e7b814bd804ecec - texidoces = " -Los símbolos específicos de acordeón discanto se escriben mediante -@code{\\markup}. Se puede trucar la colocación vertical de los -símbolos modificando los argumentos de @code{\\raise}. - -" - doctitlees = "Símbolos de acordeón discanto" - - -%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 - doctitlede = "Symbole für Akkordeon-Diskantregister" - texidocde = " -Diskantregister für Akkordeon können mit @code{\\markup} dargestellt werden. -Die vertikale Position der einzelnen Elemente werden mit @code{\\raise} -angepasst. -" + lsrtags = "keyboards, specific-notation, symbols-and-glyphs, workaround" texidoc = " -Accordion discant-specific symbols are added using @code{\\markup}. The -vertical placement of the symbols can be tweaked by changing the -@code{\\raise} arguments. - - - +This snippet has been obsoleted by predefined markup commands, see +@ruser{Accordion Registers}. It's still useful as a simple +demonstration of how to combine symbols: the placement of the symbols +added with @code{\\markup} can be tweaked by changing the +@code{\\translate-scaled} arguments. @code{\\translate-scaled} is +used here rather than @code{\\translate} in order to let the +positioning of the symbol parts adapt to changes of @code{font-size}. " doctitle = "Accordion-discant symbols" } % begin verbatim + discant = \markup { \musicglyph #"accordion.discant" } @@ -48,7 +36,7 @@ dot = \markup { accBasson = ^\markup { \combine \discant - \raise #0.5 \dot + \translate-scaled #'(0 . 0.5) \dot } % een korig 8 en 16 voets register @@ -56,18 +44,18 @@ accBandon = ^\markup { \combine \discant \combine - \raise #0.5 \dot - \raise #1.5 \dot + \translate-scaled #'(0 . 0.5) \dot + \translate-scaled #'(0 . 1.5) \dot } accVCello = ^\markup { \combine \discant \combine - \raise #0.5 \dot + \translate-scaled #'(0 . 0.5) \dot \combine - \raise #1.5 \dot - \translate #'(1 . 0) \raise #1.5 \dot + \translate-scaled #'(0 . 1.5) \dot + \translate-scaled #'(1 . 1.5) \dot } % 4-8-16 voets register @@ -75,22 +63,22 @@ accHarmon = ^\markup { \combine \discant \combine - \raise #0.5 \dot + \translate-scaled #'(0 . 0.5) \dot \combine - \raise #1.5 \dot - \raise #2.5 \dot + \translate-scaled #'(0 . 1.5) \dot + \translate-scaled #'(0 . 2.5) \dot } accTrombon = ^\markup { \combine \discant \combine - \raise #0.5 \dot + \translate-scaled #'(0 . 0.5) \dot \combine - \raise #1.5 \dot + \translate-scaled #'(0 . 1.5) \dot \combine - \translate #'(1 . 0) \raise #1.5 \dot - \translate #'(-1 . 0) \raise #1.5 \dot + \translate-scaled #'(1 . 1.5) \dot + \translate-scaled #'(-1 . 1.5) \dot } % eenkorig 4 en 16 voets register @@ -98,82 +86,82 @@ accOrgan = ^\markup { \combine \discant \combine - \raise #0.5 \dot - \raise #2.5 \dot + \translate-scaled #'(0 . 0.5) \dot + \translate-scaled #'(0 . 2.5) \dot } accMaster = ^\markup { \combine \discant \combine - \raise #0.5 \dot + \translate-scaled #'(0 . 0.5) \dot \combine - \raise #1.5 \dot + \translate-scaled #'(0 . 1.5) \dot \combine - \translate #'(1 . 0) \raise #1.5 \dot + \translate-scaled #'(1 . 1.5) \dot \combine - \translate #'(-1 . 0) \raise #1.5 \dot - \raise #2.5 \dot + \translate-scaled #'(-1 . 1.5) \dot + \translate-scaled #'(0 . 2.5) \dot } accAccord = ^\markup { \combine \discant \combine - \raise #1.5 \dot + \translate-scaled #'(0 . 1.5) \dot \combine - \translate #'(1 . 0) \raise #1.5 \dot + \translate-scaled #'(1 . 1.5) \dot \combine - \translate #'(-1 . 0) \raise #1.5 \dot - \raise #2.5 \dot + \translate-scaled #'(-1 . 1.5) \dot + \translate-scaled #'(0 . 2.5) \dot } accMusette = ^\markup { \combine \discant \combine - \raise #1.5 \dot + \translate-scaled #'(0 . 1.5) \dot \combine - \translate #'(1 . 0) \raise #1.5 \dot - \translate #'(-1 . 0) \raise #1.5 \dot + \translate-scaled #'(1 . 1.5) \dot + \translate-scaled #'(-1 . 1.5) \dot } accCeleste = ^\markup { \combine \discant \combine - \raise #1.5 \dot - \translate #'(-1 . 0) \raise #1.5 \dot + \translate-scaled #'(0 . 1.5) \dot + \translate-scaled #'(-1 . 1.5) \dot } accOboe = ^\markup { \combine \discant \combine - \raise #1.5 \dot - \raise #2.5 \dot + \translate-scaled #'(0 . 1.5) \dot + \translate-scaled #'(0 . 2.5) \dot } accClarin = ^\markup { \combine \discant - \raise #1.5 \dot + \translate-scaled #'(0 . 1.5) \dot } accPiccolo = ^\markup { \combine \discant - \raise #2.5 \dot + \translate-scaled #'(0 . 2.5) \dot } accViolin = ^\markup { \combine \discant \combine - \raise #1.5 \dot + \translate-scaled #'(0 . 1.5) \dot \combine - \translate #'(1 . 0) \raise #1.5 \dot - \raise #2.5 \dot + \translate-scaled #'(1 . 1.5) \dot + \translate-scaled #'(0 . 2.5) \dot } \relative c'' { @@ -194,4 +182,3 @@ accViolin = ^\markup { c4 d\accPiccolo e f c4 d\accViolin e f } -