![]() |
GNU LilyPond-- -- |
||||||||||
|
More movementsThe program Two miniatures
Opus 1.
Up
Opus 2.
Down
For example, consider the following file ( \version "1.5.72" \header { title = "Two miniatures" composer = "F. Bar Baz" tagline = "small is beautiful" } \paper { linewidth = -1.0 } %{ Mental note: discuss Schenkerian analysis of these key pieces. %} \score { \notes { c'4 d'4 } \header { opus = "Opus 1." piece = "Up" } } \score { \notes { d'4 c'4 } \header { opus = "Opus 2." piece = "Down" } } The information for the global titling is in a so-called header block.
The information in this block is not used by LilyPond, but it is
passed into \header { title = "Two miniatures" composer = "F. Bar Baz" tagline = "small is beautiful" } When you process a file with ly2dvi, a signature line is printed at
the bottom of the last page. This signature is produced from the
Many people find the default tagline ("Lily was here") too droll.
If that is the case, you can change \paper { linewidth = -1.0 } A paper block at top level (i.e. not in a The variable %{ Mental note: discuss Schenkerian analysis of these key pieces. %} Mental notes to yourself can be put into comments. There are two types
of comments. Line comments are introduced by \score { \notes { c'4 d'4 } In previous examples, most notes were specified in relative octaves
(i.e. each note was put in the octave that is closest to its
predecessor). Besides relative, there is also absolute octave
specification, which you get when you don't include When you're copying music from existing sheet music, relative octaves are probably the easiest to use: you have to do less typing, and errors are easily spotted. However, if you write LilyPond input directly, either by hand (i.e. composing) or by computer, absolute octaves may be easier to use. \header { The opus = "Opus 1." piece = "Up" }For example, the Opus number is put at the right, and the "piece" string will be at the left. \version "1.5.72" \header { title = "Two miniatures" composer = "F. Bar Baz" tagline = "small is beautiful" } \paper { linewidth = -1.0 } \score { \notes { c'4 d'4 } \header { opus = "Opus 1." piece = "Up" } } \score { \notes { d'4 c'4 } \header { opus = "Opus 2." piece = "Down" } } TODO: scoreA = \score { \deelA } scoreB = \score { \deelA } % \score { \scoreA } \score { \scoreB } \version "1.5.72"Lilypond and its language are still under development, and occasionally details of the syntax are changed. The version
fragment indicates which version of lilypond the input file was written
for. When you compile this file, the version number will be checked
and you will get a warning when the file is too old. This version
number is also used by the convert-ly program (See
Invoking convert-ly), which can used to update the file to the
latest lily version.
|
||||||||||
Go back to index of LilyPond.
Please send GNU LilyPond questions and comments to lilypond-user@gnu.org. Please send comments on these web pages to (address unknown) Copyright (c) 1997--2002 Han-Wen Nienhuys and Jan Nieuwenhuizen. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
This page was built from LilyPond-1.7.14 (development-branch) by