As the manual pages are also used as on-line help, and are automatically converted to HTML, the use of special TeX commands should be avoided. The following macros can be used to structure the text, the mentioned fonts are used when printing the manual, however the on-line help and HTML are free to use other fonts or even colour.
text in typewriter style.
This is typically used to denote GAP keywords such as for and
false or variables that are not arguments to a function,
see also <text>.
Use \< to get a ``less than'' sign.
text'' text in typewriter style, use ``{text}'' to produce
``text''. Doublequotes are mainly used to mark a phrase which will
be defined later or is used in an uncommon way.
\pif
<text> $...$ and
``...''.
Use \< to get a ``less than'' sign.
<text> is used to denote a variable which is an argument of a
function, a typical application is the description of a function:
\>Group( <U> ) The function `Group' constructs a group isomorphic to <U>.
*text*
$a.b$ . instead of \cdot.
Use \. for a full stop inside math mode.
For example, $a.b$ produces a.b
while $a\.b$ produces a\.b.
\cite{...} \cite[...]{...} option of LaTeX is not supported).
"ref" \Chapter, \Section
(see Labels and References).
\index{...} manual.six used by the on-line help.
An exclamation mark (!) may be used to indicate index subentries.
\indextt{...} \index{...}, except that the index entry
is printed in typewriter style.
{\GAP}
\> \> entry must either contain another \>
entry (in which case the further entries are assumed to be variants
and do not start a new subsection) or must be empty.
The description text will follow this empty line.
Here is an example how to use \>; the index entry is Size.
\>Size( <obj> )
\>``command'{label}' \> but will not use bracket matching but simply display
command as a header.
It will use label as an index entry.
\>`<a> + <b>'{summation}
\>`Size(<obj>)'{size}
In the first of the above examples, \> cannot be used because
no brackets occur.
In the second example, the difference to the use of \> is
that the index entry will be typeset as ``size'' instead of ``Size''.
\>``command'{label}@{text}' \> but will not use bracket matching but simply display
command as a header.
It will use label for sorting the index entry which will be printed
as text.
Here are two examples.
\>`Size(<obj>)'{size}@{`Size'}
\>`Size(GL(<n>,<q>))'{size!gl}@{`Size(GL(<n>,<q>))'}
\){\fmark ...} \> except that it produces no label and index entry.
\URL{url}
\Mailto{email} mailto link.
[Top] [Previous] [Up] [Next] [Index]
GAP 4 manual