From: Neil Puttock Date: Sun, 10 Jan 2010 20:03:37 +0000 (+0000) Subject: LSR: Local update and correction to displaying-complex-chords.ly. X-Git-Tag: release/2.13.11-1~35 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=483049afe563fe01a29b2442038ab08ade12a9bb;p=lilypond.git LSR: Local update and correction to displaying-complex-chords.ly. --- diff --git a/Documentation/snippets/displaying-complex-chords.ly b/Documentation/snippets/displaying-complex-chords.ly index 223a6e76e0..a1f8986d48 100644 --- a/Documentation/snippets/displaying-complex-chords.ly +++ b/Documentation/snippets/displaying-complex-chords.ly @@ -1,32 +1,30 @@ -%% Do not edit this file; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it -%% This file is in the public domain. +% Do not edit this file; it is automatically +% generated from Documentation/snippets/new +% This file is in the public domain. +%% Note: this file works from version 2.13.1 \version "2.13.10" \header { lsrtags = "simultaneous-notes, chords" - texidoc = " Here is a way to display a chord where the same note is played twice with different accidentals. - " doctitle = "Displaying complex chords" } % begin verbatim + fixA = { \once \override Stem #'length = #9 - \once \override Accidental #'extra-offset = #'(0.3 . 0) } fixB = { - \once \override NoteHead #'extra-offset = #'(1.7 . 0) + \once \override NoteHead #'X-offset = #1.7 \once \override Stem #'rotation = #'(45 0 0) \once \override Stem #'extra-offset = #'(-0.2 . -0.2) \once \override Stem #'flag-style = #'no-flag - \once \override Accidental #'extra-offset = #'(3.1 . 0) + \once \override Accidental #'extra-offset = #'(4 . 0) } \relative c' { << { \fixA 8 } \\ { \voiceThree \fixB dis } >> s } - diff --git a/Documentation/snippets/new/displaying-complex-chords.ly b/Documentation/snippets/new/displaying-complex-chords.ly new file mode 100644 index 0000000000..1a49541bd3 --- /dev/null +++ b/Documentation/snippets/new/displaying-complex-chords.ly @@ -0,0 +1,25 @@ +\version "2.13.1" + +\header { + lsrtags = "simultaneous-notes, chords" + texidoc = " +Here is a way to display a chord where the same note is played twice +with different accidentals. +" + doctitle = "Displaying complex chords" +} + +fixA = { + \once \override Stem #'length = #9 +} +fixB = { + \once \override NoteHead #'X-offset = #1.7 + \once \override Stem #'rotation = #'(45 0 0) + \once \override Stem #'extra-offset = #'(-0.2 . -0.2) + \once \override Stem #'flag-style = #'no-flag + \once \override Accidental #'extra-offset = #'(4 . 0) +} + +\relative c' { + << { \fixA 8 } \\ { \voiceThree \fixB dis } >> s +} diff --git a/Documentation/snippets/simple-lead-sheet.ly b/Documentation/snippets/simple-lead-sheet.ly index 912d1f94d4..21cf367d50 100644 --- a/Documentation/snippets/simple-lead-sheet.ly +++ b/Documentation/snippets/simple-lead-sheet.ly @@ -4,7 +4,7 @@ \version "2.13.10" \header { -%% Translation of GIT committish: +%% Translation of GIT committish: b7ec64504da87595509ae6e88ae546d6a0ce633d texidocfr = " Pour obtenir la partition d'un chanson, il suffit d'assembler des noms d'accords, une mélodie et des paroles :