[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

Integrating Texinfo and music

You specify the LilyPond code like this:

     @lilypond[options, go, here]
       YOUR LILYPOND CODE
     @end lilypond
     @lilypond[options, go, here]{ YOUR LILYPOND CODE }
     @lilypondfile[options, go, here]{filename}
     

Then you run lilypond-book on it, and the result is a file you can process with texinfo. We show two simple examples here. First a complete block:

     @lilypond[26pt]
       c' d' e' f' g'2 g'
     @end lilypond
     

produces this music:

[picture of music]

Then the short version:

     @lilypond[11pt]{<<c' e' g'>>}
     

and its music:

[picture of music]

lilypond-book knows the default margins and a few paper sizes. One of these commands should be in the beginning of the document:

  • @afourpaper
  • @afourlatex
  • @afourwide
  • @smallbook

@pagesizes are not yet supported.

When producing texinfo, lilypond-book also generates bitmaps of the music, so you can make a HTML document with embedded music.

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.