]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/it/learning/common-notation.itely
Docs: remove implicit relative from translations; issue 4731
[lilypond.git] / Documentation / it / learning / common-notation.itely
index c84f1e2e27d04e87c92016dce7f56a05c6c9cfa9..aaf3beee9adac6f097095ead79a3776a837a0bcd 100644 (file)
@@ -9,16 +9,12 @@
 @end ignore
 
 
-@c \version "2.19.2"
+@c \version "2.19.21"
 
 @ignore
 Tutorial guidelines:  (different from policy.txt!)
-- unless you have a really good reason, use either
+- unless you have a really good reason, use
     @lilypond[verbatim,quote]
-  or
-    @lilypond[verbatim,quote,relative=2]
-
-  Don't use any other relative=X commands.
 
 - use "aes" and "ees" instead of "as" and "es".  I know it's not
   correct Dutch naming, but let's not confuse people with this
@@ -81,8 +77,8 @@ col comando @code{\bar}, per esempio @code{\bar "||"} per una stanghetta
 doppia, o @code{\bar "|."} per una stanghetta finale.  La lista completa
 delle stanghette si trova in @ruser{Stanghette}.
 
-@lilypond[verbatim,quote,relative=2]
-g1 e1 \bar "||" c2. c'4 \bar "|."
+@lilypond[verbatim,quote]
+\relative { g'1 e1 \bar "||" c2. c'4 \bar "|." }
 @end lilypond
 
 @node Controlli di battuta
@@ -149,8 +145,8 @@ deriva dalle convenzioni per i nomi delle note presenti nelle lingue
 nordiche e germaniche, come il tedesco e l'olandese.  Per usare altri
 nomi per le @notation{alterazioni}, si veda @ruser{Nomi delle note in altre lingue}.
 
-@lilypond[verbatim,quote,relative=2]
-cis4 ees fisis, aeses
+@lilypond[verbatim,quote]
+\relative { cis''4 ees fisis, aeses }
 @end lilypond
 
 @cindex armatura di chiave, impostare
@@ -215,9 +211,11 @@ vuoi sentire.
 
 In questo esempio:
 
-@lilypond[verbatim,quote,relative=2]
-\key d \major
-cis4 d e fis
+@lilypond[verbatim,quote]
+\relative {
+  \key d \major
+  cis''4 d e fis
+}
 @end lilypond
 
 @noindent
@@ -229,9 +227,11 @@ nella linea centrale del pentagramma.}  Piuttosto, significa @qq{c'è una
 nota con altezza Si-bequadro.}  Nella tonalità di La bemolle maggiore,
 @emph{deve} avere un'alterazione:
 
-@lilypond[verbatim,quote,relative=2]
-\key aes \major
-aes4 c b c
+@lilypond[verbatim,quote]
+\relative {
+  \key aes \major
+  aes'4 c b c
+}
 @end lilypond
 
 Se l'esempio precedente sembra poco chiaro, considera questo: se tu stessi
@@ -285,8 +285,8 @@ Glossario musicale: @rglosnamed{tie,legatura di valore}.
 Una @notation{legatura di valore} si ottiene apponendo una tilde @code{~} alla
 prima delle due note legate.
 
