lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nasty header positioning issues


From: Werner LEMBERG
Subject: Re: nasty header positioning issues
Date: Sat, 01 May 2010 15:20:17 +0200 (CEST)

>> This seems to be a bug...
> 
> Yes, \fill-line doesn't like being nested:
> http://code.google.com/p/lilypond/issues/detail?id=382

Thanks.  However, this is only part of the problem.  What I would
really like to do is to insert some vertical space.  However, doing

  subtitle = \markup { \vspace #2
                       "ABCDEFGFEDCBA" }

causes even worse results, as shown in the attached PDF.


    Werner
%
% header-vspace.ly
%

\version "2.13.11"

#(ly:set-option 'point-and-click #f)

#(set-default-paper-size "a4")
#(set-global-staff-size 18)

\paper {
  line-width = 170.0\mm
  top-margin = 15.0\mm
  bottom-margin = 15.0\mm
  indent = 0.0\mm
}

\bookpart {
  \header {
    title = "ABCDEDCBA"
    subtitle = "ABCDEFGFEDCBA"
    copyright = ##f
    footer = ##f
    tagline = ##f
  }
  \score { c'' }
}

\bookpart {
  \header {
    title = "ABCDEDCBA"
    subtitle = \markup { \vspace #2
                         "ABCDEFGFEDCBA" }
    copyright = ##f
    footer = ##f
    tagline = ##f
  }
  \score { c'' }
}

% EOF

Attachment: header-vspace.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]