chiark / gitweb /
Import upstream version 5.3.
[mup] / mup / docs / uguide / verses.html
1 <HTML>
2 <HEAD><TITLE>
3 Placing verses below the scores
4 </TITLE></HEAD>
5 <BODY>
6 <P>
7 &nbsp;&nbsp;&nbsp;<A HREF="trnspose.html">&lt;-- previous page</A>
8
9 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="pianored.html">next page --&gt;</A>
10 </P>
11          
12 <H2>
13 Placing verses below the scores
14 </H2>
15 <P>
16 Sometimes, particularly with songs that have a lot of verses,
17 you may want to put some verses of lyrics as blocks of
18 text below the music. Probably the easiest way to do this
19 is using &quot;print&quot; or &quot;paragraph&quot; statements inside
20 <A HREF="prnttext.html#block">a "block."</A>
21 <BR><PRE>
22 block
23 print (_win.w + 30, _win.n - 15) &quot;2.   &quot;
24 print &quot;\
25 Here is the first line
26 and the second line
27 and the third line.
28 &quot;
29 print (_win.w + 90, _win.n - 15) &quot;3.   &quot;
30 print &quot;\
31 Here is another verse's first line
32 and its second line
33 and its third line.
34 &quot;
35 </PRE><BR>
36 </P>
37 <P>
38 You may need to use a little trial-and-error to determine the
39 coordinates to use on the print statements,
40 but you only have to determine one coordinate per verse,
41 and with a bit of practice it gets easier to find the right values.
42 Since the &quot;print&quot; statement is being used, the font and size will be
43 determined by the
44 <A HREF="param.html#size">size parameter</A>
45 and
46 <A HREF="param.html#font">font parameter,</A>
47 rather than by
48 <A HREF="param.html#lyrsize">lyricssize</A>
49 and
50 <A HREF="param.html#lyrfont">lyricsfont.</A>
51 </P>
52 <P>
53 If you also want chords symbols with these verses,
54 you can do that too. It is easiest if you use Courier font,
55 as shown in the example below, since its constant-width characters
56 make it easy to line things up. If you use a proportional-width font,
57 you will have to determine how to place the chords by trial and error.
58 <BR><PRE>
59 print (_win.w + 50, _win.n - 35) &quot;3.   &quot;
60 print &quot;\f(CR)\
61 C            D7    G7
62 This is the first line
63 C       F
64 of the next verse
65 B\(smflat)
66 of the song.
67 &quot;
68 </PRE><BR>
69 </P>
70 <HR><P>
71 &nbsp;&nbsp;&nbsp;<A HREF="trnspose.html">&lt;-- previous page</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="index.html">Table of Contents</A>&nbsp;&nbsp;&nbsp;&nbsp;<A HREF="pianored.html">next page --&gt;</A>
72 </P>
73 </BODY></HTML>