]> git.donarmstrong.com Git - lilypond.git/commitdiff
LSR: Update.
authorNeil Puttock <n.puttock@gmail.com>
Wed, 31 Dec 2008 20:34:31 +0000 (20:34 +0000)
committerNeil Puttock <n.puttock@gmail.com>
Wed, 31 Dec 2008 20:37:48 +0000 (20:37 +0000)
47 files changed:
input/lsr/adding-a-figured-bass-above-or-below-the-notes.ly
input/lsr/adding-beams,-slurs,-ties-etc.-when-using-tuplet-and-non-tuplet-rythms..ly
input/lsr/adding-fingerings-to-tablatures.ly
input/lsr/adding-parentheses-around-an-expressive-mark-or-chordal-note.ly
input/lsr/adding-the-current-date-to-a-score.ly
input/lsr/ambitus.ly
input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly
input/lsr/automatic-beam-subdivisions.ly
input/lsr/automatic-beams-two-per-two-in-4-4-or-2-2-time-signature.ly
input/lsr/changing--flageolet-mark-size.ly
input/lsr/changing-the-tuplet-number.ly
input/lsr/chant-or-psalms-notation.ly
input/lsr/creating-a-sequence-of-notes-on-various-pitches.ly
input/lsr/creating-slurs-across-voices.ly
input/lsr/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
input/lsr/editorial-annotations.snippet-list
input/lsr/expressive-marks.snippet-list
input/lsr/flat-flags-and-beam-nibs.ly
input/lsr/forcing-rehearsal-marks-to-start-from-a-given-letter-or-number.ly
input/lsr/grouping-beats.ly
input/lsr/guitar-strum-rhythms.ly
input/lsr/incipit.ly
input/lsr/making-an-object-invisible-with-the-transparent-property.ly
input/lsr/manually-controlling-beam-positions.ly
input/lsr/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
input/lsr/merging-multi-measure-rests-in-a-polyphonic-part.ly
input/lsr/ottava-text.ly
input/lsr/permitting-line-breaks-within-beamed-tuplets.ly
input/lsr/positioning-text-markups-inside-slurs.ly [new file with mode: 0644]
input/lsr/printing-music-with-different-time-signatures.ly
input/lsr/rhythmic-slashes.ly
input/lsr/specifying-context-with-beatgrouping.ly
input/lsr/three-sided-box.ly
input/lsr/transposing-pitches-with-minimum-accidentals-smart-transpose.ly
input/lsr/tweaking-clef-properties.ly
input/lsr/tweaks-and-overrides.snippet-list
input/new/dodecaphonic-style-accidentals-for-each-note-including-naturals.ly
input/new/guitar-strum-rhythms.ly
input/new/incipit.ly
input/new/making-an-object-invisible-with-the-transparent-property.ly
input/new/marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
input/new/ottava-text.ly [new file with mode: 0644]
input/new/specifying-context-with-beatgrouping.ly
input/new/transposing-pitches-with-minimum-accidentals-smart-transpose.ly
input/texidocs/adding-a-figured-bass-above-or-below-the-notes.texidoc
input/texidocs/adding-fingerings-to-tablatures.ly [new file with mode: 0644]
input/texidocs/adding-the-current-date-to-a-score.texidoc

