X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=sources%2Falscript%2Fexamples%2Fexample2.als;fp=sources%2Falscript%2Fexamples%2Fexample2.als;h=642a7a29d97f3247073b8ca2f2cb1a64052e8515;hb=4a806b607a11fc8a5296b11d5b863bbf8a448808;hp=0000000000000000000000000000000000000000;hpb=443c228bf0712d71e7fa34b5a2dc4b2b2e79f13f;p=jpred.git diff --git a/sources/alscript/examples/example2.als b/sources/alscript/examples/example2.als new file mode 100644 index 0000000..642a7a2 --- /dev/null +++ b/sources/alscript/examples/example2.als @@ -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