Am 06.09.2013 16:45, schrieb Mats Bengtsson:

On 09/06/2013 03:57 PM, lilypond-user-requ...@gnu.org 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.

I use

\let\postLilyPondExample=\newpage

in a recent project to start each included score on a new page.

Just my 2ct.

Marc



     /Mats



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to