JPRED-2 Add alscript to the Git repository
[jpred.git] / sources / alscript / examples / demo / example2.als
1 # FILE example2.com
2 #
3 #Commands are free format - separated by blank, tab or comma characters
4 #
5 BLOCK_FILE      example.blc             #define the block file to format
6 OUTPUT_FILE     example2.ps             #where to put the result
7 LANDSCAPE                               #landscape paper orientation
8 POINTSIZE 12                            #12 point default pointsize
9 DEFINE_FONT 0 Helvetica DEFAULT         #set font 0 to be Helvetica
10 DEFINE_FONT 1 Helvetica REL 0.5         #set font 1 to be half sized Helvetica
11 DEFINE_FONT 3 Helvetica-Bold DEFAULT    #set font 3 to be Bold Helvetica
12 DEFINE_FONT 4 Times-BoldItalic DEFAULT  #font 4 is Times-BoldItalic
13 NUMBER_SEQS                             #Number the sequences at left hand side
14 SETUP                                   #Tell the program to get on with the formatting.
15 #
16 #step 2 commands come after the SETUP command 
17 #
18 #Here are some examples...
19 #
20 SURROUND_CHARS GP ALL           #draw lines around all G and P
21 SHADE_CHARS ILVW ALL 0.6        #shade all I L V and W with value 0.6
22 BOX_REGION 1 1 2 20 0.8         #rectangular box from positions 1 to 2 of sequences 1 to 20
23 FONT_CHARS C ALL 3              #Use font 3 (BOLD Helvetica) for C characters
24 ID_FONT ALL 1                   #set identifiers in font 1