]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/table-of-contents.ly
Docs: reorganize documentation directory structure
[lilypond.git] / Documentation / snippets / table-of-contents.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "paper-and-layout"
7
8   texidoc = "
9 A table of contents is included using @code{\\markuplines
10 \\table-of-contents}.  The TOC items are added with the
11 @code{\\tocItem} command.
12
13 "
14   doctitle = "Table of contents"
15 } % begin verbatim
16
17 #(set-default-paper-size "a6")
18
19 \book {
20   \markuplines \table-of-contents
21   \pageBreak
22   \tocItem \markup { The first score }
23   \score {
24     {
25       c'1 \pageBreak
26       \mark "A" \tocItem \markup { Mark A }
27       d'1
28     }
29   }
30   \pageBreak
31   \tocItem \markup { The second score }
32   \score {
33     { e'1 }
34     \header { piece = "Second score" }
35   }
36 }