summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/dvips/blackdvi.sty
blob: 85e7fd38a282c094d53756d7ca290e2cf0fc8496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
% This is BLACKDVI.STY and BLACKDVI.TEX in text format, as of March 5,
% 1992, written by Jim Hafner, HAFNER@ALMADEN, or hafner@almaden.ibm.com.
% This file turns all color commands defined by COLORDVI.STY or COLORDVI.TEX
% into no-ops and so can be used to get B/W printing without having to
% ferret out all the color macros.  Modified by Tomas Rokicki to be a
% bit smaller.
%
% 20 Aug. 1992: Revised by J. Hafner, by adding \globalColor as a no-op.
%
% For example, with FoilTeX, just use
%   \documentstyle[blackdvi]{foils}
% in place of
%   \documentstyle[colordvi]{foils}
%
% This file can be used anywhere COLORDVI.STY or COLORDVI.TEX is used.  In
% particular, It can be used in any flavor of LaTeX (e.g. LaTeX,
% FoilTeX, AMS-LaTeX) by adding the keyword "blackdvi" to the options in
% the \documentstyle command (e.g., "\documentstyle[blackdvi]{foils}") or
% \input in any flavor of TeX (e.g. Plain TeX, eplain, AMS-TeX or any of
% the above LaTeX flavors) with the command "\input blackdvi".
%
% Here is the background command
\def\background#1{}%
%
% This is used to define all the \newColor macros defined by \newColor
% as no-ops.
\def\newColor #1 {\expandafter\def\csname text#1\endcsname{}%
   \expandafter\def\csname #1\endcsname##1{##1}}%
%
% Here are the two macros used for user-definable colors
\def\textColor#1{}
\def\Color#1#2{#2}
%
% This is the macro that is used to protect certain regions of the
% text from corruption by local color commands.  See COLORDVI.STY for
% more information.  We make it a no-op in this style.
\def\globalColor#1{#1}
%
% Here are the preset color names.  This list should match the list
% in <colordvi.[tex,sty]>.
%
\newColor GreenYellow
\newColor Yellow
\newColor Goldenrod
\newColor Dandelion
\newColor Apricot
\newColor Peach
\newColor Melon
\newColor YellowOrange
\newColor Orange
\newColor BurntOrange
\newColor Bittersweet
\newColor RedOrange
\newColor Mahogany
\newColor Maroon
\newColor BrickRed
\newColor Red
\newColor OrangeRed
\newColor RubineRed
\newColor WildStrawberry
\newColor Salmon
\newColor CarnationPink
\newColor Magenta
\newColor VioletRed
\newColor Rhodamine
\newColor Mulberry
\newColor RedViolet
\newColor Fuchsia
\newColor Lavender
\newColor Thistle
\newColor Orchid
\newColor DarkOrchid
\newColor Purple
\newColor Plum
\newColor Violet
\newColor RoyalPurple
\newColor BlueViolet
\newColor Periwinkle
\newColor CadetBlue
\newColor CornflowerBlue
\newColor MidnightBlue
\newColor NavyBlue
\newColor RoyalBlue
\newColor Blue
\newColor Cerulean
\newColor Cyan
\newColor ProcessBlue
\newColor SkyBlue
\newColor Turquoise
\newColor TealBlue
\newColor Aquamarine
\newColor BlueGreen
\newColor Emerald
\newColor JungleGreen
\newColor SeaGreen
\newColor Green
\newColor ForestGreen
\newColor PineGreen
\newColor LimeGreen
\newColor YellowGreen
\newColor SpringGreen
\newColor OliveGreen
\newColor RawSienna
\newColor Sepia
\newColor Brown
\newColor Tan
\newColor Gray
\newColor Black
\newColor White