Outsourced usepackages and macros.
[clqr.git] / clqr-characters.tex
blob1826df47ee0b09d6c643b60f5465c5c007862682
1 % Copyright (C) 2008 Bert Burgemeister
3 % Permission is granted to copy, distribute and/or modify this
4 % document under the terms of the GNU Free Documentation License,
5 % Version 1.2 or any later version published by the Free Software
6 % Foundation; with no Invariant Sections, no Front-Cover Texts and
7 % no Back-Cover Texts. For details see file COPYING.
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11 \section{Characters}
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14 \begin{LIST}{1cm}
16 \IT{\arrGOO{(\FU*{CHARACTERP} \VAR{ foo})\\
17 (\FU*{STANDARD-CHAR-P} \VAR{ char})}{.}}
19 \retval{\T} if argument is of indicated type.
22 \IT{\arrGOO{(\FU*{GRAPHIC-CHAR-P} \VAR{ character})\\
23 (\FU*{ALPHA-CHAR-P} \VAR{ character})\\
24 (\FU*{ALPHANUMERICP} \VAR{ character})}{.}}
26 \retval{\T} if \VAR{character} is visible, alphabetic, or
27 alphanumeric, respectively.
30 \IT{\arrGOO{(\FU*{UPPER-CASE-P} \VAR{ character})\\
31 (\FU*{LOWER-CASE-P} \VAR{ character})\\
32 (\FU*{BOTH-CASE-P} \VAR{ character})}{.}}
34 Return \retval{\T} if \VAR{character} is uppercase, lowercase, or
35 able to be in another case, respectively.
38 \IT{(\FU*{DIGIT-CHAR-P} \VAR{character} \Op{\VAR{radix}\DF{\LIT{10}}})}
40 Return \retval{its weight} if \VAR{character} is a digit, or
41 \retval{\NIL} otherwise.
44 \IT{\arrGOO{(\FU*{CHAR=}\RP{\VAR{
45 character}})\\(\FU*{CHAR/=}\RP{\VAR{
46 character}})}{.}}
48 Return \retval{\T} if all \VAR{character}s, or
49 none, respectively, are equal.
52 \IT{\arrGOO{(\FU*{CHAR-EQUAL}\RP{\VAR{
53 character}})\\(\FU*{CHAR-NOT-EQUAL}\RP{\VAR{
54 character}})}{.}}
56 Return \retval{\T} if all \VAR{character}s, or
57 none, respectively, are equal ignoring case.
60 \IT{\arrGOO{(\FU{CHAR\boldmath$>$}\RP{\VAR{
61 character}})\\(\FU{CHAR\boldmath$>$=}\RP{\VAR{
62 character}})\\(\FU{CHAR\boldmath$<$}\RP{\VAR{
63 character}})\\(\FU{CHAR\boldmath$<$=}\RP{\VAR{
64 character}})}{.}}
66 \index{CHAR>@CHAR$>$}%
67 \index{CHAR>=@CHAR$>$=}%
68 \index{CHAR<@CHAR$<$}%
69 \index{CHAR<=@CHAR$<$=}%
70 Return \retval{\T} if \VAR{character}s are
71 monotonically decreasing, monotonically non-increasing, monotonically
72 increasing, or monotonically non-decreasing, respectively.
75 \IT{\arrGOO{
76 (\FU*{CHAR-GREATERP}\RP{\VAR{ character}})\\
77 (\FU*{CHAR-NOT-LESSP}\RP{\VAR{ character}})\\
78 (\FU*{CHAR-LESSP}\RP{\VAR{ character}})\\
79 (\FU*{CHAR-NOT-GREATERP}\RP{\VAR{ character}})}{.}}
81 Return \retval{\T} if \VAR{character}s are
82 monotonically decreasing, monotonically non-increasing, monotonically
83 increasing, or monotonically non-decreasing, respectively, ignoring case.
86 \IT{\arrGOO{(\FU*{CHAR-UPCASE} \VAR{ character})\\
87 (\FU*{CHAR-DOWNCASE} \VAR{ character})}{.}}
89 Return corresponding uppercase/lowercase \retval{character}, respectively.
92 \IT{(\FU*{DIGIT-CHAR} \VAR{i} \Op{\VAR{radix}\DF{\LIT{10}}})}
94 \retval{Character} representing digit \VAR{i}.
97 \IT{(\FU*{CHAR-NAME} \VAR{character})}
99 \retval{Name} of \VAR{character} if there is one, or
100 \retval{\NIL}.
103 \IT{(\FU*{NAME-CHAR} \VAR{name})}
105 \retval{Character} with \VAR{name} if there is one, or
106 \retval{\NIL}.
109 \IT{\arrGOO{(\FU*{CHAR-INT} \VAR{ character})\\
110 (\FU*{CHAR-CODE} \VAR{ character})}{.}}
112 \retval{Code} of \VAR{character}.
115 \IT{(\FU*{CODE-CHAR} \VAR{code})}
117 \retval{Character} with \VAR{code}.
120 \IT{\CNS*{CHAR-CODE-LIMIT}}
122 Upper bound of (\FU{CHAR-CODE} \VAR{char}); $\geq 96$.
125 \IT{(\FU*{CHARACTER} \VAR{c})}
127 Return \retval{\kwd{\#$\backslash$}\VAR{c}}.
130 \end{LIST}
132 %%% Local Variables:
133 %%% mode: latex
134 %%% TeX-master: "clqr"
135 %%% End: