From 3ab3520b37889321c403e94e4bcfb2f6609bd0b3 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Sun, 9 Nov 2008 13:22:02 +0100 Subject: [PATCH] Docs-de: fix and automatically update ly snippets --- Documentation/de/user/editorial.itely | 2 +- Documentation/de/user/expressive.itely | 14 ++-- Documentation/de/user/introduction.itely | 97 +++++++++++++++++++++--- Documentation/de/user/pitches.itely | 8 +- Documentation/de/user/rhythms.itely | 8 +- Documentation/de/user/tutorial.itely | 40 +++++----- Documentation/de/user/working.itely | 6 +- 7 files changed, 124 insertions(+), 51 deletions(-) diff --git a/Documentation/de/user/editorial.itely b/Documentation/de/user/editorial.itely index 8b2cdf5180..0a2b65caaf 100644 --- a/Documentation/de/user/editorial.itely +++ b/Documentation/de/user/editorial.itely @@ -162,7 +162,7 @@ c4-1 d-2 f-4 e-3 Für Fingerwechsel muss eine Textbeschriftung (markup) benutzt werden: -@lilypond[quote,verbatim,relative=2] +@lilypond[verbatim,quote,relative=2] c4-1 d-2 f-4 c^\markup { \finger "2 - 3" } @end lilypond diff --git a/Documentation/de/user/expressive.itely b/Documentation/de/user/expressive.itely index d2a1de519d..95a3598bd2 100644 --- a/Documentation/de/user/expressive.itely +++ b/Documentation/de/user/expressive.itely @@ -259,7 +259,7 @@ c4\< c\! d\> e\! In manchen Situationen kann auch der @code{\espressivo}-Befehl geeignet sein, ein An- und Abschwellen einer Note anzuzeigen. -@lilypond[quote,verbatim,relative=2] +@lilypond[verbatim,quote,relative=2] c2 b4 a g1\espressivo @end lilypond @@ -506,8 +506,8 @@ Ein Legatobogen (engl. slur) zeigt an, dass die Noten @emph{legato} gespielt werden sollen. Er wird mit Klammern hinter den Notenwerten notiert. -@lilypond[quote,relative=2,verbatim] -f( g a) a8 b( +@lilypond[verbatim,quote,relative=2] +f4( g a) a8 b( a4 g2 f4) 2( 2) @end lilypond @@ -695,7 +695,7 @@ Referenz der Interna: Atemzeichen werden mit dem Befehl @code{\breathe} eingegeben. -@lilypond[quote,relative=2,verbatim] +@lilypond[verbatim,quote,relative=2] c2. \breathe d4 @end lilypond @@ -853,7 +853,7 @@ Ein @notation{Arpeggio} als Zeichen, dass ein Akkord gebrochen gespielt werden s kann mit dem Befehl @code{\arpeggio} hinter der Akkord-Konstruktion erzeugt werden. -@lilypond[quote,relative=1,verbatim] +@lilypond[verbatim,quote,relative=1] 1\arpeggio @end lilypond @@ -881,7 +881,7 @@ her: Besondere Arpeggios mit Klammern können erstellt werden: -@lilypond[quote,relative=1,verbatim] +@lilypond[verbatim,quote,relative=1] 2 \arpeggioBracket 2\arpeggio @@ -996,7 +996,7 @@ mit dem Befehl @code{pitchedTrill} notiert werden. Das erste Argument ist die Hauptnote, das zweite die Note, auf der getrillert wird. Sie wird als Note ohne Hals in Klammern ausgegeben. -@lilypond[verbatim,relative=1,quote] +@lilypond[verbatim,quote,relative=1] \pitchedTrill e2\startTrillSpan fis d\stopTrillSpan @end lilypond diff --git a/Documentation/de/user/introduction.itely b/Documentation/de/user/introduction.itely index 49425f9b43..103f6fb09f 100644 --- a/Documentation/de/user/introduction.itely +++ b/Documentation/de/user/introduction.itely @@ -306,7 +306,7 @@ Beim ersten Akkord sind alle Objekte nach unten (oder links) \new Score \with { \override SpacingSpanner #'spacing-increment = #3 \override TimeSignature #'transparent = ##t -} \relative { +} \relative c' { \stemDown 4_>-\arpeggio \override Arpeggio #'direction = #RIGHT \stemUp 4^>-\arpeggio @@ -429,9 +429,9 @@ dem @code{Note_heads_engraver} (@qq{Notenkopfstecher}) der Satz begonnen wird. \include "engraver-example.ily" \score { - \topVoice - \layout { - \context { + \topVoice + \layout { + \context { \Voice \remove "Stem_engraver" \remove "Phrasing_slur_engraver" @@ -439,8 +439,8 @@ dem @code{Note_heads_engraver} (@qq{Notenkopfstecher}) der Satz begonnen wird. \remove "Script_engraver" \remove "Beam_engraver" \remove "Auto_beam_engraver" - } - \context { + } + \context { \Staff \remove "Accidental_engraver" \remove "Key_engraver" @@ -449,8 +449,8 @@ dem @code{Note_heads_engraver} (@qq{Notenkopfstecher}) der Satz begonnen wird. \remove "Time_signature_engraver" \remove "Staff_symbol_engraver" \consists "Pitch_squash_engraver" - } -} + } + } } @end lilypond @@ -629,7 +629,7 @@ kleine Teile zu größeren kombiniert werden, kann komplexere Musik dargestellt werden. So etwa hier: @lilypond[quote,verbatim,fragment,relative=1] -c4 +f4 @end lilypond @noindent @@ -708,15 +708,88 @@ ein Lead Sheet. @lilypond[quote,ragged-right] << \chords { c2 c f2 c } - \new Staff \relative c' { \time 2/4 c4 c g'4 g a4 a g2 } - \new Lyrics \lyricmode { twin4 kle twin kle lit tle star2 } + \new Staff + \relative c' { + \time 2/4 + c4 c g' g a a g2 + } + \addlyrics { twin kle twin kle lit tle star } >> @end lilypond Mehrstimmige Notation und Klaviermusik kann auch gesetzt werden. Das nächste Beispiel zeigt einige etwas exotischere Konstruktionen: -@lilypondfile[quote,ragged-right]{screech-boink.ly} +@lilypond[quote] +\header { + title = "Screech and boink" + subtitle = "Random complex notation" + composer = "Han-Wen Nienhuys" +} + +\score { + \context PianoStaff << + \new Staff = "up" { + \time 4/8 + \key c \minor + << { + \revert Stem #'direction + \change Staff = down + \set subdivideBeams = ##t + g16.[ + \change Staff = up + c'''32 + \change Staff = down + g32 + \change Staff = up + c'''32 + \change Staff = down + g16] + \change Staff = up + \stemUp + \set followVoice = ##t + c'''32([ b''16 a''16 gis''16 g''32)] + } \\ { + s4 \times 2/3 { d'16[ f' g'] } as'32[ b''32 e'' d''] + } \\ { + s4 \autoBeamOff d''8.. f''32 + } \\ { + s4 es''4 + } >> + } + + \new Staff = "down" { + \clef bass + \key c \minor + \set subdivideBeams = ##f + \override Stem #'french-beaming = ##t + \override Beam #'thickness = #0.3 + \override Stem #'thickness = #4.0 + g'16[ b16 fis16 g16] + << \makeClusters { + as16 + + + } \\ { + \override Staff.Arpeggio #'arpeggio-direction =#down + 4\arpeggio + } + >> } + >> + \midi { + \context { + \Score + tempoWholesPerMinute = #(ly:make-moment 60 8) + } + } + \layout { + \context { + \Staff + \consists Horizontal_bracket_engraver + } + } +} +@end lilypond Die obenstehenden Beispiele wurde manuell erstellt, aber das ist nicht die einzige Möglichkeit. Da der Satz fast vollständig automatisch abläuft, diff --git a/Documentation/de/user/pitches.itely b/Documentation/de/user/pitches.itely index 43383f4be5..16b23d0e52 100644 --- a/Documentation/de/user/pitches.itely +++ b/Documentation/de/user/pitches.itely @@ -60,7 +60,7 @@ werden in der Oktave unter dem zweigestrichenen C gesetzt. @c don't use c' here. -@lilypond[quote,fragment,verbatim] +@lilypond[verbatim,quote,fragment] \clef bass c d e f g a b c @@ -162,7 +162,7 @@ So funktioniert der relative Modus: Oktavversetzungen müssen für alle Intervalle angezeigt werden, die größer als eine Quarte sind. -@lilypond[quote,verbatim] +@lilypond[verbatim,quote] \relative c'' { c g c f, c' a, e'' c @@ -185,7 +185,7 @@ bestimmen. Innerhalb von Akkorden ist die nächste Note immer relativ zur vorherigen. Betrachten Sie das folgende Beispiel aufmerksam, insbesondere die @code{c}-Noten. -@lilypond[quote,verbatim] +@lilypond[verbatim,quote] \relative c' { c @@ -290,7 +290,7 @@ Syntax leitet sich von den holländischen Notenbezeichnungen ab. Um andere Bezeichnungen für Versetzungszeichen zu benutzung, siehe @ref{Note names in other languages}. -@lilypond[quote,verbatim,relative=2] +@lilypond[verbatim,quote,relative=2] ais1 aes aisis aeses @end lilypond diff --git a/Documentation/de/user/rhythms.itely b/Documentation/de/user/rhythms.itely index e7f4ef4015..29f9968474 100644 --- a/Documentation/de/user/rhythms.itely +++ b/Documentation/de/user/rhythms.itely @@ -689,7 +689,7 @@ Dauer von Noten. Die Dauer einer Ganztaktpause muss immer eine ganze Anzahl an Taktlängen sein, weshalb Punktierungen und Brüche recht häufig eingesetzt werden müssen. -@lilypond[quote,verbatim] +@lilypond[quote,fragment,verbatim] \compressFullBarRests \time 2/4 R1 | R2 | @@ -704,7 +704,7 @@ R4*5*4 | Eine Ganztaktpause wird abhängig von der Taktart entweder als Ganze oder Brevis-Pause gesetzt, zentriert im Takt. -@lilypond[quote,verbatim] +@lilypond[quote,verbatim,fragment] \time 4/4 R1 | \time 6/4 @@ -726,7 +726,7 @@ aber auch nur in einem Takt angezeigt werden, der ein Mehrtaktpausensymbol geinhaltet, wobei die Anzahl der Takte der Pausendauer über dem Pausenzeichen ausgegeben wird: -@lilypond[quote,verbatim] +@lilypond[quote,fragment,verbatim] % Default behavior \time 3/4 r2. | R2.*2 | \time 2/4 R2 | @@ -888,7 +888,7 @@ berücksichtigt. Taktangaben könne wie folgt erstellt werden. -@lilypond[quote,verbatim] +@lilypond[quote,verbatim,relative=2] \time 2/4 c'2 \time 3/4 c'2. @end lilypond diff --git a/Documentation/de/user/tutorial.itely b/Documentation/de/user/tutorial.itely index 341b4cbbab..35b86f4d48 100644 --- a/Documentation/de/user/tutorial.itely +++ b/Documentation/de/user/tutorial.itely @@ -744,7 +744,7 @@ deutsche Benutzer kein Problem. Es ist aber möglich, die Namen für die @notation{Versetzungszeichen} in anderen Sprachen zu benutzen, siehe @ruser{Note names in other languages}. -@lilypond[verbatim,quote,fragment,relative=2] +@lilypond[verbatim,quote,relative=2] cis1 ees fisis, aeses @end lilypond @@ -774,7 +774,7 @@ Befehl @code{\key}, gefolgt von einer Notenbezeichnung und @code{\major} (für Dur) oder @code{\minor} (für Moll). -@lilypond[verbatim,quote,fragment,relative=2] +@lilypond[verbatim,quote,relative=2] \key d \major a1 \key c \minor @@ -811,7 +811,7 @@ den Ton eingeben, den man @emph{hören} will. In diesem Beispiel -@lilypond[verbatim,quote,fragment,relative=2] +@lilypond[verbatim,quote,relative=2] \key d \major d cis fis @end lilypond @@ -826,7 +826,7 @@ auf die erste Linie des Systems.} Im Gegenteil, er heißt vielmehr: In der Tonart As-Dur @emph{bekommt} sie ein Versetzungszeichen: -@lilypond[verbatim,quote,fragment,relative=2] +@lilypond[verbatim,quote,relative=2] \key aes \major e @end lilypond @@ -869,7 +869,7 @@ Glossar: @rglos{tie}. Ein @notation{Bindebogen} wird geschrieben, indem man eine Tilde @code{~} an die erste der zu verbindenden Noten hängt. -@lilypond[verbatim,quote,fragment,relative=2] +@lilypond[verbatim,quote,relative=2] g4~ g c2~ c4 ~ c8 a8 ~ a2 @end lilypond @@ -883,7 +883,7 @@ Ein @notation{Legatobogen} ist ein Bogen, der sich über mehrere Noten erstreckt. Seine Beginn- und Endnote werden mit @q{(} beziehungsweise @q{)} markiert. -@lilypond[verbatim,quote,fragment,relative=2] +@lilypond[verbatim,quote,relative=2] d4( c16) cis( d e c cis d) e( d4) @end lilypond @@ -898,7 +898,7 @@ Phrasierungsbögen gleichzeitig vorkommen, aber es kann nicht mehr als jeweils einen Legato- und einen Phrasierungsbogen gleichzeitig geben. -@lilypond[verbatim,quote,fragment,relative=2] +@lilypond[verbatim,quote,relative=2] a8(\( ais b c) cis2 b'2 a4 cis,\) @end lilypond @@ -1665,7 +1665,7 @@ notiert aus: \relative c'' { \key g \major \time 6/8 - d4 b8 c4 a8 d4 b8 g4 + d4 b8 c4 a8 d4 b8 g4 g8 a4 b8 c b a d4 b8 g4. } \addlyrics { @@ -1690,14 +1690,14 @@ betroffenen Noten zu notieren, zu Einzelheiten siehe \relative c'' { \key g \major \time 6/8 - d4 b8 c4 a8 d4 b8 g4 + d4 b8 c4 a8 d4 b8 g4 g8 a4 b8 c( b) a d4 b8 g4. } \addlyrics { Girls and boys come out to play, The moon doth shine as bright as day; } ->> +>> @end lilypond Die Wörter orientieren sich jetzt richtig an den Noten, @@ -1732,7 +1732,7 @@ für jede Note, die übersprungen werden soll, ein Unterstrich \relative c'' { \key g \major \time 6/8 - d4 b8 c4 a8 d4 b8 g4 + d4 b8 c4 a8 d4 b8 g4 g8 a4 b8 c[ b] a d4 b8 g4. } \addlyrics { @@ -1755,11 +1755,11 @@ aus Purcells @notation{Dido and Æneas}: \relative c'' { \key g \minor \time 3/2 - g2 a bes bes( a) + g2 a bes bes( a) b c4.( bes8 a4. g8 fis4.) g8 fis1 } \addlyrics { - When I am laid, + When I am laid, am laid __ in earth, } >> @@ -1775,17 +1775,17 @@ zeigt, mit denen Text an den Noten ausgerichtet werden kann: @c no ragged-right here because otherwise the hyphens get lost, @c but the example is long enough to avoid looking strange. -@lilypond[verbatim,quote] +@lilypond[verbatim,quote,noragged-right] << \relative c' { \key g \major \time 3/4 \partial 4 - d4 g4 g a8( b) g4 g4 + d4 g4 g a8( b) g4 g4 b8( c) d4 d e4 c2 } \addlyrics { - A -- way in a __ man -- ger, + A -- way in a __ man -- ger, no __ crib for a bed, __ } >> @@ -1803,13 +1803,13 @@ in Figaros Arie @notation{Largo al factotum} gesungen werden mus. @c no ragged-right here because otherwise the hyphens get lost, @c but the example is long enough to avoid looking strange. -@lilypond[verbatim,quote] +@lilypond[verbatim,quote,noragged-right] << \relative c' { \clef bass \key c \major \time 6/8 - c4.~ c8 d b c([ d)] b c d b c + c4.~ c8 d b c([ d]) b c d b c } \addlyrics { Lar -- go_al fac -- to -- tum del -- la cit -- tà @@ -1838,7 +1838,7 @@ aus Händels @notation{Judas Maccabäus}: \key f \major \time 6/8 \partial 8 - c8 c([ bes)] a a([ g)] f f'4. b, c4.~ c4 + c8 c([ bes]) a a([ g]) f f'4. b, c4.~ c4 } \addlyrics { Let flee -- cy flocks the hills a -- dorn, __ @@ -1847,7 +1847,7 @@ aus Händels @notation{Judas Maccabäus}: \key f \major \time 6/8 \partial 8 - r8 r4. r4 c8 a'([ g)] f f([ e)] d e([ d)] c bes'4 + r8 r4. r4 c8 a'([ g]) f f([ e]) d e([ d]) c bes'4 } \addlyrics { Let flee -- cy flocks the hills a -- dorn, diff --git a/Documentation/de/user/working.itely b/Documentation/de/user/working.itely index 3803169ee8..e6d14b358d 100644 --- a/Documentation/de/user/working.itely +++ b/Documentation/de/user/working.itely @@ -218,9 +218,9 @@ hornNotes = \relative c'' { c4 b dis c } Das könnte auch nützlich in Minimal-Music sein: @lilypond[quote,verbatim,ragged-right] -fragA = \relative c'' { a4 a8. b16 } -fragB = \relative c'' { a8. gis16 ees4 } -violin = \new Staff { \fragA \fragA \fragB \fragA } +fragmentA = \relative c'' { a4 a8. b16 } +fragmentB = \relative c'' { a8. gis16 ees4 } +violin = \new Staff { \fragmentA \fragmentA \fragmentB \fragmentA } \score { { \violin -- 2.39.5