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