Next: , Previous: File structure (introduction), Up: Input files


10.1.2 File structure

A .ly file contains any number of toplevel expressions, where a toplevel expression is one of the following

The following example shows three things that may be entered at toplevel

\layout {
  % movements are non-justified by default
  ragged-right = ##t
}

\header {
   title = "Do-re-mi"
}

{ c'4 d' e2 }

At any point in a file, any of the following lexical instructions can be entered:



Next: , Previous: File structure (introduction), Up: Input files

This page is for LilyPond-2.10.33 (stable-branch).

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