### 6.1 Integrating Texinfo and music

Music is specified like this:

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

When lilypond-book is run on it, this results in a texinfo file. We show two simple examples here. First a complete block:

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

produces

Then the short version:

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

produces

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

Read comments on this page, or add one. This page is for LilyPond-2.2.5 (stable-branch).