From c4c8fab2bd89b6542954184b7871fdd846de6ecb Mon Sep 17 00:00:00 2001 From: James Lowe Date: Wed, 8 Dec 2010 17:50:16 +0000 Subject: [PATCH] Doc: Remove fragment option from @lilypond LM --- Documentation/learning/fundamental.itely | 36 +++++++++++------------- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/Documentation/learning/fundamental.itely b/Documentation/learning/fundamental.itely index 8ee72ee770..b80e6372b3 100644 --- a/Documentation/learning/fundamental.itely +++ b/Documentation/learning/fundamental.itely @@ -520,8 +520,8 @@ So, for example, a phrasing slur can start before a manually inserted beam and end before the end of the beam -- not very musical, perhaps, but possible: -@lilypond[quote,verbatim,fragment,ragged-right,relative=2] - { g8\( a b[ c b\) a] g4 } +@lilypond[quote,verbatim,ragged-right,relative=2] +g8\( a b[ c b\) a] g4 @end lilypond In general, different kinds of brackets, bracket-like constructs, @@ -531,13 +531,11 @@ a slur extending into a tuplet (line 2), a beam and a slur extending into a tuplet, a tie crossing two tuplets, and a phrasing slur extending out of a tuplet (lines 3 and 4). -@lilypond[quote,verbatim,fragment,ragged-right] -{ - r16[ g \times 2/3 { r16 e'8] } - g16( a \times 2/3 { b16 d) e' } - g8[( a \times 2/3 { b8 d') e'~] } | - \times 4/5 { e'32\( a b d' e' } a'4.\) -} +@lilypond[quote,verbatim,ragged-right,relative=1] +r16[ g \times 2/3 { r16 e'8] } +g,16( a \times 2/3 { b16 d) e } +g,8[( a \times 2/3 { b8 d) e~] } | +\times 4/5 { e32\( a, b d e } a4.\) @end lilypond @@ -589,7 +587,7 @@ A single voice can contain many notes in a chord, of course, so when exactly are multiple voices needed? Look first at this example of four chords: -@lilypond[quote,verbatim,fragment,ragged-right,relative=1] +@lilypond[quote,verbatim,ragged-right,relative=1] \key g \major 4 @end lilypond @@ -624,7 +622,7 @@ of polyphony. Here's how we split the chords above into two voices and add both the passing note and a slur: -@lilypond[quote,verbatim,fragment,ragged-right,relative=2] +@lilypond[quote,verbatim,ragged-right,relative=2] \key g \major % Voice "1" Voice "2" << { g4 fis8( g) a4 g } \\ { d4 d d d } >> @@ -634,7 +632,7 @@ Notice how the stems of the second voice now point down. Here's another simple example: -@lilypond[quote,verbatim,fragment,ragged-right,relative=2] +@lilypond[quote,verbatim,ragged-right,relative=2] \key d \minor % Voice "1" Voice "2" << { r4 g g4. a8 } \\ { d,2 d4 g } >> | @@ -648,7 +646,7 @@ can help the legibility of the code, but if there are many notes in each bar it may be better to split out each voice separately, like this: -@lilypond[quote,verbatim,fragment,ragged-right,relative=2] +@lilypond[quote,verbatim,ragged-right,relative=2] \key d \minor << { % Voice "1" @@ -677,7 +675,7 @@ The Voice contexts bear the names @code{"1"}, @code{"2"}, etc. In each of these contexts, the vertical direction of slurs, stems, ties, dynamics etc., is set appropriately. -@lilypond[quote,verbatim,fragment] +@lilypond[quote,verbatim] \new Staff \relative c' { % Main voice c16 d e f @@ -869,7 +867,7 @@ shall see, this encounters some difficulties. We begin as we have learnt, using the @code{<< \\ >>} construct to enter the music of the first bar in three voices: -@lilypond[quote,verbatim,fragment,ragged-right] +@lilypond[quote,verbatim,ragged-right] \new Staff \relative c'' { \key aes \major << @@ -892,7 +890,7 @@ of music. We can correct this by skipping voice three and placing the music in voice four. This is done by simply adding another pair of @code{\\}. -@lilypond[quote,verbatim,fragment,ragged-right] +@lilypond[quote,verbatim,ragged-right] \new Staff \relative c'' { \key aes \major << % Voice one @@ -1192,7 +1190,7 @@ explicitly link the lyrics to the notes with @code{\lyricsto@{@}}, using the name assigned to the Voice. -@lilypond[quote,verbatim,fragment] +@lilypond[quote,verbatim] << \new Voice = "one" { \relative c'' { @@ -1366,7 +1364,7 @@ appear explicitly in the input file must be added to the output. For example, compare the input and output of the following example: -@lilypond[quote,verbatim,relative=2,fragment] +@lilypond[quote,verbatim,relative=2] cis4 cis2. | a4 a2. | @end lilypond @@ -1807,7 +1805,7 @@ font size, which affects the size of the note heads (among other things) several times. The change is from the default value, not the most recently set value. -@lilypond[quote,verbatim,ragged-right,relative=1,fragment] +@lilypond[quote,verbatim,ragged-right,relative=1] c4 d % make note heads smaller \set fontSize = #-4 -- 2.39.5