-@lilypond[verbatim,quote,relative=2]
-g4~ 4 c2~ | 4~ 8 a~ 2 |
+@lilypond[verbatim,quote]
+\relative { g'4~ 4 c2~ | 4~ 8 a~ 2 | }
 @end lilypond
 
 @cindex durata senza altezza
@@ -316,8 +316,8 @@ Una @notation{legatura di portamento} è una linea curva che collega più note.
 nota iniziale e quella finale sono indicate rispettivamente con
 @code{(} e @code{)}.
 
-@lilypond[verbatim,quote,relative=2]
-d4( c16) cis( d e c cis d) e( d4)
+@lilypond[verbatim,quote]
+\relative { d''4( c16) cis( d e c cis d) e( d4) }
 @end lilypond
 
 @node Legature di frase
@@ -355,8 +355,8 @@ indicano l'@notation{articolazione} delle note, e possono essere usate
 con ampi gruppi di note.  Legature di valore e legature di portamento
 possono essere annidate le une dentro le altre.
 
-@lilypond[verbatim,quote,relative=2]
-c4~( c8 d~ 4 e)
+@lilypond[verbatim,quote]
+\relative { c''4(~ c8 d~ 4 e) }
 @end lilypond
 
 
@@ -390,9 +390,11 @@ Glossario musicale: @rglosnamed{articulation,articolazione}.
 Le @notation{articolazioni} di uso comune possono essere aggiunte a una nota
 con una lineetta @code{-} e un singolo carattere:
 
-@lilypond[verbatim,quote,relative=2]
-c4-^ c-+ c-- c-!
-c4-> c-. c2-_
+@lilypond[verbatim,quote]
+\relative {
+  c''4-^ c-+ c-- c-!
+  c4-> c-. c2-_
+}
 @end lilypond
 
 @node Diteggiature
@@ -410,8 +412,8 @@ Analogalmente, le indicazioni di @notation{diteggiatura} possono essere
 aggiunte a una nota con una lineetta (@code{-}) e il numero che si
 vuole visualizzare:
 
-@lilypond[verbatim,quote,relative=2]
-c4-3 e-5 b-2 a-1
+@lilypond[verbatim,quote]
+\relative { c''4-3 e-5 b-2 a-1 }
 @end lilypond
 
 Articolazioni e diteggiature solitamente sono posizionate verticalmente in automatico, ma
@@ -420,8 +422,8 @@ si può specificarne la direzione sostituendo la lineetta (@code{-}) con
 multiple sulla stessa nota.  Tuttavia, nella maggior parte dei casi è
 meglio lasciare che sia LilyPond a determinare le direzioni delle articolazioni.
 
-@lilypond[verbatim,quote,relative=2]
-c4_-^1 d^. f^4_2-> e^-_+
+@lilypond[verbatim,quote]
+\relative { c''4_-^1 d^. f^4_2-> e^-_+ }
 @end lilypond
 
 @node Dinamiche
@@ -451,8 +453,8 @@ Glossario musicale: @rglosnamed{dynamics,dinamiche}, @rglos{crescendo},
 I segni di @notation{dinamica} si ottengono aggiungendo alla nota
 i simboli (preceduti da un segno di barra invertita, o backslash):
 
-@lilypond[verbatim,quote,relative=2]
-c4\ff c\mf c\p c\pp
+@lilypond[verbatim,quote]
+\relative { c''4\ff c\mf c\p c\pp }
 @end lilypond
 
 
@@ -461,8 +463,8 @@ comandi @code{\<} e @code{\>}.  Il seguente segno di dinamica, ad
 esempio @code{\ff}, terminerà il (de)crescendo, oppure può essere usato
 il comando @code{\!}:
 
-@lilypond[verbatim,quote,relative=2]
-c4\< c\ff\> c c\!
+@lilypond[verbatim,quote]
+\relative { c''4\< c\ff\> c c\! }
 @end lilypond
 
 
@@ -486,8 +488,8 @@ Guida alla notazione:
 
 Puoi aggiungere del testo nei tuoi spartiti:
 
-@lilypond[verbatim,quote,relative=2]
-c2^"espr" a_"legato"
+@lilypond[verbatim,quote,fragment]
+c''2^"espr" a'_"legato"
 @end lilypond
 
 Per aggiungere delle formattazioni puoi usare il comando @code{\markup}:
@@ -528,16 +530,16 @@ Glossario musicale: @rglosnamed{beam,travatura}.
 
 Tutte le @notation{travature} vengono disegnate automaticamente:
 
-@lilypond[verbatim,quote,relative=2]
-a8 ais d ees r d c16 b a8
+@lilypond[verbatim,quote]
+\relative { a'8 ais d ees r d c16 b a8 }
 @end lilypond
 
 Se non ti piace il modo in cui vengono prodotte automaticamente le travature, è
 possibile sovrascriverle manualmente.  Per correggere soltanto una singola
 travatura, indica la prima nota da raggruppare con @code{[} e l'ultima con @code{]}.
 
-@lilypond[verbatim,quote,relative=2]
-a8[ ais] d[ ees r d] c16 b a8
+@lilypond[verbatim,quote]
+\relative { a'8[ ais] d[ ees r d] c16 b a8 }
 @end lilypond
 
 Se desideri disattivare il raggruppamento automatico, interamente o
@@ -545,11 +547,13 @@ per un'ampia sezione del brano, usa il comando @code{\autoBeamOff}
 per disattivare il raggruppamento automatico e @code{\autoBeamOn} per
 riattivarlo.
 
-@lilypond[verbatim,quote,relative=2]
-\autoBeamOff
-a8 c b4 d8. c16 b4 |
-\autoBeamOn
-a8 c b4 d8. c16 b4 |
+@lilypond[verbatim,quote]
+\relative {
+  \autoBeamOff
+  a'8 c b4 d8. c16 b4 |
+  \autoBeamOn
+  a8 c b4 d8. c16 b4 |
+}
 @end lilypond
 
 
@@ -585,9 +589,11 @@ Un' @notation{anacrusi} può essere inserita con la parola chiave
 @code{\partial}.  Questa è seguita da una durata: @code{\partial 4}
 è un'anacrusi di semiminima e @code{\partial 8} di croma.
 
-@lilypond[verbatim,quote,relative=2]
-\partial 8 f8 |
-c2 d |
+@lilypond[verbatim,quote]
+\relative {
+  \partial 8 f''8 |
+  c2 d |
+}
 @end lilypond
 
 @node Gruppi irregolari
@@ -610,11 +616,13 @@ gruppo irregolare e come denominatore il numero di note che normalmente
 occupa la stessa durata.  Per le terzine ci sono tre note invece di
 due, quindi una @notation{terzina} ha 3/2 come frazione:
 
-@lilypond[verbatim,quote,relative=2]
-\tuplet 3/2 { f8 g a }
-\tuplet 3/2 { c8 r c }
-\tuplet 3/2 { f,8 g16[ a g a] }
-\tuplet 3/2 { d4 a8 }
+@lilypond[verbatim,quote]
+\relative {
+  \tuplet 3/2 { f''8 g a }
+  \tuplet 3/2 { c8 r c }
+  \tuplet 3/2 { f,8 g16[ a g a] }
+  \tuplet 3/2 { d4 a8 }
+}
 @end lilypond
 
 @node Abbellimenti
@@ -639,10 +647,12 @@ Gli @notation{abbellimenti} sono creati col comando @code{\grace},
 ma possono essere creati anche ponendo davanti a un'espressione
 musicale le parole chiave @code{\appoggiatura} o @code{\acciaccatura}:
 
-@lilypond[verbatim,quote,relative=2]
-c2 \grace { a32 b } c2 |
-c2 \appoggiatura b16 c2 |
-c2 \acciaccatura b16 c2 |
+@lilypond[verbatim,quote]
+\relative {
+  c''2 \grace { a32 b } c2 |
+  c2 \appoggiatura b16 c2 |
+  c2 \acciaccatura b16 c2 |
+}
 @end lilypond
 
 
@@ -685,24 +695,24 @@ Nei file di input di LilyPond, la musica è rappresentata dalle
 @emph{espressioni musicali}.  Anche una singola nota è un'espressione
 musicale:
 
-@lilypond[verbatim,quote,relative=2]
-a4
+@lilypond[verbatim,quote,fragment]
+a'4
 @end lilypond
 
 Se si racchiude una nota tra parentesi si crea un'@emph{espressione
 musicale composta}.  In questo esempio abbiamo creato un'espressione
 musicale composta da due note:
 
-@lilypond[verbatim,quote,relative=2]
-{ a4 g4 }
+@lilypond[verbatim,quote]
+\relative { a'4 g4 }
 @end lilypond
 
 Se si mette un gruppo di espressioni musicali (es: note) tra parentesi,
 significa che sono in sequenza (ovvero, ciascuna espressione segue la
 precedente). Il risultato è un'altra espressione musicale:
 
-@lilypond[verbatim,quote,relative=2]
-{ { a4 g } f4 g }
+@lilypond[verbatim,quote]
+\relative { { a'4 g } f4 g }
 @end lilypond
 
 @menu
@@ -770,13 +780,11 @@ esempio, tre sequenze (tutte contenenti due note
 separate) vengono combinate in simultanea:
 
 @lilypond[verbatim,quote]
-\relative c'' {
-  <<
-    { a2 g }
-    { f2 e }
-    { d2 b }
-  >>
-}
+<<
+  \relative { a'2 g }
+  \relative { f'2 e }
+  \relative { d'2 b }
+>>
 @end lilypond
 
 Si noti che abbiamo indentato ogni livello dell'input con una diversa
@@ -800,8 +808,8 @@ complessa, ma poiché inizia con una nota singola sarà impostata
 su un singolo rigo.
 
 @lilypond[verbatim,quote]
-\relative c'' {
-  c2 <<c e>> |
+\relative {
+  c''2 <<c e>> |
   << { e2 f } { c2 <<b d>> } >>
 }
 @end lilypond
@@ -838,12 +846,10 @@ un rigo è contrassegnato da @code{\new Staff}.  Questi elementi
 e @code{>>}:
 
 @lilypond[verbatim,quote]
-\relative c'' {
-  <<
-    \new Staff { \clef "treble" c4 }
-    \new Staff { \clef "bass" c,,4 }
-  >>
-}
+<<
+  \new Staff { \clef "treble" c''4 }
+  \new Staff { \clef "bass" c4 }
+>>
 @end lilypond
 
 Il comando @code{\new} introduce un @q{contesto di notazione.}  Un
@@ -868,12 +874,10 @@ a tutti gli altri righi.  L'armatura di chiave di un rigo, invece,
 frequenti delle partiture poliritmiche.
 
 @lilypond[verbatim,quote]
-\relative c'' {
-  <<
-    \new Staff { \clef "treble" \key d \major \time 3/4 c4 }
-    \new Staff { \clef "bass" c,,4 }
-  >>
-}
+<<
+  \new Staff { \clef "treble" \key d \major \time 3/4 c''4 }
+  \new Staff { \clef "bass" c4 }
+>>
 @end lilypond
 
 
@@ -915,12 +919,10 @@ Produrre un pentagramma di questo tipo è simile all'esempio polifonico in
 Ecco un piccolo esempio:
 
 @lilypond[verbatim,quote]
-\relative c'' {
-  \new PianoStaff <<
-    \new Staff { \time 2/4 c4 e | g g, | }
-    \new Staff { \clef "bass" c,,4 c' | e c | }
-  >>
-}
+\new PianoStaff <<
+  \new Staff \relative { \time 2/4 c''4 e | g g, | }
+  \new Staff \relative { \clef "bass" c4 c' | e c | }
+>>
 @end lilypond
 
 Altri raggruppamenti di pentagrammi vengono preceduti da @code{\new GrandStaff},
@@ -957,8 +959,8 @@ di circondare le note con delle parentesi ad angolo @emph{singolo}. Si noti
 che tutte le note in un accordo devono avere la stessa durata, e che la
 durata è posta dopo la parentesi chiusa.
 
-@lilypond[verbatim,quote,relative=2]
-r4 <c e g> <c f a>2
+@lilypond[verbatim,quote]
+\relative { r4 <c'' e g> <c f a>2 }
 @end lilypond
 
 Pensa agli accordi come a qualcosa di equivalente alle note singole:
@@ -968,11 +970,13 @@ angolari.  Ad esempio, con gli accordi si possono combinare simboli come
 le travature e le legature di valore.  Questi devono essere posti fuori dalle
 parentesi angolari.
 
-@lilypond[verbatim,quote,relative=2]
-r4 <c e g>~ <c f a>2 |
-<c e g>8[ <c f a> <c e g> <c f a>]
-  <c e g>8\>[ <c f a> <c f a> <c e g>]\! |
-r4 <c e g>8.\p <c f a>16( <c e g>4-. <c f a>) |
+@lilypond[verbatim,quote]
+\relative {
+  r4 <c'' e g>~ <c f a>2 |
+  <c e g>8[ <c f a> <c e g> <c f a>]
+    <c e g>8\>[ <c f a> <c f a> <c e g>]\! |
+  r4 <c e g>8.\p <c f a>16( <c e g>4-. <c f a>) |
+}
 @end lilypond
 
 @seealso
@@ -1036,10 +1040,10 @@ Questo è l'inizio della melodia di una
 filastrocca, @notation{Girls and boys come out to play}:
 
 @lilypond[verbatim,quote]
-\relative c'' {
+\relative {
   \key g \major
   \time 6/8
-  d4 b8 c4 a8 | d4 b8 g4
+  d''4 b8 c4 a8 | d4 b8 g4
 }
 @end lilypond
 
@@ -1049,10 +1053,10 @@ separando ogni sillaba con uno spazio.
 
 @lilypond[verbatim,quote]
 <<
-  \relative c'' {
+  \relative {
     \key g \major
     \time 6/8
-    d4 b8 c4 a8 | d4 b8 g4
+    d''4 b8 c4 a8 | d4 b8 g4
   }
   \addlyrics {
     Girls and boys come | out to play,
@@ -1085,10 +1089,10 @@ shine as bright as day}.  Aggiungiamola:
 
 @lilypond[verbatim,quote]
 <<
-  \relative c'' {
+  \relative {
     \key g \major
     \time 6/8
-    d4 b8 c4 a8 | d4 b8 g4 g8 |
+    d''4 b8 c4 a8 | d4 b8 g4 g8 |
     a4 b8 c b a | d4 b8 g4. |
   }
   \addlyrics {
@@ -1120,10 +1124,10 @@ che le colleghi, per i dettagli si veda @ref{Legature di valore e di portamento}
 
 @lilypond[verbatim,quote]
 <<
-  \relative c'' {
+  \relative {
     \key g \major
     \time 6/8
-    d4 b8 c4 a8 | d4 b8 g4 g8 |
+    d''4 b8 c4 a8 | d4 b8 g4 g8 |
     a4 b8 c( b) a | d4 b8 g4. |
   }
   \addlyrics {
@@ -1141,10 +1145,10 @@ dettagli si veda @ref{Code automatiche e manuali}.
 
 @lilypond[verbatim,quote]
 <<
-  \relative c'' {
+  \relative {
     \key g \major
     \time 6/8
-    d4 b8 c4 a8 | d4 b8 g4 g8 |
+    d''4 b8 c4 a8 | d4 b8 g4 g8 |
     a4 b8 c([ b]) a | d4 b8 g4. |
   }
   \addlyrics {
@@ -1160,10 +1164,10 @@ che si voglia includere nel melisma:
 
 @lilypond[verbatim,quote]
 <<
-  \relative c'' {
+  \relative {
     \key g \major
     \time 6/8
-    d4 b8 c4 a8 | d4 b8 g4 g8 |
+    d''4 b8 c4 a8 | d4 b8 g4 g8 |
     a4 b8 c[ b] a | d4 b8 g4. |
   }
   \addlyrics {
@@ -1182,10 +1186,10 @@ sillaba.  Si scrive con due trattini bassi @code{__}.  Il seguente esempio
 
 @lilypond[verbatim,quote]
 <<
-  \relative c'' {
+  \relative {
     \key g \minor
     \time 3/2
-    g2 a bes | bes2( a) b2 |
+    g'2 a bes | bes2( a) b2 |
     c4.( bes8 a4. g8 fis4.) g8 | fis1
   }
   \addlyrics {
@@ -1206,11 +1210,11 @@ finora sull'allineamento del testo con le note.
 @c but the example is long enough to avoid looking strange.
 @lilypond[verbatim,quote,noragged-right]
 <<
-  \relative c' {
+  \relative {
     \key g \major
     \time 3/4
     \partial 4
-    d4 | g4 g a8( b) | g4 g b8( c) |
+    d'4 | g4 g a8( b) | g4 g b8( c) |
     d4 d e | c2
   }
   \addlyrics {
@@ -1232,11 +1236,11 @@ Ecco un esempio tratto dal @notation{Figaro} di Rossini, dove
 @c but the example is long enough to avoid looking strange.
 @lilypond[verbatim,quote,noragged-right]
 <<
-  \relative c' {
+  \relative {
     \clef "bass"
     \key c \major
     \time 6/8
-    c4.~ 8 d b | c8([ d]) b c d b | c8
+    c'4.~ 8 d b | c8([ d]) b c d b | c8
   }
   \addlyrics {
     Lar -- go_al fac -- | to -- tum del -- la cit -- | tà
@@ -1263,20 +1267,20 @@ più semplice, ovvero @code{\addlyrics}.  Ecco un esempio tratto dal
 
 @lilypond[verbatim,quote]
 <<
-  \relative c'' {
+  \relative {
     \key f \major
     \time 6/8
     \partial 8
-    c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+    c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
   }
   \addlyrics {
     Let | flee -- cy flocks the | hills a -- | dorn, __
   }
-  \relative c' {
+  \relative {
     \key f \major
     \time 6/8
     \partial 8
-    r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+    r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
   }
   \addlyrics {
     Let | flee -- cy flocks the | hills a -- dorn,
@@ -1345,12 +1349,12 @@ usati in seguito ponendo una barra inversa (backslash) di fronte al nome
 
 @lilypond[verbatim,quote]
 violin = \new Staff {
-  \relative c'' {
-    a4 b c b
+  \relative {
+    a'4 b c b
   }
 }
 cello = \new Staff {
-  \relative {
+  \relative {
     \clef "bass"
     e2 d
   }
@@ -1503,10 +1507,10 @@ di errori.  Usando @code{\relative}, l'esempio precedente è molto più
 semplice da leggere e scrivere:
 
 @lilypond[verbatim,quote]
-\relative c'' {
+\relative {
   \key a \major
   \time 6/8
-  cis8. d16 cis8 e4 e8
+  cis''8. d16 cis8 e4 e8
   b8. cis16 b8 d4 d8
 }
 @end lilypond
@@ -1527,7 +1531,7 @@ Talvolta la musica è organizzata in modi più complessi.  Se si usa
 @code{\relative} è indipendente:
 
 @lilypond[verbatim,quote]
-\relative c { c'4 \relative c'' { f g } c }
+\relative { c'4 \relative { f'' g } c }
 @end lilypond
 
 @funindex \absolute
@@ -1536,7 +1540,7 @@ contrassegnare esplicitamente la musica assoluta con @code{\absolute} per
 impedire che diventi parte della musica relativa:
 
 @lilypond[verbatim,quote]
-\relative { c'4 \absolute { f'' g'' } c }
+\relative { c'4 \absolute { f'' g'' } c }
 @end lilypond