Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!gmdzi!wittig From: wittig@gmdzi.gmd.de (Georg Wittig) Newsgroups: comp.text.tex Subject: Re: Problems with List-Making. Message-ID: <4067@gmdzi.gmd.de> Date: 14 Feb 91 11:23:32 GMT References: <3491@uc.msc.umn.edu> Organization: GMD - The German National Research Center for Computer Science Lines: 44 kenny@uf.msc.umn.edu (Kenneth R. Goers) writes: >LaTeX list Environment: > first First item in a list. > foo Foo label. > next Next Label. >Want: > first First label. > foo Foo Label. > next Next Label. This one has been written by a colleague of mine: %---------------------------------------------------------------------% % 19.06.1987 M. Wershofen % % % % Environment DEFLIST % %---------------------------------------------------------------------% \newcommand{\deflabel}[1]{\bf #1\hfill}% \newenvironment{deflist}[1]% {\begin{list}{}{\settowidth{\labelwidth}{\bf #1}% \setlength{\leftmargin}{\labelwidth}% \addtolength{\leftmargin}{\labelsep}% \renewcommand{\makelabel}{\deflabel}}}% {\end{list}} Usage: \begin{deflist}{\hspace{1in}} % insert your favorite width here \item[first] First label ... \end{deflist} -- Georg Wittig GMD-Z1.IT P.O.Box 1240 | "Freedom's just another word D-W-5205 St. Augustin 1 (Germany) | for nothing left to lose" email: wittig@gmdzi.gmd.de | (from "Me and Bobby McGee", telephone: (+49) 2241 14-2294 | Janis Joplin, Kris Kristofferson)