💾 Archived View for runjimmyrunrunyoufuckerrun.com › src › foreign › pmw › contrib › FigBass captured on 2021-12-17 at 13:26:06.

View Raw

More Information

-=-=-=-=-=-=-

@ This set of macros shows one way of handling figured bass notation in PMS.
@ Philip Hazel, February 1994. Updated February, April 1998, March 1999.

@ There is a basic macro called b, which prints its argument below the stave, at 
@ the underlay level, using text size 2. This can be used directly if required, 
@ in simple cases, for example:
@    &b(4) g &b(5) a
@ To cope with two numbers in a vertical stack, the macro d is defined to move 
@ down an appropriate amount; it is used after the second call to b, for example,

@    &b(7)&b(9)&d

@ prints a 9 below a 7 under the next note.

textsizes 10 9 2.5


@ The effect of using the underlay level is that all the figurings on a given 
@ line are printed at the same level. If you don't want this, then "bu" can be 
@ changed to "b" to print below each individual note. If you do this, the d 
@ macro becomes irrelevant, since PMS automatically prints multiple 
@ non-underlay strings below each other. Either remove the references to &d 
@ below, or define it to be null, for example:

@ *define d
@ *define b()  "\rm\&&1"/b/s2

@ The remaining macros are all defined in terms of b and d. Note that, because 
@ macros are handle in a single pass in PMS, you cannot nest macro calls. That 
@ is, you cannot use a call to one macro inside the argument of a call to 
@ another. That is why the accidental strings are written out explicitly in 
@ several cases.

@ When accidentals occur as part of the figuring, they have to be printed at an 
@ appropriate size and positioned nicely with respect to any adjacent figures.
@ These three macros are defined in terms of the b macro, and print solitary 
@ accidentals, at available sizes that I think look reasonable. This is a fudge 
@ to avoid having to define different text strings in order to use other sizes. 
@ The sharp and natural use the full-size music font, but reduced to the "small 
@ cap" size, while the flat uses the reduced music font.

@ These define a flat, natural, and sharp, respectively. The same strings are
@ used when an accidental is required in one of the composite figures defined 
@ afterwards.



@ These are shorthands for common figurings. Well, they were common in a set of 
@ examples that I happened to be printing when I originally defined these, and 
@ they have been added to subsequently. You can easily extend them further by 
@ copying and modifying.


@ This version built from a 4 and a +

@ This version uses a 5 and a +

@ This version uses a 5 and a +

@ This version uses a 6 and a rotated thick barline
@ *define 6cp  &b(6)&b(\mf\\66\)/s3/u4.5/r3.9/rot70
@ This version uses a 6 and a rotated +

@ This version uses a 4 and a +

@ This version uses a 5 and a +

  


@ End of figured bass macros.