On Wed 26 Apr 2017 at 21:09:53 (+0200), Simon Albrecht wrote:
> Am 26.04.2017 um 20:47 schrieb Hendrik Fuß:
> >There are paper variables to achieve ragged-right and ragged-last
> >layout. Is there a way to achieve center-aligned music in a score?
> 
> Not really. One way would be entering each line as a separate \score
> inside \markup \center-column {}, but of course that’s only going to
> make sense in very specific situations.

That would involve serious work, breaking the score up with
losing its essential continuity.

I think this request is idiosyncratic enough to be left to a
two-stage process, some thing along the lines of:

. set the systems per page to 1, which will break the music up
  into separate lines automatically,
. pass the PDF file through pdfcrop to crop each page(=line),
  probably setting some thin top/bottom margins,
. burst the PDF file with pdftk into a sequentially named set
  of PDF files,
. pass these into LaTeX where the meat of the .tex file
  consists of:

\begin{center}
\includegraphics{filename0001}\\
\includegraphics{filename0002}\\
\includegraphics{filename0003}\\
\includegraphics{filename0004}\\
...
\end{center}

> Else you’d have to
> graphically edit the output score. (Or (have someone) write a patch
> for the respective C++ spacing engines, which might be very
> difficult.)

Cheers,
David.

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

Reply via email to