Debian Codegraph @

texmf-dist/tex/generic/dvips/blackdvi.tex

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