|
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
13pt
16pt
20pt
26pt
singleline
- Produce a single, naturally spaced, unjustified line
(i.e., linewidth = -1).
multiline
- The opposite of
singleline : Justify and break lines.
linewidth= size unit
- 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= size unit
- 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.
|