Previous: Text marks, Up: Writing text


1.8.1.4 Separate text

A \markup block can exist by itself, outside of any any \score block, as a “top-level expression”. This syntax is described in File structure.

     
     \markup {
       Tomorrow, and tomorrow, and tomorrow...
     }

[image of music]

This allows printing text separately from the music, which is particularly useful when the input file contains several music pieces, as described in Multiple scores in a book.

     
     \score {
       c'1
     }
     \markup {
       Tomorrow, and tomorrow, and tomorrow...
     }
     \score {
       c'1
     }

[image of music]

Using a specific syntax, text blocks can be spread over multiple pages, making possible to print text documents or books (and therefore to use LilyPond as a word processor). This syntax is described in Multi-page markup.

Predefined commands

\markup, \markuplines

See also

Notation Reference: Formatting text, File structure, Multiple scores in a book, Multi-page markup.

Snippets: Text.

Internals Reference: TextScript.

This page is for LilyPond-2.11.58 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: espaƱol.