Commit | Line | Data |
---|---|---|
69695f33 MW |
1 | <HTML> |
2 | <HEAD><TITLE> | |
3 | Placing verses below the scores | |
4 | </TITLE></HEAD> | |
5 | <BODY> | |
6 | <P> | |
7 | <A HREF="trnspose.html"><-- previous page</A> | |
8 | ||
9 | <A HREF="index.html">Table of Contents</A> <A HREF="pianored.html">next page --></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 "print" or "paragraph" statements inside | |
20 | <A HREF="prnttext.html#block">a "block."</A> | |
21 | <BR><PRE> | |
22 | block | |
23 | print (_win.w + 30, _win.n - 15) "2. " | |
24 | print "\ | |
25 | Here is the first line | |
26 | and the second line | |
27 | and the third line. | |
28 | " | |
29 | print (_win.w + 90, _win.n - 15) "3. " | |
30 | print "\ | |
31 | Here is another verse's first line | |
32 | and its second line | |
33 | and its third line. | |
34 | " | |
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 "print" 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) "3. " | |
60 | print "\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 | " | |
68 | </PRE><BR> | |
69 | </P> | |
70 | <HR><P> | |
71 | <A HREF="trnspose.html"><-- previous page</A> <A HREF="index.html">Table of Contents</A> <A HREF="pianored.html">next page --></A> | |
72 | </P> | |
73 | </BODY></HTML> |