lilypond-user
[Top][All Lists]
Advanced

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

Re: chord and clef questions


From: Mats Bengtsson
Subject: Re: chord and clef questions
Date: Fri, 02 Mar 2007 16:02:48 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061206)



rif wrote:
Hi.

I'm typesetting a jazz lead sheet, and trying to go for a somewhat
"RealBook" style look, and I'm having a couple of problems.  I've combed
the documentation, but I'm not really finding the answers.  (I'm using
lilypond 2.6.3, which is the current ubuntu linux version.)

I recommend that you install the latest stable LilyPond version 2.10 from
www.lilypond.org -> Downloads. There's an installation package there that
works for all Linux distributions.

1.  At the end of the tune is a turnaround, so I'd like to put one or
more measures of chords inside (a single set of) parenthesis.  Is this
possible?
I made a quick hack to solve a similar problem in
http://lists.gnu.org/archive/html/lilypond-user/2006-09/msg00467.html
You may want to adjust some parameters, for example replacing -2.8 by 0
or whatever. If you want parenthesis and not brackets, you can use a similar
strategy, for example by defining

rightParenthesis = {
\once \override BreathingSign #'text = \markup{ \fontsize #4 ) }
\once \override BreathingSign #'Y-offset = ##f
\breathe
}

In order to be able to use these commands in a ChordNames context, you have
to add the engraver that handles breathing signs (since I use the breathing sign
mechanism above), i.e. you have to add the lines
\layout{
 \context{
   \ChordNames
   \consists "Breathing_sign_engraver"
 }
}
to your file (for example at the very top or the very bottom of the file).


2.  Is there an easy way to only have the treble clef symbol and key
signature to only appear on the first line of each page?
Not if you want it fully automated. However, you can turn of the clef symbol
using
\override Score.Clef #'break-visibility = #all-invisible
and turn it on again using
\revert Score.Clef #'break-visibility
so if you manually specify the page breaks using \pageBreak, it's easy
to insert these commands at the appropriate places. For key signatures, just
use KeySignature instead of Clef.

  /Mats





reply via email to

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