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