index 22a086f55175aca4bdf269d10d4801afc0f81b68..631d4fb6fc06dc533b74aa58c60d63610b0c4779 100644 (file)
@@ -15,12 +15,12 @@ dentro de un contexto @code{Staff}). Se puede elegir entre
 centrado) y @code{#DOWN} (o @code{#-1}, abajo).
 
 Como podemos ver, esta propiedad se puede cambiar tantas veces
-como queramos. Utilice @code{\\once \\override} si no quiere que el
+como queramos.  Utilice @code{\\once \\override} si no quiere que el
 truco se aplique a toda la partitura.
 
 "
   doctitlees = "Añadir un bajo cifrado encima o debajo de las notas"
-
+  
   doctitlefr = "Ajout d'une basse chiffrée au-dessus ou au-dessous des notes"
   
 
index c5077dc34c7e898f16deae0d0fdf7293e5c1fce5..6bdbc5fe1be4d2fabd5093747f05a568cea81329 100644 (file)
@@ -39,7 +39,7 @@ sections (enclosed within curly braces).
 {
   r16[ g16 \times 2/3 { r16 e'8] }
   g16( a \times 2/3 { b d e') }
-  g8[( a \times 2/3 { b d') e']~ }
+  g8[( a \times 2/3 { b d') e'] ~ }
   \time 2/4
   \times 4/5 { e'32\( a b d' e' } a'4.\)
 }
index bea920b614b8fa554bb4efbeec7526a3bd70bb53..c145d66cb6e056ba1b122c30dfe2ba7f96757479 100644 (file)
@@ -5,14 +5,6 @@
 \header {
   lsrtags = "fretted-strings"
 
-  texidocfr = "Ajout de doigtés à des tablatures"
-
-  texidocfr = "
-L'ajout de doigtés à des tablatures s'obtient en conjuguant des
-@code{\\markup} et des @code{\\finger}.
-
-"
-
   texidoc = "
 To add fingerings to tablatures, use a combination of @code{\\markup}
 and @code{\\finger}. 
index 4f0a37147fc8db7ed0620e3bc434222d4413ac27..baf329d475e9ac328440ad1e455f79e6771a45b1 100644 (file)
@@ -26,6 +26,6 @@ objects in parentheses.  The associated grob is
   c2-\parenthesize ->
   \override ParenthesesItem #'padding = #0.1
   \override ParenthesesItem #'font-size = #-4
-  <d \parenthesize fis a>2 
+  <d \parenthesize f a>2 
 }
 
index a6923e97b14cbd29abd66e1e9dad1db9e6a9f3c5..fed821a5b36bb5ed4872aa6885f4fc3426a58cf6 100644 (file)
@@ -8,15 +8,15 @@
   texidoces = "
 Con algo de código de Scheme, se puede añadir fácilmente la fecha
 actual a una partitura.
-
 "
   doctitlees = "Añadir la fecha actual a una partitura"
-
-  doctitlefr = "Ajout de la date du jour à une partition"
-
+  
   texidocfr = "
-Avec un peu de code Scheme, voici comment ajouter facilement 
-la date du jour à votre partition."
+Avec un peu de code Scheme, voici comment ajouter facilement
+la date du jour à votre partition.
+"
+  
+  doctitlefr = "Ajout de la date du jour à une partition"
 
   texidoc = "
 With a little Scheme code, the current date can easily be added to a
index 34ac16d14bbe0cb93ecede48d1798feb3ea33579..ce6457e4f1be1429875a692a48f278fd767c6211 100644 (file)
@@ -17,22 +17,24 @@ Accidentals only show up if they are not part of the key signature.
 } % begin verbatim
 
 \layout {
-  ragged-right = ##t
   \context {
     \Voice
     \consists "Ambitus_engraver"
   }
 }
 
-\relative
 <<
   \new Staff {
-    \time  2/4 c4 f' 
+    \relative c' {
+      \time 2/4
+      c4 f'
+    }
   }
-  \new Staff \relative {
-    \time  2/4
-    \key d \major
-    cis as'
+  \new Staff {
+    \relative c' {
+      \time  2/4
+      \key d \major
+      cis4 as'
+    }
   }
 >>
-
index 14feb5ed898dca7b73452f60702f4ad7502d92e4..2935c977a30251ec65831ac753373ddec592931b 100644 (file)
@@ -70,8 +70,6 @@ correspondence between harmonic functions and note head styles.
   doctitle = "Applying note head styles depending on the step of the scale"
 } % begin verbatim
 
-\layout { ragged-right = ##t }
-
 fragment = {
   \key c \major
   c2 d
@@ -97,4 +95,5 @@ fragment = {
       \fragment
     }
   }
+  \layout { ragged-right = ##t }
 }
index 23aed5baab2632a6ce961766e71f3231bfd6eec4..22fc8f0bf1416d8ee4dadc1b1ab2df07fb36be27 100644 (file)
@@ -22,22 +22,25 @@ specified in @code{beatLength}).
   doctitle = "Automatic beam subdivisions"
 } % begin verbatim
 
-\score {
-  \new Staff \relative c'' {
-    << {
-      \voiceOne
-      \set subdivideBeams = ##t
-      b32[ a g f c' b a g b^"subdivide beams" a g f c' b a g]
-      \oneVoice
-    }
-    \new Voice {
-      \voiceTwo
-      b32_"default"[ a g f c' b a g b a g f c' b a g]
-    } >>
+\new Staff {
+  \relative c'' {
+    <<
+      {
+        \voiceOne
+        \set subdivideBeams = ##t
+        b32[ a g f c' b a g
+        b32^"subdivide beams" a g f c' b a g]
+      }
+      \new Voice {
+        \voiceTwo
+        b32_"default"[ a g f c' b a g
+        b32 a g f c' b a g]
+      }
+    >>
+    \oneVoice
     \set beatLength = #(ly:make-moment 1 8)
     b32^"beatLength 1 8"[ a g f c' b a g]
     \set beatLength = #(ly:make-moment 1 16)
     b32^"beatLength 1 16"[ a g f c' b a g]
   }
 }
-
index b78275f82b0e7b9e5e34b6d6d94dedf454ca57c2..6d4cbc3a6edd59cbace26db3a5827372acffe54e 100644 (file)
@@ -41,17 +41,21 @@ qBeam = {
 
 \score {
   <<
-    \new Staff \relative c'' {
-      \time 4/4
-      g8^\markup { without the macro } g g g g g g g
-      g8 g g g4 g8 g g
+    \new Staff {
+      \relative c'' {
+        \time 4/4
+        g8-"without the macro" g g g g g g g
+        g8 g g g4 g8 g g
+      }
     }
     %Use the macro
-    \new Staff \relative c'' {
-      \time 4/4
-      \qBeam
-      g8^\markup { with the macro } g g g g g g g
-      g8 g g g4 g8 g g
+    \new Staff {
+      \relative c'' {
+        \time 4/4
+        \qBeam
+        g8-"with the macro" g g g g g g g
+        g8 g g g4 g8 g g
+      }
     }
   >>
   \layout {
index 2009bb2528e7be93efc9de296e6934e1e04456b7..06cc98f352c3bb14cf30ad5d6752c1cc4627c6b7 100644 (file)
@@ -20,12 +20,13 @@ function.
   doctitle = "Changing \\flageolet mark size"
 } % begin verbatim
 
-smallFlageolet = #(let ((m (make-music 'ArticulationEvent
-                          'articulation-type "flageolet")))
-       (set! (ly:music-property m 'tweaks)
-             (acons 'font-size -3
-                    (ly:music-property m 'tweaks)))
-       m)
+smallFlageolet =
+#(let ((m (make-music 'ArticulationEvent
+                      'articulation-type "flageolet")))
+   (ly:music-set-property! m 'tweaks
+     (acons 'font-size -3
+       (ly:music-property m 'tweaks)))
+  m)
 
 \layout { ragged-right = ##f }
 
index c540db358e89d8d51cb95a7d5fbe1867f9ba1895..3e74c2921e345a29304b8a68483a9bbd9a2b6624 100644 (file)
@@ -37,7 +37,8 @@ be printed, or the tuplet number may be suppressed altogether.
 } % begin verbatim
 
 \relative c'' {
-  \times 2/3 { c8 c c } \times 2/3 { c8 c c }
+  \times 2/3 { c8 c c }
+  \times 2/3 { c8 c c }
   \override TupletNumber #'text = #tuplet-number::calc-fraction-text
   \times 2/3 { c8 c c }
   \override TupletNumber #'stencil = ##f
index 988f1c1f50e44b1e6b8200776d1e9c8abd30b56e..52773268fd7dafd6dd063f21ecb9b15f497ad826 100644 (file)
@@ -20,7 +20,7 @@ aren't always the same length.
   doctitle = "Chant or psalms notation"
 } % begin verbatim
 
-stemOn = { \override Staff.Stem #'transparent = ##f }
+stemOn = { \revert Staff.Stem #'transparent }
 stemOff = { \override Staff.Stem #'transparent = ##t }
 
 \score {
index 9098fe7927fdd8edcf976d36967e05365f259b96..acaae74b0a697a417cbe344d38e65bc6fcabe4e9 100644 (file)
@@ -50,29 +50,28 @@ throughout Mars, from Gustav Holst's The Planets.
    'element elt))
 
 
-rhythm = #(define-music-function (parser location note) (ly:music?)
-          "Make the rhythm in Mars (the Planets) at the given note's pitch"
-          (let* ((p (ly:music-property
-                      (car (ly:music-property note 'elements))
-                      'pitch)))
-          (seq-music-list (list
-            (make-triplet (seq-music-list (list
-              (make-note p (ly:make-duration 3 0 2 3))
-              (make-note p (ly:make-duration 3 0 2 3))
-              (make-note p (ly:make-duration 3 0 2 3))
-            )))
-            (make-note p (ly:make-duration 2 0))
-            (make-note p (ly:make-duration 2 0))
-            (make-note p (ly:make-duration 3 0))
-            (make-note p (ly:make-duration 3 0))
-            (make-note p (ly:make-duration 2 0))
-          ))))
+rhythm =
+#(define-music-function (parser location note) (ly:music?)
+  "Make the rhythm in Mars (the Planets) at the given note's pitch"
+  (let ((p (ly:music-property
+              (car (ly:music-property note 'elements))
+              'pitch)))
+  (seq-music-list (list
+    (make-triplet (seq-music-list (list
+      (make-note p (ly:make-duration 3 0 2 3))
+      (make-note p (ly:make-duration 3 0 2 3))
+      (make-note p (ly:make-duration 3 0 2 3))
+    )))
+    (make-note p (ly:make-duration 2 0))
+    (make-note p (ly:make-duration 2 0))
+    (make-note p (ly:make-duration 3 0))
+    (make-note p (ly:make-duration 3 0))
+    (make-note p (ly:make-duration 2 0))
+  ))))
 
-\score {
-  \new Staff {
-    \time 5/4
-    \rhythm c'
-    \rhythm c''
-    \rhythm g
-  }
+\new Staff {
+  \time 5/4
+  \rhythm c'
+  \rhythm c''
+  \rhythm g
 }
index 02b4cab45bbbbadbea26b2f0d17c520b868573ba..13d67688b58f172e95f0f33fbd1e952819217a69 100644 (file)
@@ -33,21 +33,23 @@ solo violin, BWV 1004.
 } % begin verbatim
 
 \relative c' {
-  << {
-    d16( a') s a s a[ s a] s a[ s a]
-  }
-  \\
-  {
-    \slurUp
-    bes,16[ s e](
-    \hideNotes a)
-    \unHideNotes f[(
-    \hideNotes a)
-    \unHideNotes fis](
-    \hideNotes a)
-    \unHideNotes g[(
-    \hideNotes a)
-    \unHideNotes gis](
-    \hideNotes a)
-  } >>
+  <<
+    {
+      d16( a') s a s a[ s a] s a[ s a]
+    }
+    \\
+    {
+      \slurUp
+      bes,16[ s e](
+      \hideNotes a)
+      \unHideNotes f[(
+      \hideNotes a)
+      \unHideNotes fis](
+      \hideNotes a)
+      \unHideNotes g[(
+      \hideNotes a)
+      \unHideNotes gis](
+      \hideNotes a)
+    }
+  >>
 }
index 79ce6efa276348a481e89aa9a0d333ce801bffcf..f326d4f41bc31f35e124d46a111e07362a3b8975 100644 (file)
@@ -54,8 +54,8 @@ This snippet shows how to achieve such notation rules.
   }
   \layout {
     \context {
-    \Staff
-    \remove "Key_engraver"
+      \Staff
+      \remove "Key_engraver"
     }
   }
 }
index 652c2b3f99b107363b4aaf36267532aa84f0f6a1..c60e130f8f8cefd2556584badc634b309ac2a02f 100644 (file)
@@ -17,4 +17,5 @@ grid-lines--emphasizing-rhythms-and-notes-synchronization.ly
 making-some-staff-lines-thicker-than-the-others.ly
 marking-notes-of-spoken-parts-with-a-cross-on-the-stem.ly
 measure-counter.ly
+positioning-text-markups-inside-slurs.ly
 using-postscript-to-generate-special-note-head-shapes.ly
index e95535469b5e39d5ca13d094a7fdd82603958ae1..33515ad24d31196f5aae48692306cff9034971af 100644 (file)
@@ -28,6 +28,7 @@ laissez-vibrer-ties.ly
 line-arrows.ly
 modifying-default-values-for-articulation-shorthand-notation.ly
 piano-template-with-centered-dynamics.ly
+positioning-text-markups-inside-slurs.ly
 printing-hairpins-using-al-niente-notation.ly
 printing-metronome-and-rehearsal-marks-below-the-staff.ly
 setting-hairpin-behavior-at-bar-lines.ly
index f0c30ffbeeeb1b6a9d91c4ae64f8569d262264e3..e5de622711918ebe1d54b782ca9cf69b36d59a99 100644 (file)
@@ -59,12 +59,12 @@ no tiene nada que ver con el @code{\\set} de dos notas por detrás.)
   texidoc = "
  Flat flags on lone notes and beam nibs at the ends of beamed figures
 are both possible with a combination of @code{stemLeftBeamCount}, 
-@code{stemRightBeamCount} and paired @code{[ ]} beam indicators.
+@code{stemRightBeamCount} and paired @code{[]} beam indicators.
 
 
 
 
-For right-pointing flat flags on lone notes, use paired @code{[ ]} beam
+For right-pointing flat flags on lone notes, use paired @code{[]} beam
 indicators and set @code{stemLeftBeamCount} to zero (see Example 1).
 
 
@@ -86,16 +86,16 @@ nibs at the start of a run of beamed notes, set
 
 Sometimes it may make sense for a lone note surrounded by rests to
 carry both a left- and right-pointing flat flag. Do this with paired
-@code{[ ]} beam indicators alone (Example 4).  
+@code{[]} beam indicators alone (Example 4).  
 
 
 
 
-(Note that @code{\\set stemLeftBeamCount}is always equivalent to 
-@code{\\once \\set}.  In other words, the beam count settings aren'
-\"sticky\", so the pair of flat flags attached to the lone  @code{c'16
-[ ]} in the last example have nothing to do with the  @code{\\set} two
-notes prior.)
+(Note that @code{\\set stemLeftBeamCount} is always equivalent to 
+@code{\\once \\set}.  In other words, the beam count settings are no
+\"sticky\", so the pair of flat flags attached to the lone 
+@code{c'16[]} in the last example have nothing to do with the 
+@code{\\set} two notes prior.)
 
 
 
@@ -105,47 +105,39 @@ notes prior.)
 } % begin verbatim
 
 \score {
-<<
-% Example 1
-\new RhythmicStaff {
-  \set stemLeftBeamCount = #0
-  c'16 [ ]
-  r8.
-}
-
-% Example 2
-\new RhythmicStaff {
-  r8.
-  \set stemRightBeamCount = #0
-  c'16 [ ]
-}
-
-% Example 3
-\new RhythmicStaff {
-  c'16
-  c'16
-  \set stemRightBeamCount = #2
-  c'16
-  r16
-  r16
-  \set stemLeftBeamCount = #2
-  c'16
-  c'16
-  c'16
-}
-
-% Example 4
-\new RhythmicStaff {
-   c'16
-   c'16
-   \set stemRightBeamCount = #2
-   c'16
-   r16
-   c'16 [ ]
-   r16
-   \set stemLeftBeamCount = #2
-   c'16
-   c'16
-}
->>
+  <<
+    % Example 1
+    \new RhythmicStaff {
+      \set stemLeftBeamCount = #0
+      c16[]
+      r8.
+    }
+    
+    % Example 2
+    \new RhythmicStaff {
+      r8.
+      \set stemRightBeamCount = #0
+      c16[]
+    }
+    
+    % Example 3
+    \new RhythmicStaff {
+      c16 c
+      \set stemRightBeamCount = #2
+      c16 r r
+      \set stemLeftBeamCount = #2
+      c16 c c
+    }
+    
+    % Example 4
+    \new RhythmicStaff {
+      c16 c
+      \set stemRightBeamCount = #2
+      c16 r
+      c16[]
+      r16
+      \set stemLeftBeamCount = #2
+      c16 c
+    }
+  >>
 }
index 4bbf70d0066c1a501fc714ac07400c7f0751f0e5..e2f2259ffc7e3a7d1f94b1a02c15a046e66c539b 100644 (file)
@@ -7,7 +7,7 @@
 
   texidoc = "
 This snippet demonstrates how to obtain automatic ordered rehearsal
-marks, but from the letter or number you want.
+marks, but from the letter or number desired.
 
 "
   doctitle = "Forcing rehearsal marks to start from a given letter or number"
index ee1af2a7b70cd24654e60fda4f43ce550d5d40cc..bf31bee503619638621fa5757072bb9542912d19 100644 (file)
@@ -29,9 +29,10 @@ Beaming patterns may be altered with the @code{beatGrouping} property:
 
 \relative c'' {
   \time 5/16
+  #(override-auto-beam-setting '(end * * 5 16) 5 16)
   \set beatGrouping = #'(2 3)
-  c8[^"(2+3)" c16 c8]
+  c8^"(2+3)" c16 c8
   \set beatGrouping = #'(3 2)
-  c8[^"(3+2)" c16 c8]
+  c8^"(3+2)" c16 c8
 }
 
index b77b8746e361a9fb114b84e44c69425c54ef719a..8a76a480972a92f32958afe1b2da3fba552dc208 100644 (file)
@@ -34,35 +34,30 @@ with melody notes, chord names, and fret diagrams.
       c1 f g c
     }
   }
-
   \new FretBoards {
     \chordmode {
       c1 f g c
     }
   }
-
-
   \new Voice \with {
-    \consists Pitch_squash_engraver
-  } \relative c'' {
-    \improvisationOn
-    c4 c8 c c4 c8 c
-    f4 f8 f f4 f8 f
-    g4 g8 g g4 g8 g
-    c4 c8 c c4 c8 c
+    \consists "Pitch_squash_engraver"
+  } {
+    \relative c'' {
+      \improvisationOn
+      c4 c8 c c4 c8 c
+      f4 f8 f f4 f8 f
+      g4 g8 g g4 g8 g
+      c4 c8 c c4 c8 c
+    }
   }
-
-
   \new Voice = "melody" {
     \relative c'' {
-      \improvisationOff
       c2 e4 e4
       f2. r4
       g2. a4
       e4 c2.
     }
   }
-
   \new Lyrics {
     \lyricsto "melody" {
       This is my song.
index 21bb835877081096e128fc5bf2a1fb3058acb5ca..e8295eec4319820a180fad35e300edda5711add2 100644 (file)
@@ -23,7 +23,7 @@ incipit =
     \once \override Staff.InstrumentName #'self-alignment-Y = #UP
     \once \override Staff.InstrumentName #'Y-offset = #4
     \once \override Staff.InstrumentName #'padding = #0.3
-    \once \override Staff.InstrumentName #'stencil = 
+    \once \override Staff.InstrumentName #'stencil =
     #(lambda (grob)
        (let* ((instrument-name (ly:grob-property grob 'long-text))
               (layout (ly:output-def-clone (ly:grob-layout grob)))
@@ -47,7 +47,7 @@ incipit =
          (ly:output-def-set-variable! layout 'ragged-last #f)
          (ly:output-def-set-variable! layout 'system-count 1)
          (ly:score-add-output-def! score layout)
-         (set! (ly:grob-property grob 'long-text)
+         (ly:grob-set-property! grob 'long-text
                (markup #:score score))
          (ly:system-start-text::print grob)))
   #})
@@ -58,9 +58,7 @@ global = {
   \set Score.skipBars = ##t
   \key g \major
   \time 4/4
-  
-  %make the staff lines invisible on staves
-  \override Staff.BarLine #'transparent = ##t
+
   % the actual music
   \skip 1*8
 
@@ -246,25 +244,19 @@ bassusLyrics = \lyricmode {
         \incipit \bassusIncipit
         \bassusNotes
       >>
+      \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
     >>
-    \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
-    %% Keep the bass lyrics outside of the staff group to avoid bar lines
-    %% between the lyrics.
   >>
   \layout {
     \context {
       \Score
-      %% no bar lines in staves
+      %% no bar lines in staves or lyrics
       \override BarLine #'transparent = ##t
     }
-    %% the next three instructions keep the lyrics between the bar lines
+    %% the next two instructions keep the lyrics between the bar lines
     \context {
       \Lyrics
-      \consists "Bar_engraver" 
-      \override BarLine #'transparent = ##t
-    } 
-    \context {
-      \StaffGroup
+      \consists "Bar_engraver"
       \consists "Separating_line_group_engraver"
     }
     \context {
index f334b8bbc7440b7d2a2be7fac668a2e048d1c1b7..75c90e6579ac5621c024310d0c6474ce279c73be 100644 (file)
@@ -21,16 +21,18 @@ flag from interfering with tie positioning, the stem is extended.
 
 \relative c'' {
   \time 2/4
-  << {
-    \once \override Stem #'transparent = ##t
-    \once \override Stem #'length = #8
-    b8 ~ b\noBeam
-    \once \override Stem #'transparent = ##t
-    \once \override Stem #'length = #8
-    g8 ~ g\noBeam
-  }
-  \\
-  {
-    b8 g g e
-  } >>
+  <<
+    {
+      \once \override Stem #'transparent = ##t
+      \once \override Stem #'length = #8
+      b8 ~ b\noBeam
+      \once \override Stem #'transparent = ##t
+      \once \override Stem #'length = #8
+      g8 ~ g\noBeam
+    }
+    \\
+    {
+      b8 g g e
+    }
+  >>
 }
index 30609a3b333dc3e19b886c8e72a58b1a1c89ff6f..910266ba6b23dea530581c1e3aadd87ebc049696 100644 (file)
@@ -18,10 +18,10 @@ Beam positions may be controlled manually, by overriding the
 
 \relative c' {
   \time 2/4
-  % from upper staffline (position 4) to center (position 0)
+  % from upper staff-line (position 2) to center (position 0)
   \override Beam #'positions = #'(2 . 0)
   c8 c
-  % from center to one above center (position 2)
+  % from center to one above center (position 1)
   \override Beam #'positions = #'(0 . 1)
   c8 c
 }
index c5914fd2592ec6a2768d549ea115dd8a3d4b4135..9c73e9cde6dfde7cc0d3b92181d6597c1fa7b3cb 100644 (file)
@@ -8,9 +8,7 @@
   texidoc = "
 This example shows how to put crosses on stems. Mark the beginning
 of a spoken section with the @code{\\speakOn} keyword, and end it
-with the @code{\\speakOff} keyword.  Remember to end cross sections
-before entering any rest: this function also adds crosses to the
-invisible stems of rests.
+with the @code{\\speakOff} keyword.
 "
   doctitle = "Marking notes of spoken parts with a cross on the stem"
 } % begin verbatim
@@ -18,14 +16,18 @@ invisible stems of rests.
 
 speakOn = {
   \override Stem #'stencil = #(lambda (grob)
-  (ly:stencil-combine-at-edge
-    (ly:stem::print grob)
-    Y
-    (- (ly:grob-property grob 'direction))
-    (grob-interpret-markup grob
-      (markup #:hspace -1.025 #:fontsize -4
-        #:musicglyph "noteheads.s2cross"))
-    -2.3 0))
+    (let* ((x-parent (ly:grob-parent grob X))
+           (is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
+      (if is-rest?
+        empty-stencil
+        (ly:stencil-combine-at-edge
+          (ly:stem::print grob)
+          Y
+          (- (ly:grob-property grob 'direction))
+          (grob-interpret-markup grob
+            (markup #:hspace -1.025 #:fontsize -4
+              #:musicglyph "noteheads.s2cross"))
+          -2.3 0))))
 }
 
 speakOff = {
index 081ff01c58ba6deb4c8912ab496689f3fe56809a..449164be3b8ac44351f2616975061ae34b54ebde 100644 (file)
@@ -14,24 +14,24 @@ can be printed on the same staff line, using the following setting.
   doctitle = "Merging multi-measure rests in a polyphonic part"
 } % begin verbatim
 
-normalPos= \revert MultiMeasureRest #'staff-position
+normalPos = \revert MultiMeasureRest #'staff-position
 
 {
   <<
     {
-       c''1
-       R1
-       c''1
-       \normalPos
-       R1
-     }
-     \\
-     {
-       c'1
-       R1
-       c'1
-       \normalPos
-       R1
-     }
+      c''1
+      R1
+      c''1
+      \normalPos
+      R1
+    }
+    \\
+    {
+      c'1
+      R1
+      c'1
+      \normalPos
+      R1
+    }
   >>
 }
index 56175e1892df283e94525c5c0ec0ae86d81a6e2a..cfbcec87c029123d1d1c313148721e8610e03a87 100644 (file)
@@ -1,10 +1,8 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
 \version "2.12.0"
 
 \header {
-  lsrtags = "pitches, text"
-
   texidoces = "
 Internamente, la función @code{set-octavation} establece las
 propiedades @code{ottavation} (por ejemplo, a @code{\"8va\"} o a
@@ -26,18 +24,17 @@ und @code{middleCPosition}.  Um den Text der Oktavierungsklammer zu
 
 doctitlede = "Ottava-Text"
 
+  lsrtags = "pitches, text"
   texidoc = "
-Internally, the @code{set-octavation} function sets the properties
-@code{ottavation} (for example, to @code{\"8va\"} or @code{\"8vb\"})
-and @code{middleCPosition}.  To override the text of the bracket, set
-@code{ottavation} after invoking @code{set-octavation}.
-
-
-
+Internally, @code{\\ottava} sets the properties @code{ottavation}
+(for example, to @code{\"8va\"} or @code{\"8vb\"}) and
+@code{middleCPosition}.  To override the text of the bracket, set
+@code{ottavation} after invoking @code{\\ottava}.
 "
   doctitle = "Ottava text"
 } % begin verbatim
 
+
 {
   \ottava #1
   \set Staff.ottavation = #"8"
index 314976cf2d37a9a8008addbb360b64ff6ca00ac8..cb9b9727d6ad7d82e0a20c7902ef469f449fd4ef 100644 (file)
@@ -44,9 +44,9 @@ tuplets have to be beamed manually.
 }
 \relative c'' {
   a8
-  \repeat unfold 8 { \times 2/3 { c[ b a] } }
+  \repeat unfold 5 { \times 2/3 { c[ b a] } }
   % Insert a manual line break within a tuplet
   \times 2/3 { c[ b \bar "" \break a] }
-  \repeat unfold 2 { \times 2/3 { c[ b a] } }
+  \repeat unfold 5 { \times 2/3 { c[ b a] } }
   c8
 }
diff --git a/input/lsr/positioning-text-markups-inside-slurs.ly b/input/lsr/positioning-text-markups-inside-slurs.ly
new file mode 100644 (file)
index 0000000..b65c7d0
--- /dev/null
@@ -0,0 +1,21 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.0"
+
+\header {
+  lsrtags = "expressive-marks, editorial-annotations, tweaks-and-overrides"
+
+  texidoc = "
+Text markups need to have the @code{outside-staff-priority} property
+set to false in order to be printed inside slurs. 
+
+"
+  doctitle = "Positioning text markups inside slurs"
+} % begin verbatim
+
+\relative c'' {
+  \override TextScript #'avoid-slur = #'inside
+  \override TextScript #'outside-staff-priority = ##f
+  c2(^\markup { \halign #-10 \natural } d4.) c8
+}
+
index 3bfefdc1a4e8b0259a683d22ca22151b3373b8eb..00db6fb29de3a8fae1c54b71803b907b559302c6 100644 (file)
@@ -9,8 +9,9 @@
 In the following snippet, two parts have a completely different time
 signature, yet remain synchronized. The bar lines can no longer be
 printed at the @code{Score} level; to allow independent bar lines in
-each part, the @code{Barline_engraver} is moved from the @code{Score}
-context to the @code{Staff} context. 
+each part, the @code{Default_barline_engraver} and
+@code{Timing_translator} are moved from the @code{Score} context to the
+@code{Staff} context. 
 
 "
   doctitle = "Printing music with different time signatures"
@@ -136,5 +137,8 @@ Perkussion = \new StaffGroup <<
 >>
 
 \score {
-  <<  \Bassklarinette \Perkussion >>
+  <<
+    \Bassklarinette
+    \Perkussion
+  >>
 }
index 184a2905d30feae9f142ab93510aae397547e3c9..5e64b7d79ca9a8b8181847cb695005f77c11a0f7 100644 (file)
@@ -25,8 +25,8 @@ the appropriate duration).
 % Macro to print single slash
 rs = {
   \once \override Rest #'stencil = #ly:percent-repeat-item-interface::beat-slash
-  \once \override Rest #'thickness = #'0.48
-  \once \override Rest #'slope = #'1.7
+  \once \override Rest #'thickness = #0.48
+  \once \override Rest #'slope = #1.7
   r4
 }
 
@@ -34,16 +34,16 @@ rs = {
 comp = #(define-music-function (parser location count) ( integer?)
   #{
     \override Rest #'stencil = #ly:percent-repeat-item-interface::beat-slash
-    \override Rest #'thickness = #'0.48
-    \override Rest #'slope = #'1.7
+    \override Rest #'thickness = #0.48
+    \override Rest #'slope = #1.7
     \repeat unfold $count { r4 }
     \revert Rest #'stencil
   #}
 )
 
-\score{
+\score {
   \relative c' {
-    c d e f |
+    c4 d e f |
     \rs \rs \rs \rs |
     \comp #4 |
   }
index 621f2195ca627cb89693d35385e4a92df4582a16..1abd1db2710b748fffd37e9694d3fc4b48cdc159 100644 (file)
@@ -17,7 +17,7 @@ altos:
 By specifying the context, the effect of @code{beatGrouping} can be
 limited to the context specified, and the values which may have
 been set in higher-level contexts can be overridden.  The
-@code{\set} commands must be placed @emph{after} all @code{\time}
+@code{\\set} commands must be placed @emph{after} all @code{\\time}
 commands:
 "
   doctitle = "Specifying context with beatGrouping"
@@ -36,7 +36,7 @@ commands:
     \new Voice {
       \relative c' {
         \voiceTwo
-        \set Voice.beatGrouping = #'(1 3 3)
+        \set beatGrouping = #'(1 3 3)
         f8 f f f f f f
       }
     }
index 9b9c04f4a56d7fdd7aa67a9248f6128f05832c51..9e94044ccd491153ad7d5b699df28602d7735968 100644 (file)
@@ -15,17 +15,17 @@ around some text (or other markup).
 
 % New command to add a three sided box, with sides north, west and south
 % Based on the box-stencil command defined in scm/stencil.scm
-% Note that you use ";" to comment a line in Scheme
+% Note that ";" is used to comment a line in Scheme
 #(define-public (NWS-box-stencil stencil thickness padding)
   "Add a box around STENCIL, producing a new stencil."
   (let* ((x-ext (interval-widen (ly:stencil-extent stencil 0) padding))
-        (y-ext (interval-widen (ly:stencil-extent stencil 1) padding))
-        (y-rule (make-filled-box-stencil (cons 0 thickness) y-ext))
-        (x-rule (make-filled-box-stencil
-                 (interval-widen x-ext thickness) (cons 0 thickness))))
+         (y-ext (interval-widen (ly:stencil-extent stencil 1) padding))
+         (y-rule (make-filled-box-stencil (cons 0 thickness) y-ext))
+         (x-rule (make-filled-box-stencil
+                  (interval-widen x-ext thickness) (cons 0 thickness))))
 ;    (set! stencil (ly:stencil-combine-at-edge stencil X 1 y-rule padding))
     (set! stencil (ly:stencil-combine-at-edge stencil X -1 y-rule padding))
-    (set! stencil (ly:stencil-combine-at-edge stencil Y 1 x-rule 0.0))  
+    (set! stencil (ly:stencil-combine-at-edge stencil Y 1 x-rule 0.0))
     (set! stencil (ly:stencil-combine-at-edge stencil Y -1 x-rule 0.0))
     stencil))
 
@@ -34,21 +34,18 @@ around some text (or other markup).
 #(define-markup-command (NWS-box layout props arg) (markup?)
   "Draw a box round @var{arg}.  Looks at @code{thickness},
 @code{box-padding} and @code{font-size} properties to determine line
-thickness and padding around the markup."
-  
+thickness and padding around the markup."  
   (let* ((th (chain-assoc-get 'thickness props  0.1))
-        (size (chain-assoc-get 'font-size props 0))
-        (pad (* (magstep size)
-                (chain-assoc-get 'box-padding props 0.2)))
-        (m (interpret-markup layout props arg)))
+         (size (chain-assoc-get 'font-size props 0))
+         (pad (* (magstep size)
+                 (chain-assoc-get 'box-padding props 0.2)))
+         (m (interpret-markup layout props arg)))
     (NWS-box-stencil m th pad)))
 
-
 % Test it:
 
 \layout { ragged-right = ##f }
-
-\relative c' { 
+\relative c' {
   c2^\markup { \NWS-box ABCD }
-  c^\markup { \NWS-box \note #"4" #1.0 } 
+  c2^\markup { \NWS-box \note #"4" #1.0 }
 }
index 3c612c99ebe75ffd70894013e285ae1782aac973..d6b7695aa4ac4db12e17f627620190e26f62bcfb 100644 (file)
@@ -94,7 +94,8 @@ In this manner, the most natural enharmonic notes are chosen.
 #(define  (naturalize-pitch p)
   (let* ((o (ly:pitch-octave p))
          (a (* 4 (ly:pitch-alteration p)))
-    ; alteration, a, in quarter tone steps, for historical reasons
+         ; alteration, a, in quarter tone steps,
+         ; for historical reasons
          (n (ly:pitch-notename p)))
     (cond
      ((and (> a 1) (or (eq? n 6) (eq? n 2)))
@@ -115,23 +116,23 @@ In this manner, the most natural enharmonic notes are chosen.
          (e (ly:music-property music 'element))
          (p (ly:music-property music 'pitch)))
     (if (pair? es)
-        (ly:music-set-property!
+       (ly:music-set-property!
          music 'elements
          (map (lambda (x) (naturalize x)) es)))
     (if (ly:music? e)
-        (ly:music-set-property!
+       (ly:music-set-property!
          music 'element
          (naturalize e)))
     (if (ly:pitch? p)
-        (begin
-          (set! p (naturalize-pitch p))
-          (ly:music-set-property! music 'pitch p)))
+       (begin
+         (set! p (naturalize-pitch p))
+         (ly:music-set-property! music 'pitch p)))
     music))
 
 naturalizeMusic =
 #(define-music-function (parser location m)
-                                       (ly:music?)
-                       (naturalize m))
+  (ly:music?)
+  (naturalize m))
 
 music = \relative c' { c4 d e g }
 
index c78b7e64f34bc6ba86044556d9efd7189d8dbb7f..136787c5ddab0652d80e46329cdeab154a83918b 100644 (file)
@@ -148,7 +148,7 @@ line, they do not.
   \set Staff.clefPosition = #0
   c'1
   
-  % Here we go back to the normal clef:
+  % Return to the normal clef:
 
   \set Staff.middleCPosition = #0
   c'1
index e4264b29c7d6c68410704d5492199dd2013ac0be..e8d93d9e411c5d5b2f987377e6343462b3e6fa45 100644 (file)
@@ -31,6 +31,7 @@ mensurstriche-layout-bar-lines-between-the-staves.ly
 nesting-staves.ly
 percent-repeat-count-visibility.ly
 positioning-multi--measure-rests.ly
+positioning-text-markups-inside-slurs.ly
 printing-a-repeat-sign-at-the-beginning-of-a-piece.ly
 printing-metronome-and-rehearsal-marks-below-the-staff.ly
 proportional-strict-notespacing.ly
index ee2eab0e1b94af46e103e9776211c6d1b33287e9..f1cd3193766cafe3863ae9aced6be28701c7a253 100644 (file)
@@ -24,8 +24,8 @@ This snippet shows how to achieve such notation rules.
   }
   \layout {
     \context {
-    \Staff
-    \remove "Key_engraver"
+      \Staff
+      \remove "Key_engraver"
     }
   }
 }
index 7def51448f3d1cb88ca25fd0d29380bc9d9defde..9c5c0ab1b1bb4dfef643d1943b071f0a6857c614 100644 (file)
@@ -16,35 +16,30 @@ with melody notes, chord names, and fret diagrams.
       c1 f g c
     }
   }
-
   \new FretBoards {
     \chordmode {
       c1 f g c
     }
   }
-
-
   \new Voice \with {
-    \consists Pitch_squash_engraver
-  } \relative c'' {
-    \improvisationOn
-    c4 c8 c c4 c8 c
-    f4 f8 f f4 f8 f
-    g4 g8 g g4 g8 g
-    c4 c8 c c4 c8 c
+    \consists "Pitch_squash_engraver"
+  } {
+    \relative c'' {
+      \improvisationOn
+      c4 c8 c c4 c8 c
+      f4 f8 f f4 f8 f
+      g4 g8 g g4 g8 g
+      c4 c8 c c4 c8 c
+    }
   }
-
-
   \new Voice = "melody" {
     \relative c'' {
-      \improvisationOff
       c2 e4 e4
       f2. r4
       g2. a4
       e4 c2.
     }
   }
-
   \new Lyrics {
     \lyricsto "melody" {
       This is my song.
index 4df3bb2f96e1d8572786559b414b169d2a3b0c7a..5664d32cb1a9194505d8809e0d9368d4578f1937 100644 (file)
@@ -13,7 +13,7 @@ incipit =
     \once \override Staff.InstrumentName #'self-alignment-Y = #UP
     \once \override Staff.InstrumentName #'Y-offset = #4
     \once \override Staff.InstrumentName #'padding = #0.3
-    \once \override Staff.InstrumentName #'stencil = 
+    \once \override Staff.InstrumentName #'stencil =
     #(lambda (grob)
        (let* ((instrument-name (ly:grob-property grob 'long-text))
               (layout (ly:output-def-clone (ly:grob-layout grob)))
@@ -37,7 +37,7 @@ incipit =
          (ly:output-def-set-variable! layout 'ragged-last #f)
          (ly:output-def-set-variable! layout 'system-count 1)
          (ly:score-add-output-def! score layout)
-         (set! (ly:grob-property grob 'long-text)
+         (ly:grob-set-property! grob 'long-text
                (markup #:score score))
          (ly:system-start-text::print grob)))
   #})
@@ -48,9 +48,7 @@ global = {
   \set Score.skipBars = ##t
   \key g \major
   \time 4/4
-  
-  %make the staff lines invisible on staves
-  \override Staff.BarLine #'transparent = ##t
+
   % the actual music
   \skip 1*8
 
@@ -236,25 +234,19 @@ bassusLyrics = \lyricmode {
         \incipit \bassusIncipit
         \bassusNotes
       >>
+      \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
     >>
-    \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics }
-    %% Keep the bass lyrics outside of the staff group to avoid bar lines
-    %% between the lyrics.
   >>
   \layout {
     \context {
       \Score
-      %% no bar lines in staves
+      %% no bar lines in staves or lyrics
       \override BarLine #'transparent = ##t
     }
-    %% the next three instructions keep the lyrics between the bar lines
+    %% the next two instructions keep the lyrics between the bar lines
     \context {
       \Lyrics
-      \consists "Bar_engraver" 
-      \override BarLine #'transparent = ##t
-    } 
-    \context {
-      \StaffGroup
+      \consists "Bar_engraver"
       \consists "Separating_line_group_engraver"
     }
     \context {
index 501ccd2b9d1871cd8079ff7a49a1427f890b0958..47014eea84109061e870f004f681a4f25e5b09cc 100644 (file)
@@ -18,16 +18,18 @@ flag from interfering with tie positioning, the stem is extended.
 
 \relative c'' {
   \time 2/4
-  << {
-    \once \override Stem #'transparent = ##t
-    \once \override Stem #'length = #8
-    b8 ~ b\noBeam
-    \once \override Stem #'transparent = ##t
-    \once \override Stem #'length = #8
-    g8 ~ g\noBeam
-  }
-  \\
-  {
-    b8 g g e
-  } >>
+  <<
+    {
+      \once \override Stem #'transparent = ##t
+      \once \override Stem #'length = #8
+      b8 ~ b\noBeam
+      \once \override Stem #'transparent = ##t
+      \once \override Stem #'length = #8
+      g8 ~ g\noBeam
+    }
+    \\
+    {
+      b8 g g e
+    }
+  >>
 }
index 184bd48e3bb69f47ed3428442d52e473e8e87c5f..bdf0224acfe35bac061b12744c842b9f6046efe1 100644 (file)
@@ -6,23 +6,25 @@
   texidoc = "
 This example shows how to put crosses on stems. Mark the beginning
 of a spoken section with the @code{\\speakOn} keyword, and end it
-with the @code{\\speakOff} keyword.  Remember to end cross sections
-before entering any rest: this function also adds crosses to the
-invisible stems of rests.
+with the @code{\\speakOff} keyword.
 "
   doctitle = "Marking notes of spoken parts with a cross on the stem"
 }
 
 speakOn = {
   \override Stem #'stencil = #(lambda (grob)
-  (ly:stencil-combine-at-edge
-    (ly:stem::print grob)
-    Y
-    (- (ly:grob-property grob 'direction))
-    (grob-interpret-markup grob
-      (markup #:hspace -1.025 #:fontsize -4
-        #:musicglyph "noteheads.s2cross"))
-    -2.3 0))
+    (let* ((x-parent (ly:grob-parent grob X))
+           (is-rest? (ly:grob? (ly:grob-object x-parent 'rest))))
+      (if is-rest?
+        empty-stencil
+        (ly:stencil-combine-at-edge
+          (ly:stem::print grob)
+          Y
+          (- (ly:grob-property grob 'direction))
+          (grob-interpret-markup grob
+            (markup #:hspace -1.025 #:fontsize -4
+              #:musicglyph "noteheads.s2cross"))
+          -2.3 0))))
 }
 
 speakOff = {
diff --git a/input/new/ottava-text.ly b/input/new/ottava-text.ly
new file mode 100644 (file)
index 0000000..6110b79
--- /dev/null
@@ -0,0 +1,23 @@
+\version "2.12.0"
+
+\header {
+  lsrtags = "pitches, text"
+  texidoc = "
+Internally, @code{\\ottava} sets the properties @code{ottavation}
+(for example, to @code{\"8va\"} or @code{\"8vb\"}) and
+@code{middleCPosition}.  To override the text of the bracket, set
+@code{ottavation} after invoking @code{\\ottava}.
+"
+  doctitle = "Ottava text"
+}
+
+{
+  \ottava #1
+  \set Staff.ottavation = #"8"
+  c''1
+  \ottava #0
+  c'1
+  \ottava #1
+  \set Staff.ottavation = #"Text"
+  c''1
+}
index 71ef3530c70577a1fd292fe29c49295cc94afd19..5744ba37ae1b306c5da9c3d5c6f9fd6f4dcf0d17 100644 (file)
@@ -6,7 +6,7 @@
 By specifying the context, the effect of @code{beatGrouping} can be
 limited to the context specified, and the values which may have
 been set in higher-level contexts can be overridden.  The
-@code{\set} commands must be placed @emph{after} all @code{\time}
+@code{\\set} commands must be placed @emph{after} all @code{\\time}
 commands:
 "
   doctitle = "Specifying context with beatGrouping"
@@ -24,7 +24,7 @@ commands:
     \new Voice {
       \relative c' {
         \voiceTwo
-        \set Voice.beatGrouping = #'(1 3 3)
+        \set beatGrouping = #'(1 3 3)
         f8 f f f f f f
       }
     }
index 84de7611ec81dabb2110fab4da1c4370c62fb44f..1ff8444f55d09245840be2912d5a2addecc70331 100644 (file)
@@ -31,7 +31,8 @@ In this manner, the most natural enharmonic notes are chosen.
 #(define  (naturalize-pitch p)
   (let* ((o (ly:pitch-octave p))
          (a (* 4 (ly:pitch-alteration p)))
-    ; alteration, a, in quarter tone steps, for historical reasons
+         ; alteration, a, in quarter tone steps,
+         ; for historical reasons
          (n (ly:pitch-notename p)))
     (cond
      ((and (> a 1) (or (eq? n 6) (eq? n 2)))
@@ -52,23 +53,23 @@ In this manner, the most natural enharmonic notes are chosen.
          (e (ly:music-property music 'element))
          (p (ly:music-property music 'pitch)))
     (if (pair? es)
-        (ly:music-set-property!
+       (ly:music-set-property!
          music 'elements
          (map (lambda (x) (naturalize x)) es)))
     (if (ly:music? e)
-        (ly:music-set-property!
+       (ly:music-set-property!
          music 'element
          (naturalize e)))
     (if (ly:pitch? p)
-        (begin
-          (set! p (naturalize-pitch p))
-          (ly:music-set-property! music 'pitch p)))
+       (begin
+         (set! p (naturalize-pitch p))
+         (ly:music-set-property! music 'pitch p)))
     music))
 
 naturalizeMusic =
 #(define-music-function (parser location m)
-                                       (ly:music?)
-                       (naturalize m))
+  (ly:music?)
+  (naturalize m))
 
 music = \relative c' { c4 d e g }
 
index 94dd94820f6c5d08cbc2c52195685c892d2e7872..0f43098559b54abe8024ba76580a761a1e920df1 100644 (file)
@@ -8,8 +8,10 @@ dentro de un contexto @code{Staff}). Se puede elegir entre
 centrado) y @code{#DOWN} (o @code{#-1}, abajo).
 
 Como podemos ver, esta propiedad se puede cambiar tantas veces
-como queramos. Utilice @code{\\once \\override} si no quiere que el
+como queramos.  Utilice @code{\\once \\override} si no quiere que el
 truco se aplique a toda la partitura.
 
 "
   doctitlees = "Añadir un bajo cifrado encima o debajo de las notas"
+  
+  doctitlefr = "Ajout d'une basse chiffrée au-dessus ou au-dessous des notes"
diff --git a/input/texidocs/adding-fingerings-to-tablatures.ly b/input/texidocs/adding-fingerings-to-tablatures.ly
new file mode 100644 (file)
index 0000000..4fc9caf
--- /dev/null
@@ -0,0 +1,6 @@
+  texidocfr = "Ajout de doigtés à des tablatures"
+
+  doctitlefr = "
+L'ajout de doigtés à des tablatures s'obtient en conjuguant des
+@code{\\markup} et des @code{\\finger}.
+"
index f71fe816317aca510ef20db6922c790b870c8789..4e6a67cdf7b77716643dae42cf2e08e34caf1f5a 100644 (file)
@@ -1,6 +1,12 @@
   texidoces = "
 Con algo de código de Scheme, se puede añadir fácilmente la fecha
 actual a una partitura.
-
 "
   doctitlees = "Añadir la fecha actual a una partitura"
+  
+  texidocfr = "
+Avec un peu de code Scheme, voici comment ajouter facilement
+la date du jour à votre partition.
+"
+  
+  doctitlefr = "Ajout de la date du jour à une partition"