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 @@
"{\\it "
"\\/}"
- "\\bigbreak\\hrule\\nobreak\\bigskip\\nobreak\\leftline{\\bf Function}\\nobreak\\smallskip\\nobreak{\\parskip=0pt "
+ "{\\function "
"}\n\n"
- "\n\\medbreak\\leftline{\\bf "
- "}\\nobreak "
+ "\n\\funcsect{"
+ "}"
"\\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}