Before LilyPond 2.4, the lilypond
program only generated music
notation. Titles and page layout was done in a separate wrapper
program. For compatibility with older files, this wrapper program has
been retained as lilypond-latex
. It uses the LilyPond program
and LaTeX to create a nicely titled piece of sheet music. Use of
this program is only necessary if the input file contains special
LaTeX options or formatting codes in markup texts.
The lilypond-latex
wrapper is invoked from the command-line as
follows
lilypond-latex
[option]... file...
To have lilypond-latex
read from stdin, use a dash (-
) for
file. The program supports the following options.
-k,--keep
lilypond.dir
.
-h,--help
-I,--include=
dir-o,--output=
file--png
--preview
-s,--set=
key=
vallanguage
, latexheaders
,
latexpackages
, latexoptions
, papersize
,
linewidth
, orientation
,
textheight
.
-v,--version
-V,--verbose
--debug
-w,--warranty
The lilypond
program responds to several parameters specified
in a \layout
section of the input file. They can be overridden
by supplying a --set
command line option.
language
babel
package will be
included. Default: unset.
Read from the \header
block.
latexheaders
\header
block. Default value: empty.
latexpackages
-s=latexpackages
options.
Normally read from the \header
block. Default value:
geometry
.
latexoptions
\documentclass
. You can put any valid value here. This was
designed to allow lilypond
to produce output for double-sided
paper, with balanced margins and page numbers on alternating sides. To
achieve this specify twoside
.
orientation
portrait
or landscape
. Is
read from the \layout
block, if set.
textheight
linewidth
\layout
block.
papersize
a4
). It is normally read from
the \layout
block.
fontenc
font-encoding
property in the score.
This page is for LilyPond-2.5.11 (development-branch).