lilypond-user
[Top][All Lists]
Advanced

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

Re: Space on the left end of each line


From: Mats Bengtsson
Subject: Re: Space on the left end of each line
Date: Fri, 16 Nov 2007 09:16:42 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

You didn't tell how you removed the clef and key signatures.
If you use
\override Staff.KeySignature #'transparent = ##t
\override Staff.Clef #'transparent = ##t
then they will still take the same space as if they were printed.
However, based on your problem description, it seems that you have
rather removed the engravers or set ... #'stencil = ##f, which completely
removes the clef and time signatures.

In the latter case, a direct answer to your question is
\override Score.LeftEdge #'space-alist #'first-note = #'(fixed-space . 10.0)

  /Mats

Don Blaheta wrote:
This seems like the sort of thing there should be an easy tweak for, but
I'm not finding the right properties to change, I guess.

I'm setting a bunch of plainchant stuff in more or less modern
notation, so it uses modern note heads and spacing rules and five lines,
but still doesn't have a time signature or key signature and the clef is
only printed on the first line.  However, since the notes start in
immediately on subsequent lines, the lyrics (which are centred on each
note head) sometimes hang off the left end of the staff.  When I have a
stanza mark or something, then it *really* hangs off the end.

So I'd like to allow a fixed-width space at the beginning of the line
before the notes start rendering.  I say "fixed-width" because I've
tried a bunch of things involving adding an invisible note at the
beginning of the line, but since there are a different number of notes
on each line, this makes a variable-width space and the result looks
very ragged.

Ideally this fixed-width space would be configurable, but I'd settle for
an "invisible clef sign" (i.e. a space the same width as the clef sign
on the first line).  But I couldn't figure out how to do that either.

I'm using LP 2.10.0 at the moment, but I'm happy to upgrade again if the
answer is to be found in a later version.


--
=============================================
        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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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