[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatically insert a space before and after a lilypond, environmen
From: |
Mats Bengtsson |
Subject: |
Re: Automatically insert a space before and after a lilypond, environment |
Date: |
Fri, 06 Sep 2013 16:45:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 |
On 09/06/2013 03:57 PM, address@hidden wrote:
Hello to all. I quote from the file usage.pdf in the section about
lilypond-book:
"Each snippet will call the Following macros if they have been defined by
the user:
\preLilyPondExample [...]
\postLilyPondExample [...]
\betweenLilyPondSystem [...]
?
A few pages after this point, there is a concrete example of use of the
\betweenLilyPondSystem command:
\newcommand {\betweenLilyPondSystem}[1]{\vspace{<*length*>}\linebreak}
This command inserts a vertical space equal to <*length*> between a system
of staves and the next one. And it works well in my document
I tried to use in the same way also the commands \pre- and
\postLilyPondSystem, but I did not see any results after compilation of my
document. What should these two commands exactly? Maybe insert space before
and after the example of music? How they must be used?
It's up to your own imagination to make up what to use them for, I guess
they were primarily included for completeness, when they were introduced
in some ancient history. Try for example
\newcommand{\preLilyPondExample}{Hello, here comes a score\\}
just to see what happens.
/Mats
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.ee.kth.se/~mabe
=============================================
- Re: Automatically insert a space before and after a lilypond, environment,
Mats Bengtsson <=