Article View: comp.text.tex
Article #10732Labels in tabbing environment
From: Richard Verhoeven
Date: Mon, 25 Jan 1993 09:17
Date: Mon, 25 Jan 1993 09:17
26 lines
1153 bytes
1153 bytes
Hello,
I'm trying to add labels in my own version of the tabbing environment.
This version works the same as the original tabbing environment and it
is made for a formula-editing program. The labels must be used like in the
equation environment. For example:
(0) a = b
= { ... }
(1) b = a
should be possible. Personally I think something like
\newsavebox{\labelbox}
\newif\if@labelset
\def\mylabel#1{\refstepcounter{equation}\label{#1} %
\savebox{\labelbox}{(\ref{#})}\global\@labelsettrue}
would work, in combination with some adjustments in the newline command
of the tabbing environment.
Is this a good way to add labels or if someone knows a better way to add
them, please respond.
Richard (rcb5@win.tue.nl)
Technical Details
Message-ID:
<5066@svin09.info.win.tue.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!svin09!wswiop14!rcb5Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!svin09!wswiop14!rcb5 From: rcb5@wswiop14.win.tue.nl (Richard Verhoeven) Newsgroups: comp.text.tex Subject: Labels in tabbing environment Keywords: labels tabbing Message-ID: <5066@svin09.info.win.tue.nl> Date: 25 Jan 93 09:17:15 GMT Sender: news@svin09.info.win.tue.nl Reply-To: rcb5@win.tue.nl Lines: 26