]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/introduction.itely
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[lilypond.git] / Documentation / user / introduction.itely
index 22ff44c216dc03a87f85edb27e6ed2a4623ad497..53ddde1bdc0e57f361e7f9d2ad3fb2b8a17a13da 100644 (file)
@@ -1,3 +1,4 @@
+\version "2.1.22"
 @c -*-texinfo-*-
 
 
@@ -63,7 +64,7 @@ analogy, each plug-in is also called @code{engraver}.
 In the following example, we see how we start out with a note head
 engraver.
 
-@lilypond[notexidoc]
+@lilypond[]
 \include "engraver-example.lyinc"
 
 \score { \topVoice
@@ -93,7 +94,7 @@ engraver.
 
 Then a @code{Staff_symbol_engraver} adds the staff:
 
-@lilypond[notexidoc]
+@lilypond[]
 \include "engraver-example.lyinc"
 
 \score { \topVoice
@@ -122,7 +123,7 @@ Then a @code{Staff_symbol_engraver} adds the staff:
 
  The @code{Clef_engraver} defines a reference point for the staff:
 
-@lilypond[notexidoc]
+@lilypond[]
 \include "engraver-example.lyinc"
 
 \score { \topVoice
@@ -148,7 +149,7 @@ Then a @code{Staff_symbol_engraver} adds the staff:
 
 And the @code{Stem_engraver} adds stems:
 
-@lilypond[notexidoc]
+@lilypond[]
 \include "engraver-example.lyinc"
 
 \score { \topVoice
@@ -178,7 +179,7 @@ By adding engravers for beams, slurs, accents, accidentals, bar lines,
 time signature, and key signature, we get a complete piece of
 notation.
 
-@lilypond[notexidoc]
+@lilypond[]
 \include "engraver-example.lyinc"
 
 \score { \topVoice }
@@ -189,7 +190,7 @@ notation.
 This system works well for monophonic music, but what about
 polyphony? In polyphonic notation, many voices can share a staff.
 
-@lilypond[notexidoc]
+@lilypond[]
 \include "engraver-example.lyinc"
 \score { \context Staff << \topVoice \\ \botVoice >> }
 @end lilypond
@@ -203,7 +204,7 @@ case of polyphony, a single Staff context contains more than one Voice
 context.  In polyphonic notation, many voices can share a staff:
 Similarly, more Staff contexts can be put into a single Score context.
 
-@lilypond[notexidoc]
+@lilypond[]
 \include "engraver-example.lyinc"
 \score {
 << \new Staff << \topVoice \\ \botVoice >>
@@ -311,14 +312,14 @@ and with some corrections. Can you spot which fragment is which?
 @cindex optical spacing
 @lilypond[noindent]
     \score { \notes {
-      \property Staff.NoteSpacing \set #'stem-spacing-correction
+      \override Staff.NoteSpacing   #'stem-spacing-correction
         = #0.6
       c'4 e''4 e'4 b'4 |
        \stemDown b'4 e''4 a'4 e''4| \stemBoth
        \bar "||"
-      \property Staff.NoteSpacing \override #'stem-spacing-correction
+      \override Staff.NoteSpacing   #'stem-spacing-correction
       = #0.0
-      \property Staff.StaffSpacing \override #'stem-spacing-correction
+      \override Staff.StaffSpacing   #'stem-spacing-correction
       = #0.0
       c'4 e''4 e'4 b'4 |
       \stemDown b'4 e''4 a'4 e''4|
@@ -393,7 +394,7 @@ high note and the `f', as shown in this example:
 @lilypond
 \score { \notes \relative c'' {
 \stemUp
-    \once\property Voice. DynamicLineSpanner  \override #'padding = #4.0 
+    \once\override DynamicLineSpanner    #'padding = #4.0 
     a4_\f f,8
        }
 \paper { raggedright = ##t }
@@ -402,7 +403,7 @@ high note and the `f', as shown in this example:
 
 This was achieved with the following input statement:
 @example
-   \once \property Voice. DynamicLineSpanner  \override #'padding = #4.0 
+   \once \override DynamicLineSpanner    #'padding = #4.0 
 @end example
 It increases the amount of space (@code{padding}) between the note and
 the dynamic symbol to 4.0 (which is measured in staff space, so 4.0
@@ -423,13 +424,13 @@ require them to be twice the thickness of the staff lines. The same
 mechanism can be used to adjust a setting globally. By issuing the
 following command, the entire piece is now formatted with thicker stems:
 @example
-    \property Score.Stem \override #'thickness = #3.0 
+    \override Score.Stem   #'thickness = #3.0 
 @end example
 
 @lilypond
 \score { \notes \relative c'' {
-    \property Score.Stem \override #'thickness = #3.0 
-    \once\property Voice. DynamicLineSpanner  \override #'padding = #4.0 
+    \override Score.Stem   #'thickness = #3.0 
+    \once\override DynamicLineSpanner    #'padding = #4.0 
 \stemUp
     a4_\f f,8
        }
@@ -449,7 +450,7 @@ example above is calculated by the function
 @code{Side_position_interface::aligned_side}.  If we want to replace
 this function by a more advanced one, we could issue
 @example
-    \property Voice.DynamicLineSpanner \override #'Y-offset-callbacks
+    \override DynamicLineSpanner   #'Y-offset-callbacks
        = #(list gee-whiz-gadget)
 @end example