Article View: comp.text.tex
Article #1136Re: Q: reference using roman digits (LaTeX)
From: Thomas Weigert
Date: Mon, 10 Aug 1992 09:04
Date: Mon, 10 Aug 1992 09:04
34 lines
1883 bytes
1883 bytes
Thanks to Ronald Kappert <ronaldk@sci.kun.nl> and Lennart Staflin
<les@ida.liu.se> for they help.
The solution is to, instead of setting the counter to roman in the preamble
of the list definition:
\newcounter{thelistcounter}
\newenvironment{thelist}%
{\begin{list}{(\roman{thelistcounter})}{\usecounter{thelistcounter}
^^^^^^^^^^^^^^^^^^^^^
\setlength{\rightmargin}{\leftmargin}}}%
{\end{list}}
to change the counter directly:
\newcounter{thelistcounter}
\def\thethelistcounter{\roman{thelistcounter}}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
\newenvironment{thelist}%
{\begin{list}{(\thethelistcounter)}{\usecounter{thelistcounter}
^^^^^^^^^^^^^^^^^^
\setlength{\rightmargin}{\leftmargin}}}%
{\end{list}}
Cheers, Thomas
--
+--------------------------------+---------------------------------+
| Thomas Weigert | |
| Machine Inference Section | |
| Electrotechnical Laboratory | |
| Umezono 1-1-4, Tukuba-shi | weigert@{mcs.anl.gov,etl.go.jp} |
| Ibaraki 305, Japan | +81-298-58-5918 (phone+fax) |
+--------------------------------+---------------------------------+
Technical Details
Message-ID:
<WEIGERT.92Aug10180451@etlhit.etl.go.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!wnoc-tyo-news!etl.go.jp!weigertReferences:
<WEIGERT.92Aug7183329@etlhit.etl.go.jp>Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!wnoc-tyo-news!etl.go.jp!weigert From: weigert@etlhit.etl.go.jp (Thomas Weigert) Subject: Re: Q: reference using roman digits (LaTeX) In-Reply-To: weigert@etlhit.etl.go.jp's message of Fri, 7 Aug 1992 09: 33:29 GMT Message-ID: <WEIGERT.92Aug10180451@etlhit.etl.go.jp> Sender: news@etl.go.jp (News System) Nntp-Posting-Host: etlhit Reply-To: weigert@mcs.anl.gov Organization: Electrotechnical Laboratory, Tsukuba-shi, Japan References: <WEIGERT.92Aug7183329@etlhit.etl.go.jp> Date: Mon, 10 Aug 1992 09:04:51 GMT Lines: 34