symb-imp-mis.mkiv /size: 3145 b    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=symb-mis,
3
%D version=2002.05.07,
4
%D title=\CONTEXT\ Symbol Libraries,
5
%D subtitle=Miscelaneous,
6
%D author=Hans Hagen,
7
%D date=\currentdate,
8
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9
%C
10
%C This module is part of the \CONTEXT\ macro||package and is
11
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12
%C details.
13 14
\unprotect
15 16
%D We predefine some common symbols and conversions that will
17
%D be understood by many commands. The \type {\mathematics}
18
%D is no longer needed, although only math fonts might have
19
%D these symbols. The \type {\textmath} macro is twice as
20
%D efficient.
21 22
\definesymbol
[
\v!none
]
[]
23 24
% \definesymbol [bullet] [\textmath\bullet]
25
% \definesymbol [dash] [\textmath-]
26
% \definesymbol [star] [\textmath\star]
27
% \definesymbol [triangle] [\textmath\triangleright]
28
% \definesymbol [circle] [\textmath\circ]
29
% \definesymbol [square] [\textmath\square]
30
% \definesymbol [diamond] [\textmath\diamond]
31
% \definesymbol [asterisk] [\textmath\ast]
32 33
% I'm not sure about this ... I dislike the small bullet. So we provide
34
% it as variant: \type {\setupsymbolset[text]}. Also, we want to be
35
% backward compatible.
36 37
% \startsymbolset[text]
38 39
\definesymbol
[
bullet
]
[
\textormathchar
{
"
2
0
2
2
}
]
% • \bullet
40
\definesymbol
[
dash
]
[
\textormathchar
{
"
2
0
1
3
}
]
% –
41
\definesymbol
[
star
]
[
\textormathchar
{
"
2
2
C
6
}
]
% ⋆ \star
42
\definesymbol
[
triangle
]
[
\textormathchar
{
"
2
2
B
3
}
]
% ⊳ \triangleright
43
\definesymbol
[
circle
]
[
\textormathchar
{
"
2
2
1
8
}
]
% ∘ \circ
44
\definesymbol
[
square
]
[
\textormathchar
{
"
2
5
A
1
}
]
% □ \square
45
\definesymbol
[
diamond
]
[
\textormathchar
{
"
2
2
C
4
}
]
% ⋄ \diamond
46
\definesymbol
[
checkmark
]
[
\textormathchar
{
"
2
7
1
3
}
]
% ✓ \checkmark
47
\definesymbol
[
asterisk
]
[
\textormathchar
{
"
2
2
1
7
}
]
% ∗ \asterisk
48 49
\definesymbol
[
blacktriangle
]
[
\textormathchar
{
"
2
5
B
6
}
]
% ▶
50
\definesymbol
[
blacksquare
]
[
\textormathchar
{
"
2
5
A
0
}
]
% ■
51
\definesymbol
[
blackdiamond
]
[
\textormathchar
{
"
2
5
C
6
}
]
% ◆
52 53
% \stopsymbolset
54 55
\definesymbol
[
smallcircle
]
[
\hbox
{
\raise
.
1
ex
\hbox
{
\textmath
{
\scriptscriptstyle
\bigcirc
}}}
]
56
\definesymbol
[
medcircle
]
[
\hbox
{
\raise
.
1
ex
\hbox
{
\textmath
{
\scriptstyle
\bigcirc
}}}
]
57
\definesymbol
[
bigcircle
]
[
\textmath
{
\bigcirc
}
]
58 59
\definesymbol
[
1
]
[
\symbol
{
bullet
}
]
60
\definesymbol
[
2
]
[
\symbol
{
dash
}
]
61
\definesymbol
[
3
]
[
\symbol
{
star
}
]
62
\definesymbol
[
4
]
[
\symbol
{
triangle
}
]
63
\definesymbol
[
5
]
[
\symbol
{
circle
}
]
64
\definesymbol
[
6
]
[
\symbol
{
medcircle
}
]
65
\definesymbol
[
7
]
[
\symbol
{
bigcircle
}
]
66
\definesymbol
[
8
]
[
\symbol
{
square
}
]
67
\definesymbol
[
9
]
[
\symbol
{
checkmark
}
]
68 69
\definesymbol
[
S
]
[
\sectionmark
]
70
\definesymbol
[
P
]
[
\paragraphmark
]
71
\definesymbol
[
Numero
]
[
\textnumero
]
72
\definesymbol
[
numero
]
[
\textnumero
]
73
\definesymbol
[
euro
]
[
\texteuro
]
74 75
\let
\euro
\texteuro
76 77
\def
\Numero
{
\symbol
[
Numero
]
}
% obsolete
78
\def
\numero
{
\symbol
[
numero
]
}
% obsolete
79 80
\protect
\endinput
81