]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/notation/input.itely
New markup command : pattern
[lilypond.git] / Documentation / notation / input.itely
index 50f61545fef1bcdc93fd19099ab167cc348aa02a..a7b36aac63f9029e5c1bfdfead6bc7490dc9ea4e 100644 (file)
@@ -957,6 +957,22 @@ tocAct =
 }
 @end lilypond
 
+Dots can be added to fill the line between an item and its page number:
+
+@lilypond[verbatim,quote]
+\header { tagline = ##f }
+\paper {
+  tocItemMarkup = \tocItemWithDotsMarkup
+}
+
+\book {
+  \markuplines \table-of-contents
+  \tocItem \markup { Allegro }
+  \tocItem \markup { Largo }
+  \markup \null
+}
+@end lilypond
+
 
 @seealso
 Init files: @file{../ly/toc-init.ly}.