<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[12pt]{xepersian-user}
\usepackage{xecolour}
\usepackage{supertabular}
\setmainfont[Scale=1,Mapping=tex-text]{Linux Libertine}
\def\Date{09/01/05}
\def\Version{0.1}
\makeindex
\begin{document}
\begingroup
\evensidemargin \paperwidth\relax
\advance\evensidemargin -2in
\advance\evensidemargin -\textwidth
\divide\evensidemargin 2
\oddsidemargin\evensidemargin
\begin{titlepage}

\let\footnotesize\small
\let\footnoterule\relax
\setcounter{page}{0}

\null
\vfil
\vskip 25pt
\begin{center}
  {\LARGE\textbf{\textsf{xecolour} Package}}\\[5pt]
  {\large\textbf{Colour in \XeLaTeX}.}\\
\end{center}

\bigskip\bigskip
\hbox to \hsize{%
  \hss
%\includegraphics[width=9cm,height=9cm]{iran.jpg}
   \hss}
\bigskip
\bigskip

\begin{center}
{\LARGE\textbf{User's Guide}}\par
\vskip 3em
{\large \lineskip .75em Vafa Khalighi}\par
\vskip 1.5em
{\large \thefiledate\\[2pt]
 Version \Version%
 \footnote{Documentation edited and repacked at \thefiledate\ by 
           Vafa Khalighi \url{vafa.khalighi@students.mq.edu.au}.}}\par

\end{center}
\vfil
\small
Author's address:\\
  4/34 Sorrell Street\\
  Parramatta\\
  NSW 2150\\
 Australia\\[3mm]
  Internet: \Verb[codes={\catcode`\&lt;=12}]+&lt;vafa.khalighi@students.mq.edu.au&gt;+
\end{titlepage}

\endgroup

\setcounter{footnote}{0}
\tableofcontents
\pagenumbering{arabic}
\part*{Introduction}
As the author of \XePersian\ package (a package for Persian typesetting in \LaTeX\ over \XeTeX), I always wanted to write a package that make writing in colours easy in bidirectional texts. However there are packages \textsf{color} and \textsf{xcolor}, but writing bidirectional texts in different colours using these packages is a nightmare and the colours of the text will get mixed. In fact, the \textsf{bidi} package has a patch where one could use the packages mentioned above to write text in colour but unfortunately that text has got to be not more than a line, otherwise the colour of the text gets mixed.

Thus, I wrote \textsf{xecolour} package which allows the user to write texts in 140 different colours without any problem. I have used \XeTeX's feature to define 140 colours and I believe these 140 colours are all one needs. The command names are just the names of colours (i.e. "\blue" for blue colour) and the general syntax is:
\begingroup
\catcode`\&lt;=12
\Mac \colourname{&lt;text&gt;}
\endgroup
In the next section, you will see a sample of each colour, and at the end of this manual, in the index part, all commands are written in alphabetical order. So if you wish to use a specific colour, please look at the index and find the command you should use.
\part{Sample Colours}
\begin{tabular}{rl}
\aliceblue{xecolour}&amp;\n\aliceblue\\
\aquamarine{xecolour}&amp;\n\aquamarine\\
\bisque{xecolour}&amp;\n\bisque\\
\blue{xecolour} &amp;\n\blue\\
\burlywood{xecolour}&amp;\n\burlywood\\
\chocolate{xecolour}&amp;\n\chocolate\\
\cornsilk{xecolour}&amp;\n\cornsilk\\
\darkblue{xecolour}&amp;\n\darkblue\\
\darkgray{xecolour}&amp;\n\darkgray\\
\darkmagenta{xecolour}&amp;\n\darkmagenta\\
\darkorchid{xecolour}&amp;\n\darkorchid\\
\darkseagreen{xecolour}&amp;\n\darkseagreen\\
\darkturquoise{xecolour}&amp;\n\darkturquoise\\
\deepskyblue{xecolour}&amp;\n\deepskyblue\\
\firebrick{xecolour}&amp;\n\firebrick\\
\fuchsia{xecolour}&amp;\n\fuchsia\\
\gold{xecolour}&amp;\n\gold\\
\green{xecolour}&amp;\n\green\\
\hotpink{xecolour}&amp;\n\hotpink\\
\ivory{xecolour}&amp;\n\ivory\\
\lavenderblush{xecolour}&amp;\n\lavenderblush\\
\lightblue{xecolour}&amp;\n\lightblue\\
\lightgoldenrodyellow{xecolour}&amp;\n\lightgoldenrodyellow\\
\lightpink{xecolour}&amp;\n\lightpink\\
\lightskyblue{xecolour}&amp;\n\lightskyblue\\
\lightyellow{xecolour}&amp;\n\lightyellow\\
\linen{xecolour}&amp;\n\linen\\
\mediumaquamarine{xecolour}&amp;\n\mediumaquamarine\\
\mediumpurple{xecolour}&amp;\n\mediumpurple\\
\end{tabular}
\newpage
\begin{tabular}{rl}
\mediumspringgreen{xecolour}&amp;\n\mediumspringgreen\\
\midnightblue{xecolour}&amp;\n\midnightblue\\
\moccasin{xecolour}&amp;\n\moccasin\\
\oldlace{xecolour}&amp;\n\oldlace\\
\orangered{xecolour}&amp;\n\orangered\\
\palegreen{xecolour}&amp;\n\palegreen\\
\papayawhip{xecolour}&amp;\n\papayawhip\\
\pink{xecolour}&amp;\n\pink\\
\purple{xecolour}&amp;\n\purple\\
\royalblue{xecolour}&amp;\n\royalblue\\
\sandybrown{xecolour}&amp;\n\sandybrown\\
\sienna{xecolour}&amp;\n\sienna\\
\slateblue{xecolour}&amp;\n\slateblue\\
\steelblue{xecolour}&amp;\n\steelblue\\
\thistle{xecolor}&amp;\n\thistle\\
\violet{xecolour}&amp;\n\violet\\
\whitesmoke{xecolour}&amp;\n\whitesmoke\\
\antiquewhite{xecolour}&amp;\n\antiquewhite\\
\azure{xecolour}&amp;\n\azure\\
\black{xecolour}&amp;\n\black\\
\blueviolet{xecolour}&amp;\n\blueviolet\\
\cadetblue{xecolour}&amp;\n\cadetblue\\
\coral{xecolour}&amp;\n\coral\\
\crimson{xecolour}&amp;\n\crimson\\
\darkcyan{xecolour}&amp;\n\darkcyan\\
\darkgreen{xecolour}&amp;\n\darkgreen\\
\darkolivegreen{xecolour}&amp;\n\darkolivegreen\\
\darkred{xecolour}&amp;\n\darkred\\
\darkslateblue{xecolour}&amp;\n\darkslateblue\\
\darkviolet{xecolour}&amp;\n\darkviolet\\
\dimgray{xecolour}&amp;\n\dimgray\\
\floralwhite{xecolour}&amp;\n\floralwhite\\
\gainsboro{xecolour}&amp;\n\gainsboro\\
\goldenrod{xecolour}&amp;\n\goldenrod\\
\greenyellow{xecolour}&amp;\n\greenyellow\\
\indianred{xecolour}&amp;\n\indianred\\
\khaki{xecolour}&amp;\n\khaki\\
\lawngreen{xecolour}&amp;\n\lawngreen\\
\end{tabular}
\newpage
\begin{tabular}{rl}
\lightcoral{xecolour}&amp;\n\lightcoral\\
\lightgreen{xecolour}&amp;\n\lightgreen\\
\lightsalmon{xecolour}&amp;\n\lightsalmon\\
\lightslategray{xecolour}&amp;\n\lightslategray\\
\lime{xecolour}&amp;\n\lime\\
\magenta{xecolour}&amp;\n\magenta\\
\mediumblue{xecolour}&amp;\n\mediumblue\\
\mediumseagreen{xecolour}&amp;\n\mediumseagreen\\
\mediumturquoise{xecolour}&amp;\n\mediumturquoise\\
\mintcream{xecolour}&amp;\n\mintcream\\
\navajowhite{xecolour}&amp;\n\navajowhite\\
\olivedrab{xecolour}&amp;\n\olivedrab\\
\orchid{xecolour}&amp;\n\orchid\\
\paleturquoise{xecolour}&amp;\n\paleturquoise\\
\peachpuff{xecolour}&amp;\n\peachpuff\\
\plum{xecolour}&amp;\n\plum\\
\red{xecolour}&amp;\n\red\\
\saddlebrown{xecolour}&amp;\n\saddlebrown\\
\seagreen{xecolour}&amp;\n\seagreen\\
\silver{xecolour}&amp;\n\silver\\
\snow{xecolour}&amp;\n\snow\\
\tancolour{xecolour}&amp;\n\tancolour\\
\tomato{xecolour}&amp;\n\tomato\\
\wheat{xecolour}&amp;\n\wheat\\
\yellow{xecolour}&amp;\n\yellow\\
\aqua{xecolour}&amp;\n\aqua\\
\beige{xecolour}&amp;\n\beige\\
\blanchedalmond{xecolour}&amp;\n\blanchedalmond\\
\brown{xecolour}&amp;\n\brown\\
\chartreuse{xecolour}&amp;\n\chartreuse\\
\cornflowerblue{xecolour}&amp;\n\cornflowerblue\\
\cyan{xecolour}&amp;\n\cyan\\
\darkgoldenrod{xecolour}&amp;\n\darkgoldenrod\\
\darkkhaki{xecolour}&amp;\n\darkkhaki\\
\darkorange{xecolour}&amp;\n\darkorange\\
\darksalmon{xecolour}&amp;\n\darksalmon\\
\darkslategray{xecolour}&amp;\n\darkslategray\\
\end{tabular}
\newpage
\begin{tabular}{rl}
\deeppink{xecolour}&amp;\n\deeppink\\
\dodgerblue{xecolour}&amp;\n\dodgerblue\\
\forestgreen{xecolour}&amp;\n\forestgreen\\
\ghostwhite{xecolour}&amp;\n\ghostwhite\\
\gray{xecolour}&amp;\n\gray\\
\honeydew{xecolour}&amp;\n\honeydew\\
\indigo{xecolour}&amp;\n\indigo\\
\lavender{xecolour}&amp;\n\lavender\\
\lemonchiffon{xecolour}&amp;\n\lemonchiffon\\
\lightcyan{xecolour}&amp;\n\lightcyan\\
\lightgrey{xecolour}&amp;\n\lightgrey\\
\lightseagreen{xecolour}&amp;\n\lightseagreen\\
\lightsteelblue{xecolour}&amp;\n\lightsteelblue\\
\limegreen{xecolour}&amp;\n\limegreen\\
\maroon{xecolour}&amp;\n\maroon\\
\mediumorchid{xecolour}&amp;\n\mediumorchid\\
\mediumslateblue{xecolour}&amp;\n\mediumslateblue\\
\mediumvioletred{xecolour}&amp;\n\mediumvioletred\\
\mistyrose{xecolour}&amp;\n\mistyrose\\
\navy{xecolour}&amp;\n\mistyrose\\
\orange{xecolour}&amp;\n\orange\\
\palegoldenrod{xecolour}&amp;\n\palegoldenrod\\
\palevioletred{xecolour}&amp;\n\palevioletred\\
\peru{xecolour}&amp;\n\peru\\
\powderblue{xecolour}&amp;\n\powderblue\\
\rosybrown{xecolour}&amp;\n\rosybrown\\
\salmon{xecolour}&amp;\n\salmon\\
\seashell{xecolour}&amp;\n\seashell\\
\skyblue{xecolour}&amp;\n\skyblue\\
\springgreen{xecolour}&amp;\n\springgreen\\
\teal{xecolour}&amp;\n\teal\\
\turquoise{xecolour}&amp;\n\turquoise\\
\white{xecolour}&amp;\n\white\\
\yellowgreen{xecolour}&amp;\n\yellowgreen\\
\lightyellow{xecolour}&amp;\n\lightyellow\\
\crimson{xecolour}&amp;\n\crimson\\
\bluishgreenishgrey{xecolour}&amp;\n\bluishgreenishgrey\\
\end{tabular}



\PrintUserIndex
\end{document}
</pre></body></html>