As far as I can see, the \begin{flushright} doesn't solve
anything as long as you let lilypond-book determine the
line width of the scores, since they will be rather too long
then too short (see my email to bug-lilypond a few minutes ago).
However, if you explicitly set the line width of the music
examples to be shorter than the line width of the remaining
LaTeX document, then it makes sense to use something like
what you propose to work around these bugs.
Since you haven't provided any complete example including both
LaTeX and LilyPond code, it's a bit hard to realize exactly
what problems you try to solve.
/Mats
Georg Dummer wrote:
This is my newest achievement:
\newcommand{\preLilyPondExample}{\begin{flushright}}
\newcommand{\betweenLilyPondSystem}[1]{\hfill} % maybe not needed
\newcommand{\postLilyPondExample}{\end{flushright}}
This also gives acceptable results if you have set the instrument name. In
this case the first system (eps-picture) normaly has a different width than
the onthers.
Georg
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Mats Bengtsson
Sent: Monday, August 01, 2005 10:01 AM
To: Martin Brodbeck
Cc: lilypond-user@gnu.org
Subject: Re: lilypond-book and DIN A4 ?!?
As has been stated before: As long as you don't specify the line width (or
paper size) within the actual .ly code, there should be no need to use this
workaround.
/Mats
Martin Brodbeck wrote:
Graham Percival schrieb:
Known issue; please search the lilypond-user and bug-lilypond mailist
archives for discussion and workarounds.
(it was probably discussed on lilypond-devel as well)
After a third watch at lilypond-user I found a workaround:
"\newcommand{\betweenLilyPondSystem}[1]{\linebreak}" in the preamble
of the LaTeX document fixes the issue.
Thanks,
Martin
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user