summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/sbase/dist/birddoc/latex2e/mapping6
-rw-r--r--doc/tex/birddoc.sty5
2 files changed, 8 insertions, 3 deletions
diff --git a/doc/sbase/dist/birddoc/latex2e/mapping b/doc/sbase/dist/birddoc/latex2e/mapping
index 45c65d62..9d662be2 100644
--- a/doc/sbase/dist/birddoc/latex2e/mapping
+++ b/doc/sbase/dist/birddoc/latex2e/mapping
@@ -208,11 +208,11 @@
<funcdef> "{\\it "
</funcdef> "\\/}"
-<function> "\\bigbreak\\hrule\\nobreak\\bigskip\\nobreak\\leftline{\\bf Function}\\nobreak\\smallskip\\nobreak{\\parskip=0pt "
+<function> "{\\function "
</function> "}\n\n"
-<funcsect> "\n\\medbreak\\leftline{\\bf "
-</funcsect> "}\\nobreak "
+<funcsect> "\n\\funcsect{"
+</funcsect> "}"
<hrule> "\\hrule"
diff --git a/doc/tex/birddoc.sty b/doc/tex/birddoc.sty
index 3cb74035..94297591 100644
--- a/doc/tex/birddoc.sty
+++ b/doc/tex/birddoc.sty
@@ -111,3 +111,8 @@
\newenvironment{tscreen}%
{\begin{quote}\bgroup\small\tt}%
{\egroup\end{quote}}
+
+%% Typesetting of function descriptions
+
+\def\function{\bigbreak\hrule\nobreak\bigskip\nobreak\leftline{\bf Function}\nobreak\smallskip\nobreak\parskip=0pt\relax}
+\def\funcsect#1{\medbreak\leftline{\bf #1}\nobreak}