summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-16 00:44:45 +0000
committerKarl Berry <karl@freefriends.org>2009-01-16 00:44:45 +0000
commitcda51e57bcaed7d5e160f7561963fe959499de73 (patch)
treeea765e1f80a78f0cc0d18a5fb779b795b6677105 /Master/texmf-dist/tex
parent7e867b8819b2a24f72fb83e5db8c12b0c83def76 (diff)
xecolour needs flattening
git-svn-id: svn://tug.org/texlive/trunk@11891 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/xelatex/xecolour/xecolour.sty161
1 files changed, 161 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xecolour/xecolour.sty b/Master/texmf-dist/tex/xelatex/xecolour/xecolour.sty
new file mode 100644
index 00000000000..6a52670ebf1
--- /dev/null
+++ b/Master/texmf-dist/tex/xelatex/xecolour/xecolour.sty
@@ -0,0 +1,161 @@
+%% 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