"Carl Sorensen" <c_soren...@byu.edu> wrote in message news:ca73d11b.21366%c_soren...@byu.edu...
Peter,

I've forwarded this to bug-lilypond, because it is a bug.
\contextStringTuning sets a context property for the FretBoards context.
This creates a FretBoards context if one doesn't exist.

I'll investigate possible fixes.

In the meantime, since you're not using FretBoards in this layout, put the
following in your file before the score:

contextStringTuning =
#(define-music-function (parser location tuning chord)
  (symbol? ly:music?)
  (_ "Convert @{chord} to a string tuning stored in @code{tuning},
and set @code{stringTunings} of the current context to the
newly-defined tuning.
@{chord} must be in absolute pitches and should have the highest
string number (generally the lowest pitch) first.  @code{tuning}
should be a string that will be converted to a symbol.")
  (begin
    (chord->tuning parser tuning chord)
    #{
       \set TabStaff.stringTunings = $(ly:parser-lookup parser tuning)
    #}))

HTH,

Carl


------ Forwarded Message
From: Peter Crighton <petecrigh...@googlemail.com>
Date: Fri, 19 Aug 2011 06:58:05 -0600
To: LilyPond Mailing List <lilypond-u...@gnu.org>
Conversation: Custom Tuning creating space beneath the first system
Subject: Custom Tuning creating space beneath the first system

Hi everybody.

When I create a custom tuning via \contextStringTuning there is some
extra vertical space (only) beneath the first system. When creating it
via \set TabStaff.stringTunings everything's perfect.
Is this a bug? Can it be fixed? I'd like to use \contextStringTuning,
because it's more compact.

--

Added to the tracker as http://code.google.com/p/lilypond/issues/detail?id=1828



--
Phil Holmes
Bug Squad




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

Reply via email to