Quick links


How to write text elements that are well aligned above a staff?
Create a new staff.
Change its type to "Text".
Move the lyrics line to the top of the staff area by moving the red triangle.
Shrink the staff area to make it match the lyrics line height.
Move this staff above the required staff.
Input your text in the lyrics line.
What string commands can be included in "text" objects, or page header and footer?

A text object can include special character commands that will be substituted when displayed. These commands are the same as those used in page header and footer editing.

$B : current bar number
$D : current date
$F : file name
$H : current time
$T : document title
$L is substituted by lyrics.
The $L command is subtituted by the lyrics related to the score. This allow for example to create easily texts objects with the couplets.
 When more than one staff own lyrics, you can select the staff with $L"staff name". You can extract a line of text using $L,line number. For example $L,4 will extract the 4th line or the first staff with lyrics. You can extract a range of played bars using $L,b1-b2 where b1 is the first bar, b2 the last bar. For example, $L"melody",1-24 will extract the lyrics related to the bar 1 to 24 of the staff "melody".
$M : total music duration (mm:ss)
$N : number of pages
$P : page number
$X : frame around text (text object only)
$$ : $ character
$(xxx) rythmic pattern

What about rhythmic patterns?

A rhythmic pattern is written between parenthesis in a text object, preceded by a $.
It enables to write music symbols within a text. All notes are displayed with their stem up.
Here is what such a pattern can be made of:

Notes are separated by a + or a space if they are independent, by an underscore _ if they are tied together.

Notes between brackets [ ] are beamed together.

Each note can be:
- optional:
    d (double-flat)
    b (flat) 
    # (sharp) 
    x (double-sharp) or
    n (natural)
- then, optional:
    R if the note is a rest
- followed by the note duration:
    1 whole note
    2 half note
    4 quarter ... etc
- followed optionally by:
    . (dotted) or
    .. (double dotted)
- followed optionally by a simple tuplet:
    :3 simple triplet
    :6 simple sextuplet, etc
  or a complex tuplet:
    :3:2 for a triplet written 3:2
    :6:4 for a sextuplet written 6:4
Some markers can be inserted within the command. Their action runs until the end of the parenthesis:

     S0 (small)
     S1 (middle)
     S2 (standard)
     S3 (big)
     Cxxxxxx (xxxxxx = RGB color in hexadecimal)
Symbol spacing:     
     Lx (x = additional spacing between notes, from -9 to 9)
Notehead shape:
     Hx  (x = shape, from A to Z)
        A   Standard shape,
        B   Triangle,
        C   Diamond,
        D   Cross,
        E    Plus,
        F    Square,
        G   Slash,
        H   None,
        I    Flag,
        J    Half circle,
        K   Drop,
        L    Hourglass,
        M   Arc,
        N    Empty diamond,
        O    Truncated cone,
        P    Crescent,
        Q    Left triangle,
        R    Bell,
        S    Concave triangle, 
        T    Convex triangle, 
        U    Johnson triangle, 
        V    Johnson square,      
        W   Bold crossed circle,     
        X    Bold cross,                 
        Y    Thin crossed circle,           
        Z    This crossed half circle
For example, the following command:
Swing : $([8 8]) = $([8_32] 16.)
Will be displayed as:
"Swing",  followed by two beamed height notes, then the equal "=" symbol, then an eighth note beamed and tied with a 32th, followed by a dotted sixteenth.

Home > Resources > ManualsFAQ > Text

Top of page
Last update:  (c) Myriad 2013