1.4.1 Omitted material

LilyPond input must be surrounded by { } marks or a ‘\relative { … }’, as we saw in Working on input files. For the rest of this manual, some short examples will omit this. To replicate these examples, you can copy displayed input, but paste it between { and } in your input file.

  …example goes here…

Also, remember that every LilyPond file should have a \version statement. Because the examples in the manuals are snippets, not files, the \version statement is omitted. But you should make a practice of including them in your files.

LilyPond — Learning Manual v2.22.1 (stable-branch).