Browse Source

+ Added type environment

michael 26 years ago
parent
commit
ffca19400b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      docs/fpc.sty

+ 6 - 0
docs/fpc.sty

@@ -94,6 +94,9 @@
 \index{#1}\label{pro:#2}\begin{FPCList}}{\end{FPCList}}
 \index{#1}\label{pro:#2}\begin{FPCList}}{\end{FPCList}}
 \newenvironment{function}[1]{\begin{functionl}{#1}{#1}}{\end{functionl}}
 \newenvironment{function}[1]{\begin{functionl}{#1}{#1}}{\end{functionl}}
 \newenvironment{procedure}[1]{\begin{procedurel}{#1}{#1}}{\end{procedurel}}
 \newenvironment{procedure}[1]{\begin{procedurel}{#1}{#1}}{\end{procedurel}}
+\newenvironment{typel}[2]{\subsection{#1}%
+\index{#1}\label{ty:#2}\begin{FPCList}}{\end{FPCList}}
+\newenvironment{type}[1]{\begin{typel}{#1}{#1}}{\end{typel}}
 % Now the referencing commands.
 % Now the referencing commands.
 %
 %
 % First, the ones with alternate label (second argument}
 % First, the ones with alternate label (second argument}
@@ -102,11 +105,14 @@
 \textsf{#1} (\pageref{fu:#2})}
 \textsf{#1} (\pageref{fu:#2})}
 \newcommand{\seepl}[2]{
 \newcommand{\seepl}[2]{
 \textsf{#1} (\pageref{pro:#2})}
 \textsf{#1} (\pageref{pro:#2})}
+\newcommand{\seetyl}[2]{
+\textsf{#1} (\pageref{ty:#2})}
 %
 %
 % Now the ones with label.
 % Now the ones with label.
 %
 %
 \newcommand{\seef}[1]{\seefl{#1}{#1}}
 \newcommand{\seef}[1]{\seefl{#1}{#1}}
 \newcommand{\seep}[1]{\seepl{#1}{#1}}
 \newcommand{\seep}[1]{\seepl{#1}{#1}}
+\newcommand{\seety}[1]{\seetyl{#1}{#1}}
 %
 %
 % man page references don't need labels.
 % man page references don't need labels.
 %
 %