]> git.donarmstrong.com Git - lilypond.git/blob - input/new/table-of-contents.ly
Merge master into nested-bookparts
[lilypond.git] / input / new / table-of-contents.ly
1 \version "2.11.61"
2 \header {
3   lsrtags = "paper-and-layout"
4   texidoc = "A table of contents is included using
5 @w{@code{\\markuplines \\table-of-contents}}.  The TOC items are
6 added with the @code{\\tocItem} command."
7   doctitle = "Table of contents"
8 }
9
10 #(set-default-paper-size "a6")
11
12 \book {
13   \markuplines \table-of-contents
14   \pageBreak
15   \tocItem \markup { The first score }
16   \score {
17     {
18       c'1 \pageBreak
19       \mark "A" \tocItem \markup { Mark A }
20       d'1
21     }
22   }
23   \pageBreak
24   \tocItem \markup { The second score }
25   \score {
26     { e'1 }
27     \header { piece = "Second score" }
28   }
29 }