[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

External sites
lilypond.org/stable
lilypond.org/development
savannah.gnu.org
ftp.lilypond.org
Mutopia
Other music online

Music fragment options

The commands for lilypond-book have room to specify options. These are all of the options:

eps
This will create the music as eps graphics and include it into the document with the \includegraphics command. It works in LaTeX only.

This enables you to place music examples in the running text (and not in a separate paragraph). To avoid that LaTeX places the music on a line of its own, there should be no empty lines between the normal text and the LilyPond environment. For inline music, you probably also need a smaller music font size (e.g. 11pt or 13pt)

verbatim
CONTENTS is copied into the source enclosed in a verbatim block, followed by any text given with the intertext option, then the actual music is displayed. This option does not work with the short version of the LilyPond blocks:

@lilypond{ CONTENTS } and \lilypond{ CONTENTS }

smallverbatim
Like verbatim, but in a smaller font.
intertext="text"
Used in conjunction with verbatim option: This puts text between the code and the music (without indentation).
filename="filename"
Save the LilyPond code to filename. By default, a hash value of the code is used.
11pt
[picture of music]

13pt
[picture of music]

16pt
[picture of music]

20pt
[picture of music]

26pt
[picture of music]

singleline
Produce a single, naturally spaced, unjustified line (i.e., linewidth = -1).
multiline
The opposite of singleline: Justify and break lines.
linewidth=sizeunit
Set linewidth to size, where unit = cm, mm, in, or pt. This option affects LilyPond output, not the text layout.
notime
Don't print time signature.
fragment
nofragment
Override lilypond-book auto detection of what type of code is in the LilyPond block, voice contents or complete code.
indent=sizeunit
Set indentation of the first music system to size, where unit = cm, mm, in, or pt. This option affects LilyPond, not the text layout. For single-line fragments the default is to use no indentation.
noindent
Set indentation of the first music system to zero. This option affects LilyPond, not the text layout.
notexidoc
Do not include the .texidoc header. This is only for Texinfo output.
noquote
By default, lilypond-book puts both LaTeX and texinfo output into a quotation block. Using this option prevents this; no indentation will be used.
printfilename
Prints the file name before the music example. Useful in conjunction with \lilypondfile.
relative, relative N
Use relative octave mode. By default, notes are specified relative central C. The optional integer argument specifies how many octaves higher (positive number) or lower (negative number) to place the starting note.
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

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.