🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #354

How to define this environment ?

#354
From: Nonar the Insane
Date: Wed, 22 Jul 1992 15:12
50 lines
2211 bytes
Hello there ...

I have been trying (unsuccessfully) to do the following in Latex and was
wondering if anybody could help me ...

I would like to be able to define an environment or command (or something :-))
that would take a sentence (maybe as the first parameter) and split it up to
fit into a particular width. It would then take the Information associated
with the sentence (as the second parameter?) and format it within the available
width left (with a slight space between the sentence and the information).

For Example:

\item[This should be left justifi...]
This should be done as normal...

\item[This is the second item]
This is the second items desc...

would result in the following

This should   This should be  done as normal for a page
be left       and cd ncdscnd ndfnvjdfnvjkndf jvndfdvf v
justified     fv fdnfdn vdfvdfvdfjkndfjkvn jdfnv dfjnvv
over here     vnfjnvd fjkvndj fvndfjn  jdfnvjd fnvjvn n
              fvndj nvndf jkdfjkvjkdfvjk njvnfj fjvnvnv
              fkmvklvdfmvkdfm dfkvmvcvc,mv,cxm .,xcmv x

This is the   This  is  the  second  items  description
second item   which djcnsdjn cjksdncn sdjknc sdjcn sdjd
              cccds ds, every Tuesday ate three burgers
              at about Three O'Clock ?

<----------------- \textwidth ------------------------>


I apologise if I have not been very specific, but I can't figure it out
at all ...

I would greatly appreciate any help on this ...

Thanks in advance,
--
Jim Kennedy                |  Mr. Postman look and see                 |
Software Specialist        |  If there's a message in your bag for me  |
University of Limerick     |  Could be a bomb or could be a letter     |
Ireland                    |  It dont matter it can only get better    |
                           |                                           |
Email: kennedyj@ul.ie      |  -- World Party, When the Rainbow Comes   |
Technical Details
Message-ID: <19398.2a6d7ac3@ul.ie>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ieunet!ul.ie!kennedyj

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!ieunet!ul.ie!kennedyj
From: kennedyj@ul.ie (Nonar the Insane)
Newsgroups: comp.text.tex
Subject: How to define this environment ?
Message-ID: <19398.2a6d7ac3@ul.ie>
Date: 22 Jul 92 15:12:03 GMT
Organization: Jaglan Beta
Lines: 50