X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fnew%2Ftable-of-contents.ly;h=2be389d4e0428cd45d9ad3d0d5e526cad9b7fe6c;hb=def21b306e2b8fa2d5630fab0878e9922e197f0c;hp=327cd0972d9935c2a27ec1674808d96fa2b4c581;hpb=d8390f896c6982361ef2c267013f790753b3b3a0;p=lilypond.git diff --git a/input/new/table-of-contents.ly b/input/new/table-of-contents.ly index 327cd0972d..2be389d4e0 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 } \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" } } }