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.

Cette page documente LilyPond-2.11.58 (branche de développement).

Rapportez toute anomalie en français à lilypond-user-fr@gnu.org ou en anglais à http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs

Vos suggestions à propos de la documentation sont les bienvenues.

Autres langues : español.