The intension is that you should be able to use something like:
Some text followed by some music
\lilypond[fragment]{<c' e' g'>}
followed by more text.However, I have just reported a couple of bugs related to this use
of lilypond-book. The main problem is that the music example won't
allocate any horizontal space, so it's overwritten by the text
following it. Hopefully this will be solved soon.
In the mean time, you can use the stable version 2.2.6, where
lilypond-book works better. Still, you have to make sure that
you let the \lilypond{...} command start a new line in the
input file./Mats
Sean Reed wrote:
hi,
i'm working on an essay in which i would like to include small motives directly in a sentence of the text without starting a new line and centering the musical fragment. is there a way to do this using lilypond?
i can do this using an eps or other image file, by including the "\usepackage{graphicx}" and placing "\includegraphics" right in the line of text with no "\begin{figure}" and "\end{figure}". the sentences flow right on and the little motive gets included in the sentence like a word.
The examples in the lilypond documentation on lilypond-book using "\begin{lilypond}" work well, but always force a new line (and center?) making it like a full-fledged example. is there a way to do it without starting the new line?
btw: when using the "short version" of syntax from the lilypond-book documentation ("\lilypond[staffsize=11]{<c' e' g'>}"), i get an error when running latex, saying that "\lilypond" is an undefinded control sequence.
this is all happening with mac os 10.3.5, using lilypond 2.3.16. i'm also using TeXShop v1.35 to edit the latex and command line to run lilypond-book.
thanks, sean
------------------------------------------------------------------------
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user
