[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: subsubsection lilypondfile

From: Mats Bengtsson
Subject: Re: subsubsection lilypondfile
Date: Thu, 21 Apr 2005 11:29:23 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414

In principle, lilypond-book does not put any limitations on
where in your LaTeX document you put your music. However, when
trying the obvious
\section{\lilypond[fragment]{c d e f}}
latex will complain, probably there are some limitations in LaTeX on
what can go into the argument of \section{...}. However, the following
trick works:

\savebox{\music}{\lilypond[fragment]{c d e f}}


David Raleigh Arnold wrote:
Is there a way to use a lilypond file instead of the contents
of the curlies in \section, \subsection, and \subsubsection, as if
to have the appropriate numbers as instrument names in the first
indent.  e.g., in example.lytex:

 2.3 Section I
  2.3.1  Heading About Something
  2.3.2  a piece of music....
  2.3.3  About This Heading
more text...........

As a feature, I think it would be very worthwhile feature in
a lilypond book.


All it would take is to start the lilypond file immediately after the
[sub]section number.  It would be helpful if every example had a
reference number in the docs, IMO.  daveA

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]