summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/symb-cow.mkii
blob: 933a00c45e70d5c760a2842e95822a2bc78e7082 (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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
%D \module
%D   [       file=symb-cow,
%D        version=2006.06.23,
%D          title=\CONTEXT\ Symbol Libraries,
%D       subtitle=Cow Symbols,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\loadmapfile[koeieletters.map]

\definefontsynonym [Cows]            [koeielett]
\definefontsynonym [CowsContour]     [koeielett-contour]
\definefontsynonym [CowsLogo]        [koeielogos]
\definefontsynonym [CowsLogoContour] [koeielogos-contour]

\definecolor [lsky]    [r=.6,g=.6,b=1]
\definecolor [dsky]    [r=.1,g=.1,b=1]
\definecolor [lground] [r=.3,g=.9,b=.3]
\definecolor [dground] [r=0,g=.5,b=0]
\definecolor [cspots]  [r=.33,g=.1,b=0]

\definecolor [tlsky]    [t=.5,a=1,r=.6,g=.6,b=1]
\definecolor [tdsky]    [t=.5,a=1,r=.1,g=.1,b=1]
\definecolor [tlground] [t=.5,a=1,r=.3,g=.9,b=.3]
\definecolor [tdground] [t=.5,a=1,r=0,g=.5,b=0]
\definecolor [tcspots]  [t=.5,a=1,r=.33,g=.1,b=0]

\definepalet
  [cow]
  [normal=lground,
   contour=dground,
   sky=lsky]

\def\CowNormal#1%
  {\dontleavehmode\hbox{\color[cow:normal]{\getglyph{Cows}{#1}}}}

\def\ScaledCowNormal#1#2%
  {\dontleavehmode\hbox{\color[cow:normal]{\definedfont[Cows sa #1]#2}}}

\def\ScaledCowOverlay#1#2%
  {\dontleavehmode\hbox
     {\color[cow:contour]{\hsmash{\definedfont[CowsContour sa #1]#2}}%
      \color[cow:normal]         {\definedfont[Cows        sa #1]#2}}}

\def\CowOverlay#1%
  {\dontleavehmode\hbox
     {\color[cow:contour]{\hsmash{\getglyph{CowsContour}{#1}}}%
      \color[cow:normal]         {\getglyph{Cows}       {#1}}}}

\def\CowContour#1%
  {\dontleavehmode\hbox
     {\color[cow:contour]{\hsmash{\getglyph{CowsLogoContour}{#1}}}%
      \color[cow:normal]         {\getglyph{CowsLogo}       {#1}}}}

\def\CowLogo       #1{\getglyph{CowsLogo}       {\char#1\relax}}
\def\CowContourLogo#1{\getglyph{CowsLogoContour}{\char#1\relax}}

\chardef\CowPragmaNormal= 1
\chardef\CowPragmaShaded=20

\startsymbolset[cownormal]

    \definesymbol[CowPragmaADE]        [\CowLogo{0}]
    \definesymbol[CowPragma]           [\CowLogo{1}]
    \definesymbol[CowConTeXt]          [\CowLogo{2}]
    \definesymbol[CowConTeXtComplete]  [\CowLogo{3}]
    \definesymbol[CowConTeXtShadow]    [\CowLogo{4}]
    \definesymbol[CowConTeXtContour]   [\CowLogo{5}]
    \definesymbol[CowConTeXtOutline]   [\CowLogo{6}]
    \definesymbol[CowConTeXtDots]      [\CowLogo{7}]
    \definesymbol[CowMP]               [\CowLogo{8}]
    \definesymbol[CowMPComplete]       [\CowLogo{9}]
    \definesymbol[CowTeX]              [\CowLogo{10}]
    \definesymbol[CowTeXComplete]      [\CowLogo{11}]
    \definesymbol[CowBoo]              [\CowLogo{12}]
    \definesymbol[CowCow]              [\CowLogo{13}]
    \definesymbol[CowExampleComplete]  [\CowLogo{14}]
    \definesymbol[CowFoxetComplete]    [\CowLogo{15}]
    \definesymbol[CowMetafun]          [\CowLogo{16}]
    \definesymbol[CowMetafunComplete]  [\CowLogo{17}]
    \definesymbol[CowTEXComplete]      [\CowLogo{18}]
    \definesymbol[CowWikiComplete]     [\CowLogo{19}]
    \definesymbol[CowPragmaADEComplete][\CowLogo{20}]
    \definesymbol[CowPragmaComplete]   [\CowLogo{21}]
    \definesymbol[CowExample]          [\CowLogo{22}]
    \definesymbol[CowFoxet]            [\CowLogo{23}]
    \definesymbol[CowTEX]              [\CowLogo{24}]
    \definesymbol[CowWiki]             [\CowLogo{25}]
    \definesymbol[CowCowTeXtComplete]  [\CowLogo{26}]
    \definesymbol[CowCowTeXt]          [\CowLogo{27}]

\stopsymbolset

\startsymbolset[cowcontour]

    \definesymbol[CowPragmaADE]        [\CowContourLogo{0}]
    \definesymbol[CowPragma]           [\CowContourLogo{1}]
    \definesymbol[CowConTeXt]          [\CowContourLogo{2}]
    \definesymbol[CowConTeXtComplete]  [\CowContourLogo{3}]
    \definesymbol[CowConTeXtShadow]    [\CowContourLogo{4}]
    \definesymbol[CowConTeXtContour]   [\CowContourLogo{5}]
    \definesymbol[CowConTeXtOutline]   [\CowContourLogo{6}]
    \definesymbol[CowConTeXtDots]      [\CowContourLogo{7}]
    \definesymbol[CowMP]               [\CowContourLogo{8}]
    \definesymbol[CowMPComplete]       [\CowContourLogo{9}]
    \definesymbol[CowTeX]              [\CowContourLogo{10}]
    \definesymbol[CowTeXComplete]      [\CowContourLogo{11}]
    \definesymbol[CowBoo]              [\CowContourLogo{12}]
    \definesymbol[CowCow]              [\CowContourLogo{13}]
    \definesymbol[CowExampleComplete]  [\CowContourLogo{14}]
    \definesymbol[CowFoxetComplete]    [\CowContourLogo{15}]
    \definesymbol[CowMetafun]          [\CowContourLogo{16}]
    \definesymbol[CowMetafunComplete]  [\CowContourLogo{17}]
    \definesymbol[CowTEXComplete]      [\CowContourLogo{18}]
    \definesymbol[CowWikiComplete]     [\CowContourLogo{19}]
    \definesymbol[CowPragmaADEComplete][\CowContourLogo{20}]
    \definesymbol[CowPragmaComplete]   [\CowContourLogo{21}]
    \definesymbol[CowExample]          [\CowContourLogo{22}]
    \definesymbol[CowFoxet]            [\CowContourLogo{23}]
    \definesymbol[CowTEX]              [\CowContourLogo{24}]
    \definesymbol[CowWiki]             [\CowContourLogo{25}]
    \definesymbol[CowCowTeXtComplete]  [\CowContourLogo{26}]
    \definesymbol[CowCowTeXt]          [\CowContourLogo{27}]

\stopsymbolset

\endinput