summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/tex-virtual-academy-pl/idx/typy.html
blob: 4fe03f2dd6e6b713aa1fe62e7c72a0aabc68cfba (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
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<meta http-equiv="Content-language" content="pl">
<meta name="Author" content="W³odzimierz Macewicz">
</head>
<body>

<h4>tablica okre¶laj±ca typ znaków</h4>

Tablica definiuje typ znaków, ka¿dy bit okre¶la przynale¿no¶æ
do okre¶lonej kategorii;

<pre>
#define IS_UPPER        0x01                   /*du¿a litera*/
#define IS_LOWER        0x02                   /*ma³a litera*/
#define IS_BLANK        0x04                   /*,,bia³e znaki''*/
#define IS_DIG          0x08                   /*cyfra*/
#define IS_XDIG         0x10                   /*cyfra szesnastkowa*/
#define IS_CTR          0x20                   /*znak steruj±cy*/
#define IS_ALPH         0x40                   /*znak traktowany jak litera*/
#define IS_ALPHA        (IS_LOWER | IS_UPPER)  /*litera*/
#define IS_ALNUM        (IS_DIG | IS_ALPHA)    /*litera lub cyfra*/
</pre>

<pre>
static a_char_u pl_maz_char_type =
   {
IS_CTR,	           IS_CTR,	      IS_CTR,	         IS_CTR,
IS_CTR,	           IS_CTR,	      IS_CTR,	         IS_CTR,
IS_CTR,	           IS_CTR | IS_BLANK, IS_CTR | IS_BLANK, IS_CTR | IS_BLANK,
IS_CTR | IS_BLANK, IS_CTR | IS_BLANK, IS_CTR,            IS_CTR, 	
IS_CTR,	           IS_CTR,	      IS_CTR,            IS_CTR,
IS_CTR,            IS_CTR,            IS_CTR,            IS_CTR,
IS_CTR,	           IS_CTR,	      IS_CTR,            IS_CTR,
IS_CTR,            IS_CTR,            IS_CTR,            IS_CTR,
IS_BLANK,          0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
IS_XDIG | IS_DIG,  IS_XDIG | IS_DIG,  IS_XDIG | IS_DIG,  IS_XDIG | IS_DIG,
IS_XDIG | IS_DIG,  IS_XDIG | IS_DIG,  IS_XDIG | IS_DIG,  IS_XDIG | IS_DIG,
IS_XDIG | IS_DIG,  IS_XDIG | IS_DIG,  0x000,             0x000,
0x000,             0x000,             0x000,             0x000,

0x000,             IS_XDIG | IS_UPPER,IS_XDIG | IS_UPPER,IS_XDIG | IS_UPPER,
IS_XDIG | IS_UPPER,IS_XDIG | IS_UPPER,IS_XDIG | IS_UPPER,IS_UPPER,
IS_UPPER,          IS_UPPER,          IS_UPPER,          IS_UPPER,
IS_UPPER,          IS_UPPER,          IS_UPPER,          IS_UPPER,
IS_UPPER,          IS_UPPER,          IS_UPPER,          IS_UPPER,
IS_UPPER,          IS_UPPER,          IS_UPPER,          IS_UPPER,
IS_UPPER,          IS_UPPER,          IS_UPPER,          0x000,
0x000,             0x000,             0x000,             IS_ALPH,

0x000,             IS_XDIG | IS_LOWER,IS_XDIG | IS_LOWER,IS_XDIG | IS_LOWER,
IS_XDIG | IS_LOWER,IS_XDIG | IS_LOWER,IS_XDIG | IS_LOWER,IS_LOWER,
IS_LOWER,          IS_LOWER,          IS_LOWER,          IS_LOWER,
IS_LOWER,          IS_LOWER,          IS_LOWER,          IS_LOWER,
IS_LOWER,          IS_LOWER,          IS_LOWER,          IS_LOWER,
IS_LOWER,          IS_LOWER,          IS_LOWER,          IS_LOWER,
IS_LOWER,          IS_LOWER,          IS_LOWER,          0x000,
0x000,             0x000,             0x000,             IS_CTR,

0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             IS_LOWER,          0x000,         /* 84 */
                                    /* a ogonek */
0x000,             0x000,             0x000,             0x000,         /* 88 */
0x000,             IS_LOWER,          0x000,             IS_UPPER,      /* 8c */
                  /* c acute*/                          /* A ogonek*/
IS_UPPER,          IS_LOWER,          IS_LOWER,          0x000,         /* 90 */
/*E ogonek */     /*e ogonek */       /* polish l */
0x000,             IS_UPPER,          0x000,             0x000,         /* 94 */
                  /* C acute */
IS_UPPER,          0x000,             0x000,             0x000,         /* 98 */
/* S acute */
IS_UPPER,          0x000,             IS_LOWER,          0x000,         /* 9c */
/* Polish L */                       /* s acute */
IS_UPPER,          IS_UPPER,          IS_LOWER,          IS_UPPER,      /* a0 */
/* Z acute */      /* Z dot */       /* o acute */       /* O acute*/
IS_LOWER,          IS_UPPER,          IS_LOWER,          IS_LOWER,      /* a4 */
/*n acute */      /* N acute */      /* z acute */      /* z dot */
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,

0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000,
0x000,             0x000,             0x000,             0x000
   };
</pre>

</body>
</html>