🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1119

Difficulties achieving a desired layout

#1119
From: ABADDON
Date: Mon, 13 Apr 1992 13:23
38 lines
1556 bytes
Hi,
I'm trying to document some functions, but I'm having trouble making Latex
do things the way I want. Essentially I want a layout something like this:

-------- cut here -------
FUNCTION
       function_name(args)

PARAMETERS
       arg1       description
       arg2       description
        .              .
       argn       description

RETURNS
       code1      description
       code2      description
        .              .
       coden      description

DESCRIPTION
A paragraph describing the function.
------------cut here------------

I've tried al sorts of approaches, but nothing seems to be right. My best
result so far has been using tabbing environments for the first 3 groups, and
coming out for the last group, but this gives me too much vertical space
between the end of a tabbing envionment and the next heading.

Any Suggestions?

Kev
-------
Kevin O'Donovan          | D'you wear a black armband when they shot the man
kebab@uk.co.compulink.cix| who said 'Peace could last forever', and in my
mebeb@uk.ac.liv.uxa      | first memories they shot Kennedy, I went numb
abaddon@uk.ac.liv.ibm    | when I learned to see...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <92104.142303ABADDON@LIVERPOOL.AC.UK>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!lucsand!liv!abaddon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!lucsand!liv!abaddon
From: ABADDON@LIVERPOOL.AC.UK
Newsgroups: comp.text.tex
Subject: Difficulties achieving a desired layout
Message-ID: <92104.142303ABADDON@LIVERPOOL.AC.UK>
Date: 13 Apr 92 13:23:03 GMT
Organization: University of Liverpool
Lines: 38