X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fnew%2Ftable-of-contents.ly;h=f639c062223bbe71ef4436f64c4726f92c1e95cc;hb=730e35bfe91fc8b151fbd54c6daddaf930664327;hp=327cd0972d9935c2a27ec1674808d96fa2b4c581;hpb=2455e5b0f8f0846a42952e32bbedecf1da1e7855;p=lilypond.git diff --git a/input/new/table-of-contents.ly b/input/new/table-of-contents.ly index 327cd0972d..f639c06222 100644 --- a/input/new/table-of-contents.ly +++ b/input/new/table-of-contents.ly @@ -1,10 +1,9 @@ -\version "2.11.26" -\layout { ragged-right= ##t } +\version "2.12.0" \header { lsrtags = "paper-and-layout" texidoc = "A table of contents is included using -@code{\\markuplines \\table-of-contents}. The TOC items are added with -the @code{\\tocItem} command." +@w{@code{\\markuplines \\table-of-contents}}. The TOC items are +added with the @code{\\tocItem} command." doctitle = "Table of contents" } @@ -13,19 +12,18 @@ the @code{\\tocItem} command." \book { \markuplines \table-of-contents \pageBreak - - \tocItem \markup "The first score" + \tocItem \markup { The first score } \score { - { + { c'1 \pageBreak - \mark "A" \tocItem \markup "Mark A" - d' + \mark "A" \tocItem \markup { Mark A } + d'1 } } \pageBreak - \tocItem \markup "The second score" + \tocItem \markup { The second score } \score { - { e' } + { e'1 } \header { piece = "Second score" } } }