]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/cs/learning/fundamental.itely
Docs: remove implicit relative from translations; issue 4731
[lilypond.git] / Documentation / cs / learning / fundamental.itely
index 15084751a57c65545eb13380708a8e4e13aacf64..f5059e27300c1c40653f28042603e5088e4c1a79 100644 (file)
@@ -678,9 +678,11 @@ Jeden hlas přirozeně může v jednom akordu obsahovat více not
 -- takže kdy přesně je potřeba více hlasů? Podívejme se nejprve na
 tento příklad se čtyřmi akordy:
 
-@lilypond[quote,verbatim,ragged-right,relative=1]
-\key g \major
-<d g>4 <d fis> <d a'> <d g>
+@lilypond[quote,verbatim,ragged-right]
+\relative {
+  \key g \major
+  <d' g>4 <d fis> <d a'> <d g>
+}
 @end lilypond
 
 To lze vyjádřit tak, že se pro ukázání akordů použijí jednoduché špičaté
@@ -714,10 +716,12 @@ vícehlasá.
 Takto to vypadá, když jsou akordy rozděleny do dvou hlasů
 a k průchodnému tónu je ještě přidán legatový oblouček:
 
-@lilypond[quote,verbatim,ragged-right,relative=2]
-\key g \major
-%    Voice "1"               Voice "2"
-<< { g4 fis8( g) a4 g } \\ { d4 d d d }  >>
+@lilypond[quote,verbatim,ragged-right]
+\relative {
+  \key g \major
+  %    Voice "1"               Voice "2"
+  << { g'4 fis8( g) a4 g } \\ { d4 d d d }  >>
+}
 @end lilypond
 
 Všimněte si, že nožičky druhého hlasu nyní ukazují dolů.
@@ -738,19 +742,20 @@ zdrojový soubor udělat čitelnějším, ale když se v jednom taktu vyskytuje
 mnoho not, může být lepší napsat každý hlas odděleně,
 jako zde:
 
-@lilypond[quote,verbatim,ragged-right,relative=2]
-\key d \minor
-<< {
-  % Voice "1"
-  r4 g g4. a8 |
-  bes4 bes c bes |
-  a2. r4 |
-} \\ {
-  % Voice "2"
-  d,2 d4 g |
-  g4 g g8( a) g4 |
-  fis2. s4 |
-} >>
+@lilypond[quote,verbatim,ragged-right]
+<<
+  \key d \minor
+  \relative { % Voice "1"
+    r4 g' g4. a8 |
+    bes4 bes c bes |
+    a2. r4 |
+  } \\
+  \relative { % Voice "2"
+    d'2 d4 g |
+    g4 g g8( a) g4 |
+    fis2. s4 |
+  }
+>>
 @end lilypond
 
 Tento příklad má jen dva hlasy, ale stejné stavby lze použít,
@@ -1463,8 +1468,8 @@ hinzugefügt werden,
 die im Quellcode gar nicht explizit vorkommen.  Vergleichen Sie
 etwa den Quellcode und die Notenausgabe des folgenden Beispiels:
 
-@lilypond[quote,verbatim,relative=2]
-cis4 cis2. | a4 a2. |
+@lilypond[quote,verbatim]
+\relative { cis''4 cis2. | a4 a2. | }
 @end lilypond
 
 Der Quellcode ist sehr kurz und knapp, während in der
@@ -1958,17 +1963,19 @@ wir als Beispiel, die Schriftgröße mehrmals zu ändern, was sich unter anderem
 auf die Notenköpfe auswirkt.  Die Änderung bezieht sich immer auf den Standard,
 nicht vom letzten gesetzten Wert.
 
-@lilypond[quote,verbatim,ragged-right,relative=1]
-c4 d
-% make note heads smaller
-\set fontSize = #-4
-e4 f |
-% make note heads larger
-\set fontSize = #2.5
-g4 a
-% return to default size
-\unset fontSize
-b4 c |
+@lilypond[quote,verbatim,ragged-right]
+\relative {
+  c'4 d
+  % make note heads smaller
+  \set fontSize = #-4
+  e4 f |
+  % make note heads larger
+  \set fontSize = #2.5
+  g4 a
+  % return to default size
+  \unset fontSize
+  b4 c |
+}
 @end lilypond
 
 Wir haben jetzt gesehen, wie sich die Werte von unterschiedlichen