]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: NR 2.8.2 Fix Custos example
authorTrevor Daniels <t.daniels@treda.co.uk>
Fri, 10 Oct 2008 17:02:00 +0000 (18:02 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Fri, 10 Oct 2008 17:02:28 +0000 (18:02 +0100)
Documentation/user/ancient.itely

index 7d5b49545ff2dac8d7c1ca90575ade44404dc816..4929daf38e4dcb5148fa3f6b156ba0ad06a3ab43 100644 (file)
@@ -261,28 +261,19 @@ For typesetting custodes, just put a @rinternals{Custos_engraver} into the
 and change the style of the custos with an @code{\override} if
 desired, as shown in the following example:
 
-@example
-\layout @{
-  \context @{
-    \Staff
-    \consists Custos_engraver
-    Custos \override #'style = #'mensural
-  @}
-@}
-@end example
-
-The result looks like this
-
 @lilypond[quote,ragged-right]
 \score {
-{
-  a'1
-  \override Staff.Custos #'style = #'mensural
-  \break
-  g'
-}
-\layout {
-  \context { \Staff \consists Custos_engraver }
+  \relative c'' {
+    a1
+    \break
+    g
+  }
+  \layout {
+    \context {
+      \Staff
+      \consists Custos_engraver
+      \override Custos #'style = #'mensural
+    }
   }
 }
 @end lilypond