JPRED-2 Add alscript to the Git repository
[jpred.git] / sources / alscript / doc / alscript / section3_12.html
diff --git a/sources/alscript/doc/alscript/section3_12.html b/sources/alscript/doc/alscript/section3_12.html
new file mode 100644 (file)
index 0000000..ae63026
--- /dev/null
@@ -0,0 +1,45 @@
+<HEAD>
+<TITLE> Using Colour</TITLE>
+</HEAD>
+<BODY><P>
+ <HR> <A NAME=tex2html266 HREF=section3_13.html><IMG ALIGN=MIDDLE SRC="http://geoff.biop.ox.ac.uk/latex2html/next_motif.gif"></A> <A NAME=tex2html264 HREF=alscript.html><IMG ALIGN=MIDDLE SRC="http://geoff.biop.ox.ac.uk/latex2html/up_motif.gif"></A> <A NAME=tex2html258 HREF=subsection3_11_2.html><IMG ALIGN=MIDDLE SRC="http://geoff.biop.ox.ac.uk/latex2html/previous_motif.gif"></A> <A NAME=tex2html268 HREF=tableofcontents3_1.html><IMG ALIGN=MIDDLE SRC="http://geoff.biop.ox.ac.uk/latex2html/contents_motif.gif"></A> <BR>
+<B> Next:</B> <A NAME=tex2html267 HREF=section3_13.html> The MASK command </A>
+<B>Up:</B> <A NAME=tex2html265 HREF=alscript.html>No Title</A>
+<B> Previous:</B> <A NAME=tex2html259 HREF=subsection3_11_2.html> More complex effects </A>
+<HR> <P>
+<H1><A NAME=SECTION00012000000000000000> Using Colour</A></H1>
+<P>
+Version 1.4 includes commands to allow the independent colouring of
+characters, or their backgrounds.  Colours are defined in a similar
+manner to fonts using the DEFINE_COLOUR  command (American spelling also
+allowed).  For example:
+<P>
+DEFINE_COLOUR  7 1 0 0
+<P>
+defines colour number 7 to be red - see 
+<A HREF=subsection3_16_1.html#app1>ALSCRIPT Command Summary</A>
+for full details of
+this command.  Colours 99 and 100 are pre-defined to white and black.
+ALSCRIPT assumes the paper colour is white.
+<P>
+The command to colour the text of a character or text string is:
+<P>
+CCOL_CHARS 
+<P>
+the command to colour the background of a character is
+<P>
+SCOL_CHARS 
+<P>
+both have similar syntax to the FONT_CHARScommand.
+<P>
+COLOUR_REGION  and COLOUR_RES have similar syntax to SHADE_REGION and
+SHADE_RES.
+<P>
+An example command file that uses colour is shown in example3.als.
+<P>
+<HR>
+
+</BODY>
+<P><ADDRESS>
+gjb@bioch.ox.ac.uk
+</ADDRESS>
\ No newline at end of file