home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / tex / 15405 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.1 KB

  1. Path: sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!svin09!wswiop14!rcb5
  2. From: rcb5@wswiop14.win.tue.nl (Richard Verhoeven)
  3. Newsgroups: comp.text.tex
  4. Subject: Labels in tabbing environment
  5. Keywords: labels tabbing
  6. Message-ID: <5066@svin09.info.win.tue.nl>
  7. Date: 25 Jan 93 09:17:15 GMT
  8. Sender: news@svin09.info.win.tue.nl
  9. Reply-To: rcb5@win.tue.nl
  10. Lines: 26
  11.  
  12. Hello,
  13.  
  14. I'm trying to add labels in my own version of the tabbing environment.
  15. This version works the same as the original tabbing environment and it
  16. is made for a formula-editing program. The labels must be used like in the
  17. equation environment. For example:
  18.  
  19. (0)            a = b
  20.           =        {  ...  }
  21. (1)            b = a
  22.  
  23. should be possible. Personally I think something like
  24.  
  25. \newsavebox{\labelbox}
  26. \newif\if@labelset
  27. \def\mylabel#1{\refstepcounter{equation}\label{#1} %
  28.     \savebox{\labelbox}{(\ref{#})}\global\@labelsettrue}
  29.  
  30. would work, in combination with some adjustments in the newline command
  31. of the tabbing environment.
  32.  
  33. Is this a good way to add labels or if someone knows a better way to add
  34. them, please respond.
  35.  
  36.  
  37. Richard  (rcb5@win.tue.nl)
  38.