[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chords as roman numerals?
From: |
Mats Bengtsson |
Subject: |
Re: chords as roman numerals? |
Date: |
Fri, 09 May 2003 11:27:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 |
All contexts (Staff, Lyrics, ...) are printed in the order they are
first defined, so just say
my_lyrics = \lyrics{...}
my_music = \notes {...}
\score{
\context Lyrics = Lyrics_Above \my_lyrics
\context Staff = The_Music \my_music
}
However, a minor complication arrives if you want to use the
\addlyrics feature to automatically match the syllables to the
notes, since it takes the music as the first argument and the
lyrics as the second argument. The trick then is to first define
all the contexts in the order you want them just filled with a
few bars of space and then use the same contexts for the actual
music and lyrics joined together with \addlyrics. Something like:
\score{
% Predeclare the contexts to get the correct order
\context Lyrics = Lyrics_Above {s1}
\context Staff = The_Music {s1}
% The actual music and text
\addlyrics
\context Staff = The_Music \my_music
\context Lyrics = Lyrics_Above \my_lyrics
}
See also the template file /usr/share/doc/lilypond/input/template/satb.ly
(or wherever it's installed on your system).
/Mats
Russell wrote:
Can you put a lyric line above the staff instead of below? How would you
do that?
Thanks.
Russell.
On Thu, 2003-05-08 at 05:36, Mats Bengtsson wrote:
If you only wanted numbers and accidentals, you could have used the
support for figured bass (see the reference manual). However, for
your needs, I would recommend to typeset them using ordinary text
markup, which also is well described in the manual. The disadvantage
is that the different chord indications will not be aligned vertically.
If you want them vertically aligned, you could typeset as a lyrics line.
But then you would have to say something like V$_7$ to get the subscripts,
--
=============================================
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
=============================================