1
fpc.sty defines the following:
3
\procedure{name}{args}{desc}{errs}{seealso}
4
\Procedure{name}{desc}{errs}{seealso}
5
\function{name}{args}{return-type}{desc}{errs}{seealso}
6
\Function{name}{return-type}{desc}{errs}{seealso}
9
name : the name of the function/procedure
10
args : the (optional) arguments. type them between (), the sty doesn't add
12
desc : the description of what it does. This can be very long.
13
errs : possible errors, and what the function then does.
14
seealso : info about related commands.
16
Each procedure/punction call produces a subsection. it adds a label
17
'pro:name' or 'fu:name' and an index entry 'name'.
18
then it gives the declaration as in the pascal file,
19
it adds the description, the errors and see also, all in a list.
20
the Capital letter commands are shorthands for if the function has no
21
arguments (such as WhereX or so in crt.)
23
So the above \function would produce:
25
name (format of subsection)
26
------------------------------------
28
Declaration: name args : return-type
36
The style redifines the \maketitle command, and adds a
37
\description{Your description goes here}
38
\version{Your version goes here}
39
command, which produces something on the titlepage. (see the docs for
44
which typesets in \texttt its argument
47
makes a cross reference (pageref) to function name (be careful about capitals).
49
makes a cross reference (pageref) to procedure name..
51
produces a reference to a UNIX man page. as in :
54
For nice typesetting it defines also \fpc, which nicely formats the name of
64
commands, which just typeset in small caps the name of the OS's...
66
I think that's about it.