From cda51e57bcaed7d5e160f7561963fe959499de73 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 16 Jan 2009 00:44:45 +0000 Subject: xecolour needs flattening git-svn-id: svn://tug.org/texlive/trunk@11891 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/xelatex/xecolour/doc/xecolour-user.pdf | Bin 94468 -> 0 bytes .../doc/xelatex/xecolour/doc/xecolour-user.tex | 229 --------------------- .../doc/xelatex/xecolour/tex/xecolour.sty | 161 --------------- .../doc/xelatex/xecolour/xecolour-user.pdf | Bin 0 -> 94468 bytes .../doc/xelatex/xecolour/xecolour-user.tex | 229 +++++++++++++++++++++ 5 files changed, 229 insertions(+), 390 deletions(-) delete mode 100644 Master/texmf-dist/doc/xelatex/xecolour/doc/xecolour-user.pdf delete mode 100644 Master/texmf-dist/doc/xelatex/xecolour/doc/xecolour-user.tex delete mode 100644 Master/texmf-dist/doc/xelatex/xecolour/tex/xecolour.sty create mode 100644 Master/texmf-dist/doc/xelatex/xecolour/xecolour-user.pdf create mode 100644 Master/texmf-dist/doc/xelatex/xecolour/xecolour-user.tex (limited to 'Master/texmf-dist/doc/xelatex') diff --git a/Master/texmf-dist/doc/xelatex/xecolour/doc/xecolour-user.pdf b/Master/texmf-dist/doc/xelatex/xecolour/doc/xecolour-user.pdf deleted file mode 100644 index 92610d4ae49..00000000000 Binary files a/Master/texmf-dist/doc/xelatex/xecolour/doc/xecolour-user.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/xelatex/xecolour/doc/xecolour-user.tex b/Master/texmf-dist/doc/xelatex/xecolour/doc/xecolour-user.tex deleted file mode 100644 index 7d743e23c52..00000000000 --- a/Master/texmf-dist/doc/xelatex/xecolour/doc/xecolour-user.tex +++ /dev/null @@ -1,229 +0,0 @@ -\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`\<=12}]++ -\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`\<=12 -\Mac \colourname{} -\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}&\n\aliceblue\\ -\aquamarine{xecolour}&\n\aquamarine\\ -\bisque{xecolour}&\n\bisque\\ -\blue{xecolour} &\n\blue\\ -\burlywood{xecolour}&\n\burlywood\\ -\chocolate{xecolour}&\n\chocolate\\ -\cornsilk{xecolour}&\n\cornsilk\\ -\darkblue{xecolour}&\n\darkblue\\ -\darkgray{xecolour}&\n\darkgray\\ -\darkmagenta{xecolour}&\n\darkmagenta\\ -\darkorchid{xecolour}&\n\darkorchid\\ -\darkseagreen{xecolour}&\n\darkseagreen\\ -\darkturquoise{xecolour}&\n\darkturquoise\\ -\deepskyblue{xecolour}&\n\deepskyblue\\ -\firebrick{xecolour}&\n\firebrick\\ -\fuchsia{xecolour}&\n\fuchsia\\ -\gold{xecolour}&\n\gold\\ -\green{xecolour}&\n\green\\ -\hotpink{xecolour}&\n\hotpink\\ -\ivory{xecolour}&\n\ivory\\ -\lavenderblush{xecolour}&\n\lavenderblush\\ -\lightblue{xecolour}&\n\lightblue\\ -\lightgoldenrodyellow{xecolour}&\n\lightgoldenrodyellow\\ -\lightpink{xecolour}&\n\lightpink\\ -\lightskyblue{xecolour}&\n\lightskyblue\\ -\lightyellow{xecolour}&\n\lightyellow\\ -\linen{xecolour}&\n\linen\\ -\mediumaquamarine{xecolour}&\n\mediumaquamarine\\ -\mediumpurple{xecolour}&\n\mediumpurple\\ -\end{tabular} -\newpage -\begin{tabular}{rl} -\mediumspringgreen{xecolour}&\n\mediumspringgreen\\ -\midnightblue{xecolour}&\n\midnightblue\\ -\moccasin{xecolour}&\n\moccasin\\ -\oldlace{xecolour}&\n\oldlace\\ -\orangered{xecolour}&\n\orangered\\ -\palegreen{xecolour}&\n\palegreen\\ -\papayawhip{xecolour}&\n\papayawhip\\ -\pink{xecolour}&\n\pink\\ -\purple{xecolour}&\n\purple\\ -\royalblue{xecolour}&\n\royalblue\\ -\sandybrown{xecolour}&\n\sandybrown\\ -\sienna{xecolour}&\n\sienna\\ -\slateblue{xecolour}&\n\slateblue\\ -\steelblue{xecolour}&\n\steelblue\\ -\thistle{xecolor}&\n\thistle\\ -\violet{xecolour}&\n\violet\\ -\whitesmoke{xecolour}&\n\whitesmoke\\ -\antiquewhite{xecolour}&\n\antiquewhite\\ -\azure{xecolour}&\n\azure\\ -\black{xecolour}&\n\black\\ -\blueviolet{xecolour}&\n\blueviolet\\ -\cadetblue{xecolour}&\n\cadetblue\\ -\coral{xecolour}&\n\coral\\ -\crimson{xecolour}&\n\crimson\\ -\darkcyan{xecolour}&\n\darkcyan\\ -\darkgreen{xecolour}&\n\darkgreen\\ -\darkolivegreen{xecolour}&\n\darkolivegreen\\ -\darkred{xecolour}&\n\darkred\\ -\darkslateblue{xecolour}&\n\darkslateblue\\ -\darkviolet{xecolour}&\n\darkviolet\\ -\dimgray{xecolour}&\n\dimgray\\ -\floralwhite{xecolour}&\n\floralwhite\\ -\gainsboro{xecolour}&\n\gainsboro\\ -\goldenrod{xecolour}&\n\goldenrod\\ -\greenyellow{xecolour}&\n\greenyellow\\ -\indianred{xecolour}&\n\indianred\\ -\khaki{xecolour}&\n\khaki\\ -\lawngreen{xecolour}&\n\lawngreen\\ -\end{tabular} -\newpage -\begin{tabular}{rl} -\lightcoral{xecolour}&\n\lightcoral\\ -\lightgreen{xecolour}&\n\lightgreen\\ -\lightsalmon{xecolour}&\n\lightsalmon\\ -\lightslategray{xecolour}&\n\lightslategray\\ -\lime{xecolour}&\n\lime\\ -\magenta{xecolour}&\n\magenta\\ -\mediumblue{xecolour}&\n\mediumblue\\ -\mediumseagreen{xecolour}&\n\mediumseagreen\\ -\mediumturquoise{xecolour}&\n\mediumturquoise\\ -\mintcream{xecolour}&\n\mintcream\\ -\navajowhite{xecolour}&\n\navajowhite\\ -\olivedrab{xecolour}&\n\olivedrab\\ -\orchid{xecolour}&\n\orchid\\ -\paleturquoise{xecolour}&\n\paleturquoise\\ -\peachpuff{xecolour}&\n\peachpuff\\ -\plum{xecolour}&\n\plum\\ -\red{xecolour}&\n\red\\ -\saddlebrown{xecolour}&\n\saddlebrown\\ -\seagreen{xecolour}&\n\seagreen\\ -\silver{xecolour}&\n\silver\\ -\snow{xecolour}&\n\snow\\ -\tancolour{xecolour}&\n\tancolour\\ -\tomato{xecolour}&\n\tomato\\ -\wheat{xecolour}&\n\wheat\\ -\yellow{xecolour}&\n\yellow\\ -\aqua{xecolour}&\n\aqua\\ -\beige{xecolour}&\n\beige\\ -\blanchedalmond{xecolour}&\n\blanchedalmond\\ -\brown{xecolour}&\n\brown\\ -\chartreuse{xecolour}&\n\chartreuse\\ -\cornflowerblue{xecolour}&\n\cornflowerblue\\ -\cyan{xecolour}&\n\cyan\\ -\darkgoldenrod{xecolour}&\n\darkgoldenrod\\ -\darkkhaki{xecolour}&\n\darkkhaki\\ -\darkorange{xecolour}&\n\darkorange\\ -\darksalmon{xecolour}&\n\darksalmon\\ -\darkslategray{xecolour}&\n\darkslategray\\ -\end{tabular} -\newpage -\begin{tabular}{rl} -\deeppink{xecolour}&\n\deeppink\\ -\dodgerblue{xecolour}&\n\dodgerblue\\ -\forestgreen{xecolour}&\n\forestgreen\\ -\ghostwhite{xecolour}&\n\ghostwhite\\ -\gray{xecolour}&\n\gray\\ -\honeydew{xecolour}&\n\honeydew\\ -\indigo{xecolour}&\n\indigo\\ -\lavender{xecolour}&\n\lavender\\ -\lemonchiffon{xecolour}&\n\lemonchiffon\\ -\lightcyan{xecolour}&\n\lightcyan\\ -\lightgrey{xecolour}&\n\lightgrey\\ -\lightseagreen{xecolour}&\n\lightseagreen\\ -\lightsteelblue{xecolour}&\n\lightsteelblue\\ -\limegreen{xecolour}&\n\limegreen\\ -\maroon{xecolour}&\n\maroon\\ -\mediumorchid{xecolour}&\n\mediumorchid\\ -\mediumslateblue{xecolour}&\n\mediumslateblue\\ -\mediumvioletred{xecolour}&\n\mediumvioletred\\ -\mistyrose{xecolour}&\n\mistyrose\\ -\navy{xecolour}&\n\mistyrose\\ -\orange{xecolour}&\n\orange\\ -\palegoldenrod{xecolour}&\n\palegoldenrod\\ -\palevioletred{xecolour}&\n\palevioletred\\ -\peru{xecolour}&\n\peru\\ -\powderblue{xecolour}&\n\powderblue\\ -\rosybrown{xecolour}&\n\rosybrown\\ -\salmon{xecolour}&\n\salmon\\ -\seashell{xecolour}&\n\seashell\\ -\skyblue{xecolour}&\n\skyblue\\ -\springgreen{xecolour}&\n\springgreen\\ -\teal{xecolour}&\n\teal\\ -\turquoise{xecolour}&\n\turquoise\\ -\white{xecolour}&\n\white\\ -\yellowgreen{xecolour}&\n\yellowgreen\\ -\lightyellow{xecolour}&\n\lightyellow\\ -\crimson{xecolour}&\n\crimson\\ -\bluishgreenishgrey{xecolour}&\n\bluishgreenishgrey\\ -\end{tabular} - - - -\PrintUserIndex -\end{document} diff --git a/Master/texmf-dist/doc/xelatex/xecolour/tex/xecolour.sty b/Master/texmf-dist/doc/xelatex/xecolour/tex/xecolour.sty deleted file mode 100644 index 6a52670ebf1..00000000000 --- a/Master/texmf-dist/doc/xelatex/xecolour/tex/xecolour.sty +++ /dev/null @@ -1,161 +0,0 @@ -%% This file is xecolour.sty -%% -%% Copyright 2009 by Vafa Khalighi -%% -%%%% It may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c -%% of this license or (at your option) any later version. -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{xecolour}[2009/01/05 v0.1 - Colour in XeLaTeX (Author: Vafa Khalighi)] -\begingroup - \def\notXeLaTeXformat{% - \@latex@error{*** this package currently works only with XeLaTeX ***^^J - You are not using XeLaTeX, so we are exiting cleanly!^^J - Continuing may lead to 'unavailable font metrics' errors!^^J}\@ehc - \endgroup\endinput} -\expandafter\ifx\csname XeTeXpicfile\endcsname\relax\expandafter\notXeLaTeXformat\fi -\endgroup -\RequirePackage{fontspec} -\def\aliceblue#1{\begingroup\addfontfeature{Color=F0F8FF}#1\endgroup} -\def\aquamarine#1{\begingroup\addfontfeature{Color=7FFFD4}#1\endgroup} -\def\bisque#1{\begingroup\addfontfeature{Color=FFE4C4}#1\endgroup} -\def\blue#1{\begingroup\addfontfeature{Color=0000FF}#1\endgroup} -\def\burlywood#1{\begingroup\addfontfeature{Color=DEB887}#1\endgroup} -\def\chocolate#1{\begingroup\addfontfeature{Color=D2691E}#1\endgroup} -\def\cornsilk#1{\begingroup\addfontfeature{Color=FFF8DC}#1\endgroup} -\def\darkblue#1{\begingroup\addfontfeature{Color=00008B}#1\endgroup} -\def\darkgray#1{\begingroup\addfontfeature{Color=A9A9A9}#1\endgroup} -\def\darkmagenta#1{\begingroup\addfontfeature{Color=8B008B}#1\endgroup} -\def\darkorchid#1{\begingroup\addfontfeature{Color=9932CC}#1\endgroup} -\def\darkseagreen#1{\begingroup\addfontfeature{Color=8DBC8F}#1\endgroup} -\def\darkturquoise#1{\begingroup\addfontfeature{Color=00DED1}#1\endgroup} -\def\deepskyblue#1{\begingroup\addfontfeature{Color=00BFFF}#1\endgroup} -\def\firebrick#1{\begingroup\addfontfeature{Color=B22222}#1\endgroup} -\def\fuchsia#1{\begingroup\addfontfeature{Color=FF00FF}#1\endgroup} -\def\gold#1{\begingroup\addfontfeature{Color=FFD700}#1\endgroup} -\def\green#1{\begingroup\addfontfeature{Color=008000}#1\endgroup} -\def\hotpink#1{\begingroup\addfontfeature{Color=FF69B4}#1\endgroup} -\def\ivory#1{\begingroup\addfontfeature{Color=FFFFF0}#1\endgroup} -\def\lavenderblush#1{\begingroup\addfontfeature{Color=FFF0F5}#1\endgroup} -\def\lightblue#1{\begingroup\addfontfeature{Color=ADD8E6}#1\endgroup} -\def\lightgoldenrodyellow#1{\begingroup\addfontfeature{Color=FAFAD2}#1\endgroup} -\def\lightpink#1{\begingroup\addfontfeature{Color=FFB6C1}#1\endgroup} -\def\lightskyblue#1{\begingroup\addfontfeature{Color=87CEFA}#1\endgroup} -\def\lightyellow#1{\begingroup\addfontfeature{Color=FFFFE0}#1\endgroup} -\def\linen#1{\begingroup\addfontfeature{Color=FAF0E6}#1\endgroup} -\def\mediumaquamarine#1{\begingroup\addfontfeature{Color=66CDAA}#1\endgroup} -\def\mediumpurple#1{\begingroup\addfontfeature{Color=9370DB}#1\endgroup} -\def\mediumspringgreen#1{\begingroup\addfontfeature{Color=00FA9A}#1\endgroup} -\def\midnightblue#1{\begingroup\addfontfeature{Color=191970}#1\endgroup} -\def\moccasin#1{\begingroup\addfontfeature{Color=FFE4B5}#1\endgroup} -\def\oldlace#1{\begingroup\addfontfeature{Color=FDF5E6}#1\endgroup} -\def\orangered#1{\begingroup\addfontfeature{Color=FF4500}#1\endgroup} -\def\palegreen#1{\begingroup\addfontfeature{Color=98FB98}#1\endgroup} -\def\papayawhip#1{\begingroup\addfontfeature{Color=FFEFD5}#1\endgroup} -\def\pink#1{\begingroup\addfontfeature{Color=FFC8CB}#1\endgroup} -\def\purple#1{\begingroup\addfontfeature{Color=800080}#1\endgroup} -\def\royalblue#1{\begingroup\addfontfeature{Color=4169E1}#1\endgroup} -\def\sandybrown#1{\begingroup\addfontfeature{Color=F4A460}#1\endgroup} -\def\sienna#1{\begingroup\addfontfeature{Color=A0522D}#1\endgroup} -\def\slateblue#1{\begingroup\addfontfeature{Color=6A5ACD}#1\endgroup} -\def\steelblue#1{\begingroup\addfontfeature{Color=4682B4}#1\endgroup} -\def\thistle#1{\begingroup\addfontfeature{Color=D8BFD8}#1\endgroup} -\def\violet#1{\begingroup\addfontfeature{Color=EE82EE}#1\endgroup} -\def\whitesmoke#1{\begingroup\addfontfeature{Color=F5F5F5}#1\endgroup} -\def\antiquewhite#1{\begingroup\addfontfeature{Color=FAEBD7}#1\endgroup} -\def\azure#1{\begingroup\addfontfeature{Color=F0FFFF}#1\endgroup} -\def\black#1{\begingroup\addfontfeature{Color=000000}#1\endgroup} -\def\blueviolet#1{\begingroup\addfontfeature{Color=8A2BE2}#1\endgroup} -\def\cadetblue#1{\begingroup\addfontfeature{Color=5F9EA0}#1\endgroup} -\def\coral#1{\begingroup\addfontfeature{Color=FF7F50}#1\endgroup} -\def\crimson#1{\begingroup\addfontfeature{Color=DC143C}#1\endgroup} -\def\darkcyan#1{\begingroup\addfontfeature{Color=008B8B}#1\endgroup} -\def\darkgreen#1{\begingroup\addfontfeature{Color=006400}#1\endgroup} -\def\darkolivegreen#1{\begingroup\addfontfeature{Color=556B2F}#1\endgroup} -\def\darkred#1{\begingroup\addfontfeature{Color=8B0000}#1\endgroup} -\def\darkslateblue#1{\begingroup\addfontfeature{Color=483D8B}#1\endgroup} -\def\darkviolet#1{\begingroup\addfontfeature{Color=9400D3}#1\endgroup} -\def\dimgray#1{\begingroup\addfontfeature{Color=696969}#1\endgroup} -\def\floralwhite#1{\begingroup\addfontfeature{Color=FFFAF0}#1\endgroup} -\def\gainsboro#1{\begingroup\addfontfeature{Color=DCDCDC}#1\endgroup} -\def\goldenrod#1{\begingroup\addfontfeature{Color=DAA520}#1\endgroup} -\def\greenyellow#1{\begingroup\addfontfeature{Color=ADFF2F}#1\endgroup} -\def\indianred#1{\begingroup\addfontfeature{Color=CD5C5C}#1\endgroup} -\def\khaki#1{\begingroup\addfontfeature{Color=F0E68C}#1\endgroup} -\def\lawngreen#1{\begingroup\addfontfeature{Color=7CFC00}#1\endgroup} -\def\lightcoral#1{\begingroup\addfontfeature{Color=F08080}#1\endgroup} -\def\lightgreen#1{\begingroup\addfontfeature{Color=90EE90}#1\endgroup} -\def\lightsalmon#1{\begingroup\addfontfeature{Color=FFA07A}#1\endgroup} -\def\lightslategray#1{\begingroup\addfontfeature{Color=778899}#1\endgroup} -\def\lime#1{\begingroup\addfontfeature{Color=00FF00}#1\endgroup} -\def\magenta#1{\begingroup\addfontfeature{Color=FF00FF}#1\endgroup} -\def\mediumblue#1{\begingroup\addfontfeature{Color=0000CD}#1\endgroup} -\def\mediumseagreen#1{\begingroup\addfontfeature{Color=3CB371}#1\endgroup} -\def\mediumturquoise#1{\begingroup\addfontfeature{Color=48D1CC}#1\endgroup} -\def\mintcream#1{\begingroup\addfontfeature{Color=F5FFFA}#1\endgroup} -\def\navajowhite#1{\begingroup\addfontfeature{Color=FFDEAD}#1\endgroup} -\def\olivedrab#1{\begingroup\addfontfeature{Color=6B8E23}#1\endgroup} -\def\orchid#1{\begingroup\addfontfeature{Color=DA70D6}#1\endgroup} -\def\paleturquoise#1{\begingroup\addfontfeature{Color=AFEEEE}#1\endgroup} -\def\peachpuff#1{\begingroup\addfontfeature{Color=FFDAB9}#1\endgroup} -\def\plum#1{\begingroup\addfontfeature{Color=DDA0DD}#1\endgroup} -\def\red#1{\begingroup\addfontfeature{Color=FF0000}#1\endgroup} -\def\saddlebrown#1{\begingroup\addfontfeature{Color=8B4513}#1\endgroup} -\def\seagreen#1{\begingroup\addfontfeature{Color=2E8B57}#1\endgroup} -\def\silver#1{\begingroup\addfontfeature{Color=C0C0C0}#1\endgroup} -\def\snow#1{\begingroup\addfontfeature{Color=FFFAFA}#1\endgroup} -\def\tancolour#1{\begingroup\addfontfeature{Color=D2B48C}#1\endgroup} -\def\tomato#1{\begingroup\addfontfeature{Color=FF6347}#1\endgroup} -\def\wheat#1{\begingroup\addfontfeature{Color=F5DEB3}#1\endgroup} -\def\yellow#1{\begingroup\addfontfeature{Color=FFFF00}#1\endgroup} -\def\aqua#1{\begingroup\addfontfeature{Color=00FFFF}#1\endgroup} -\def\beige#1{\begingroup\addfontfeature{Color=F5F5DC}#1\endgroup} -\def\blanchedalmond#1{\begingroup\addfontfeature{Color=FFEBCD}#1\endgroup} -\def\brown#1{\begingroup\addfontfeature{Color=A52A2A}#1\endgroup} -\def\chartreuse#1{\begingroup\addfontfeature{Color=7FFF00}#1\endgroup} -\def\cornflowerblue#1{\begingroup\addfontfeature{Color=6495ED}#1\endgroup} -\def\cyan#1{\begingroup\addfontfeature{Color=00FFFF}#1\endgroup} -\def\darkgoldenrod#1{\begingroup\addfontfeature{Color=B8860B}#1\endgroup} -\def\darkkhaki#1{\begingroup\addfontfeature{Color=BDB76B}#1\endgroup} -\def\darkorange#1{\begingroup\addfontfeature{Color=FF8C00}#1\endgroup} -\def\darksalmon#1{\begingroup\addfontfeature{Color=E9967A}#1\endgroup} -\def\darkslategray#1{\begingroup\addfontfeature{Color=2F4F4F}#1\endgroup} -\def\deeppink#1{\begingroup\addfontfeature{Color=FF1493}#1\endgroup} -\def\dodgerblue#1{\begingroup\addfontfeature{Color=1E90FF}#1\endgroup} -\def\forestgreen#1{\begingroup\addfontfeature{Color=228B22}#1\endgroup} -\def\ghostwhite#1{\begingroup\addfontfeature{Color=F8F8FF}#1\endgroup} -\def\gray#1{\begingroup\addfontfeature{Color=808080}#1\endgroup} -\def\honeydew#1{\begingroup\addfontfeature{Color=F0FFF0}#1\endgroup} -\def\indigo#1{\begingroup\addfontfeature{Color=4B0082}#1\endgroup} -\def\lavender#1{\begingroup\addfontfeature{Color=E6E6FA}#1\endgroup} -\def\lemonchiffon#1{\begingroup\addfontfeature{Color=FFFACD}#1\endgroup} -\def\lightcyan#1{\begingroup\addfontfeature{Color=E0FFFF}#1\endgroup} -\def\lightgrey#1{\begingroup\addfontfeature{Color=D3D3D3}#1\endgroup} -\def\lightseagreen#1{\begingroup\addfontfeature{Color=20B2AA}#1\endgroup} -\def\lightsteelblue#1{\begingroup\addfontfeature{Color=B0C4DE}#1\endgroup} -\def\limegreen#1{\begingroup\addfontfeature{Color=32CD32}#1\endgroup} -\def\maroon#1{\begingroup\addfontfeature{Color=800000}#1\endgroup} -\def\mediumorchid#1{\begingroup\addfontfeature{Color=BA55D3}#1\endgroup} -\def\mediumslateblue#1{\begingroup\addfontfeature{Color=7B68EE}#1\endgroup} -\def\mediumvioletred#1{\begingroup\addfontfeature{Color=C71585}#1\endgroup} -\def\mistyrose#1{\begingroup\addfontfeature{Color=FFE4E1}#1\endgroup} -\def\navy#1{\begingroup\addfontfeature{Color=000080}#1\endgroup} -\def\orange#1{\begingroup\addfontfeature{Color=FFA500}#1\endgroup} -\def\palegoldenrod#1{\begingroup\addfontfeature{Color=EEE8AA}#1\endgroup} -\def\palevioletred#1{\begingroup\addfontfeature{Color=DB7093}#1\endgroup} -\def\peru#1{\begingroup\addfontfeature{Color=CD853F}#1\endgroup} -\def\powderblue#1{\begingroup\addfontfeature{Color=B0E0E6}#1\endgroup} -\def\rosybrown#1{\begingroup\addfontfeature{Color=BC8F8F}#1\endgroup} -\def\salmon#1{\begingroup\addfontfeature{Color=FA8072}#1\endgroup} -\def\seashell#1{\begingroup\addfontfeature{Color=FFF5EE}#1\endgroup} -\def\skyblue#1{\begingroup\addfontfeature{Color=87CEEB}#1\endgroup} -\def\springgreen#1{\begingroup\addfontfeature{Color=00FF7F}#1\endgroup} -\def\teal#1{\begingroup\addfontfeature{Color=008080}#1\endgroup} -\def\turquoise#1{\begingroup\addfontfeature{Color=40E0D0}#1\endgroup} -\def\white#1{\begingroup\addfontfeature{Color=FFFFFF}#1\endgroup} -\def\yellowgreen#1{\begingroup\addfontfeature{Color=9ACD32}#1\endgroup} -\def\lightyellow#1{\begingroup\addfontfeature{Color=FFFFCC}#1\endgroup} -\def\crimson#1{\begingroup\addfontfeature{Color=DC143C}#1\endgroup} -\def\bluishgreenishgrey#1{\begingroup\addfontfeature{Color=568392}#1\endgroup} -\endinput diff --git a/Master/texmf-dist/doc/xelatex/xecolour/xecolour-user.pdf b/Master/texmf-dist/doc/xelatex/xecolour/xecolour-user.pdf new file mode 100644 index 00000000000..92610d4ae49 Binary files /dev/null and b/Master/texmf-dist/doc/xelatex/xecolour/xecolour-user.pdf differ diff --git a/Master/texmf-dist/doc/xelatex/xecolour/xecolour-user.tex b/Master/texmf-dist/doc/xelatex/xecolour/xecolour-user.tex new file mode 100644 index 00000000000..7d743e23c52 --- /dev/null +++ b/Master/texmf-dist/doc/xelatex/xecolour/xecolour-user.tex @@ -0,0 +1,229 @@ +\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`\<=12}]++ +\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`\<=12 +\Mac \colourname{} +\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}&\n\aliceblue\\ +\aquamarine{xecolour}&\n\aquamarine\\ +\bisque{xecolour}&\n\bisque\\ +\blue{xecolour} &\n\blue\\ +\burlywood{xecolour}&\n\burlywood\\ +\chocolate{xecolour}&\n\chocolate\\ +\cornsilk{xecolour}&\n\cornsilk\\ +\darkblue{xecolour}&\n\darkblue\\ +\darkgray{xecolour}&\n\darkgray\\ +\darkmagenta{xecolour}&\n\darkmagenta\\ +\darkorchid{xecolour}&\n\darkorchid\\ +\darkseagreen{xecolour}&\n\darkseagreen\\ +\darkturquoise{xecolour}&\n\darkturquoise\\ +\deepskyblue{xecolour}&\n\deepskyblue\\ +\firebrick{xecolour}&\n\firebrick\\ +\fuchsia{xecolour}&\n\fuchsia\\ +\gold{xecolour}&\n\gold\\ +\green{xecolour}&\n\green\\ +\hotpink{xecolour}&\n\hotpink\\ +\ivory{xecolour}&\n\ivory\\ +\lavenderblush{xecolour}&\n\lavenderblush\\ +\lightblue{xecolour}&\n\lightblue\\ +\lightgoldenrodyellow{xecolour}&\n\lightgoldenrodyellow\\ +\lightpink{xecolour}&\n\lightpink\\ +\lightskyblue{xecolour}&\n\lightskyblue\\ +\lightyellow{xecolour}&\n\lightyellow\\ +\linen{xecolour}&\n\linen\\ +\mediumaquamarine{xecolour}&\n\mediumaquamarine\\ +\mediumpurple{xecolour}&\n\mediumpurple\\ +\end{tabular} +\newpage +\begin{tabular}{rl} +\mediumspringgreen{xecolour}&\n\mediumspringgreen\\ +\midnightblue{xecolour}&\n\midnightblue\\ +\moccasin{xecolour}&\n\moccasin\\ +\oldlace{xecolour}&\n\oldlace\\ +\orangered{xecolour}&\n\orangered\\ +\palegreen{xecolour}&\n\palegreen\\ +\papayawhip{xecolour}&\n\papayawhip\\ +\pink{xecolour}&\n\pink\\ +\purple{xecolour}&\n\purple\\ +\royalblue{xecolour}&\n\royalblue\\ +\sandybrown{xecolour}&\n\sandybrown\\ +\sienna{xecolour}&\n\sienna\\ +\slateblue{xecolour}&\n\slateblue\\ +\steelblue{xecolour}&\n\steelblue\\ +\thistle{xecolor}&\n\thistle\\ +\violet{xecolour}&\n\violet\\ +\whitesmoke{xecolour}&\n\whitesmoke\\ +\antiquewhite{xecolour}&\n\antiquewhite\\ +\azure{xecolour}&\n\azure\\ +\black{xecolour}&\n\black\\ +\blueviolet{xecolour}&\n\blueviolet\\ +\cadetblue{xecolour}&\n\cadetblue\\ +\coral{xecolour}&\n\coral\\ +\crimson{xecolour}&\n\crimson\\ +\darkcyan{xecolour}&\n\darkcyan\\ +\darkgreen{xecolour}&\n\darkgreen\\ +\darkolivegreen{xecolour}&\n\darkolivegreen\\ +\darkred{xecolour}&\n\darkred\\ +\darkslateblue{xecolour}&\n\darkslateblue\\ +\darkviolet{xecolour}&\n\darkviolet\\ +\dimgray{xecolour}&\n\dimgray\\ +\floralwhite{xecolour}&\n\floralwhite\\ +\gainsboro{xecolour}&\n\gainsboro\\ +\goldenrod{xecolour}&\n\goldenrod\\ +\greenyellow{xecolour}&\n\greenyellow\\ +\indianred{xecolour}&\n\indianred\\ +\khaki{xecolour}&\n\khaki\\ +\lawngreen{xecolour}&\n\lawngreen\\ +\end{tabular} +\newpage +\begin{tabular}{rl} +\lightcoral{xecolour}&\n\lightcoral\\ +\lightgreen{xecolour}&\n\lightgreen\\ +\lightsalmon{xecolour}&\n\lightsalmon\\ +\lightslategray{xecolour}&\n\lightslategray\\ +\lime{xecolour}&\n\lime\\ +\magenta{xecolour}&\n\magenta\\ +\mediumblue{xecolour}&\n\mediumblue\\ +\mediumseagreen{xecolour}&\n\mediumseagreen\\ +\mediumturquoise{xecolour}&\n\mediumturquoise\\ +\mintcream{xecolour}&\n\mintcream\\ +\navajowhite{xecolour}&\n\navajowhite\\ +\olivedrab{xecolour}&\n\olivedrab\\ +\orchid{xecolour}&\n\orchid\\ +\paleturquoise{xecolour}&\n\paleturquoise\\ +\peachpuff{xecolour}&\n\peachpuff\\ +\plum{xecolour}&\n\plum\\ +\red{xecolour}&\n\red\\ +\saddlebrown{xecolour}&\n\saddlebrown\\ +\seagreen{xecolour}&\n\seagreen\\ +\silver{xecolour}&\n\silver\\ +\snow{xecolour}&\n\snow\\ +\tancolour{xecolour}&\n\tancolour\\ +\tomato{xecolour}&\n\tomato\\ +\wheat{xecolour}&\n\wheat\\ +\yellow{xecolour}&\n\yellow\\ +\aqua{xecolour}&\n\aqua\\ +\beige{xecolour}&\n\beige\\ +\blanchedalmond{xecolour}&\n\blanchedalmond\\ +\brown{xecolour}&\n\brown\\ +\chartreuse{xecolour}&\n\chartreuse\\ +\cornflowerblue{xecolour}&\n\cornflowerblue\\ +\cyan{xecolour}&\n\cyan\\ +\darkgoldenrod{xecolour}&\n\darkgoldenrod\\ +\darkkhaki{xecolour}&\n\darkkhaki\\ +\darkorange{xecolour}&\n\darkorange\\ +\darksalmon{xecolour}&\n\darksalmon\\ +\darkslategray{xecolour}&\n\darkslategray\\ +\end{tabular} +\newpage +\begin{tabular}{rl} +\deeppink{xecolour}&\n\deeppink\\ +\dodgerblue{xecolour}&\n\dodgerblue\\ +\forestgreen{xecolour}&\n\forestgreen\\ +\ghostwhite{xecolour}&\n\ghostwhite\\ +\gray{xecolour}&\n\gray\\ +\honeydew{xecolour}&\n\honeydew\\ +\indigo{xecolour}&\n\indigo\\ +\lavender{xecolour}&\n\lavender\\ +\lemonchiffon{xecolour}&\n\lemonchiffon\\ +\lightcyan{xecolour}&\n\lightcyan\\ +\lightgrey{xecolour}&\n\lightgrey\\ +\lightseagreen{xecolour}&\n\lightseagreen\\ +\lightsteelblue{xecolour}&\n\lightsteelblue\\ +\limegreen{xecolour}&\n\limegreen\\ +\maroon{xecolour}&\n\maroon\\ +\mediumorchid{xecolour}&\n\mediumorchid\\ +\mediumslateblue{xecolour}&\n\mediumslateblue\\ +\mediumvioletred{xecolour}&\n\mediumvioletred\\ +\mistyrose{xecolour}&\n\mistyrose\\ +\navy{xecolour}&\n\mistyrose\\ +\orange{xecolour}&\n\orange\\ +\palegoldenrod{xecolour}&\n\palegoldenrod\\ +\palevioletred{xecolour}&\n\palevioletred\\ +\peru{xecolour}&\n\peru\\ +\powderblue{xecolour}&\n\powderblue\\ +\rosybrown{xecolour}&\n\rosybrown\\ +\salmon{xecolour}&\n\salmon\\ +\seashell{xecolour}&\n\seashell\\ +\skyblue{xecolour}&\n\skyblue\\ +\springgreen{xecolour}&\n\springgreen\\ +\teal{xecolour}&\n\teal\\ +\turquoise{xecolour}&\n\turquoise\\ +\white{xecolour}&\n\white\\ +\yellowgreen{xecolour}&\n\yellowgreen\\ +\lightyellow{xecolour}&\n\lightyellow\\ +\crimson{xecolour}&\n\crimson\\ +\bluishgreenishgrey{xecolour}&\n\bluishgreenishgrey\\ +\end{tabular} + + + +\PrintUserIndex +\end{document} -- cgit v1.2.3