According to the hint of Mats (possible extra space after the last bar) I
changed my workaround:

\usepackage{ifthen}
\newcommand{\preLilyPondExample}{\raggedleft}
\newcommand{\betweenLilyPondSystem}[1]{%
        \ifthenelse{\equal{#1}{2}}%
                {\\[0.5cm] \raggedright}%
                {\\[0.5cm]}%
         }%
\newcommand{\postLilyPondExample}{\\ \vspace{0.5cm}}

Now only the first two pictures (header and first sytem) are right aligned.
The rest remains left aligned.
To work properly the linewidth should not be set in the song.

Georg


-----Original Message-----
From: Martin Brodbeck [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 02, 2005 1:38 PM
To: Georg Dummer
Cc: lilypond-user
Subject: Re: lilypond-book and DIN A4 ?!?

Georg Dummer schrieb:

Hi Georg,

> Here is an example that demonstrates the problem. Commenting out the 
> linewidth in the *.ly-file only places the last systems the right way.

Yes, this is exactly true. Just to make it clear: I've no linewidth or
something in my .ly file but the resuling output is as I said and like in
your example.

Martin



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

Reply via email to